Does this butchered example which comes with Maxmod work?
Strict
Import REDi.MaxMod
'Import SID.SIDStream
Graphics 640,480,0
InitMaxModStream()
Local musicfile:String=RequestFile("Select music to play...",MusicExtensions())
Local Music:TMusic = LoadMusic(musicfile)
If Not Music RuntimeError "Unable to open music"
If Not Music Notify "Unable to open music"
Local Stream:TAudioStream = StreamMusic(Music)
If Not Stream Notify "Unable to open stream"
PlayStream(Stream)
Local Volume# = 1
Repeat
Cls
DrawText "Press Escape to Stop...",10,10
DrawText "Length = "+Music.Geti(MM_LENGTH) ,10,35
DrawText "Play Position = "+Music.Geti(MM_POSITION) ,10,50
DrawText "Format = "+Music.Geti(MM_FORMAT) ,10,65
DrawText "SampleRate = "+Music.Geti(MM_SAMPLERATE) ,10,80
DrawText "Time = "+Music.Geti(MM_TIME) ,10,95
DrawText "Loop = "+Music.Geti(MM_LOOP) ,10,110
DrawText "Interpolation = "+Music.Geti(MM_INTERPOLATION),10,125
DrawText "Gain = "+Music.Getf(MM_GAIN) ,10,140
DrawText "Is Playing = "+StreamIsPlaying(Stream) ,10,160
DrawText "Stream Volume = "+GetStreamVolume(Stream) ,10,175
DrawText "Sequence = "+Music.Geti(MM_SEQUENCE) ,10,250
DrawText "Pattern = "+Music.Geti(MM_PATTERN) ,10,265
DrawText "Line = "+Music.Geti(MM_LINE) ,10,280
DrawText "Tick = "+Music.Geti(MM_TICK) ,10,295
DrawText "Tempo = "+Music.Geti(MM_TEMPO) ,10,310
DrawText "Speed = "+Music.Geti(MM_SPEED) ,10,325
If KeyHit(KEY_SPACE) Then Stream.Pause
If KeyDown(KEY_Q) Then Volume:+0.01 ; SetStreamVolume(Stream,Volume)
If KeyDown(KEY_A) Then Volume:-0.01 ; SetStreamVolume(Stream,Volume)
If KeyHit(KEY_S)
StopStream(Stream)
FreeMusic(music)
EndIf
If KeyHit(KEY_P)
Local Music:TMusic = LoadMusic(musicfile)
Stream:TAudioStream = StreamMusic(Music)
If Not Stream Notify "Unable to open stream"
PlayStream(Stream)
EndIf
Flip
Until KeyDown(KEY_ESCAPE) Or AppTerminate()
StopStream(Stream)
FreeStream(Stream)