Works great now. No app closing. Top banana.
Have you thought about how your commands and functions are going to be implemented?
Two examples:
Or ..
As you can see, there's rooms for lots of commands and functions to add. I personally prefer the second approach.
The most handy functions to have though would be the 'tracker events' and 'which sequence is playing' ones. That way Max could be used to play a module and sync graphics to changes occuring as the song plays.
Have you thought about how your commands and functions are going to be implemented?
Two examples:
mymod=LoadTracker(file$) PlayTracker mymod [,sequence] StopTracker mymod PauseTracker mymod ev=GetTrackerEvent(mymod) ' returns true if $8xx command occured p=CountSequences(mymod) ' total number of sequences in song p=SequencePlaying(myod) ' returns pattern number playing t=TrackerTempo(mymod) ' current tempo s=TrackerSpeed(mymod) ' current speed SetTrackerVolume mymod,vol v=GetTrackerVolume(mymod)
Or ..
mymod:TTracker=LoadTracker(file$) mymod.Play t=mymod.Tempo() ev=mymod.Event() mymod.Pause
As you can see, there's rooms for lots of commands and functions to add. I personally prefer the second approach.
The most handy functions to have though would be the 'tracker events' and 'which sequence is playing' ones. That way Max could be used to play a module and sync graphics to changes occuring as the song plays.