WARNING WIP: BROWSER WILL FREEZE DURING GENERATION
WARNING WIP: CHROMIUM BROWSERS WILL HAVE PLAYBACK ISSUES FOR LONG MIDIS. CONSIDER TRIMMING
ai music generation using a given midi file. also includes scheduled midi playback
- midi playback: uses web audio scheduling for better timing but the following caveats
- does not allow real-time influencing like pedalling or instrument changes
- user playing may interfere playback
- large midi files may overload web audio
- trim: truncate midi length for both playback and generation
- steps: affects the amount of generated music
- temperature: introduces randomness to music generation
- generate: generates and plays music from supplied midi