Online Sequencer Forums

Full Version: Black notes that won't save correctly and don't play anything
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was bored today, so I told myself I would discover a new OS unintended feature. This is what I found.

Tutorial + Disclaimer:
Code:
//unlocks all notes, these notes are locked by default
lockInstrument.length = 0;
//all notes you place will be of instrument "length" (instruments are usually something like 0 or 23)
instrument = "length";
//see imgur

//from song.appendData
noteInstrument=noteArray.length>3?parseInt(noteArray[3]):0;
//all notes are enforced to be an integer, so you can't save these black notes in a sequence

Image:
https://imgur.com/a/guzzaLG

This works because arrays have the property "length" and thus these notes technically pass look-up tables with somewhat reasonable return values. "__proto__" is another option. This is a useless find because as said above they don't save properly.