Log In  

"Why can't this support import from MIDI like every other piece of software?!?" my musician says, candidly.

In all seriousness, it would be nice to get some kind of import system for music.

P#23286 2016-06-20 11:40 ( Edited 2016-06-20 19:36)

That would indeed be great.

Perhaps import of other tracker formats would be the easiest given the target format (tracker).

P#23304 2016-06-20 14:50 ( Edited 2016-06-20 18:50)

Agreed, it would be great if MIDI could be imported directly into the cart like a spritesheet. Having said that—it would be pretty easy to hack together an importer.

This (e.g.) could be abused to convert a MIDI file to a sequence of notes as text in Lua array format. You could then use the code in this thread to set the notes directly, and then CSTORE them into the cart permanently.

Some caveats: the Pico8 can only produce notes in the range C2 to Eb7 (+/- an octave depending on the instrument you use). Also I think you would have to subtract 36 from MIDI note numbers to correspond to Pico8 notes, assuming MIDI C4 is 60 while Pico8 C4 is 24.

P#23312 2016-06-20 15:36 ( Edited 2016-06-20 20:19)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 18:22:19 | 0.012s | Q:14