Online Sequencer Forums

Full Version: MODS HATE THIS PERSON FOR THIS ONE SIMPLE TRICK - CLICK TO SEE WHY
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Quote:var palette = [37, 23];
var dim = [127, 63];
SequencerView.fastGraphics = true;
settings.instrumentColors[undefined] = [255, 0, 0];
$.get('https://onlinesequencer.net/ajax/load.php?id=866248', function(unparsedData) {
    data = JSON.parse(unparsedData).data.split(' ').map(x => parseInt(x, 16));
    var i = 0,
        j = 0;
    for (var h = dim[1] - 1; h > -1; h--) {
        for (var w = 0; w < dim[0]; w++) {
            song.addNote(new Note(song, piano[h], w, 1, palette[+!!(data[i] & 2 ** (7 - j))]));
            j++;
            if (j == 8 || w == dim[0] - 1) {
                j = 0;
                i++;
            }
        }
    }
    for(x in palette){audioSystem.setInstrumentVolume(palette[x],0)};
})
pls dont h8 m8
wasn't this the picture of my cat that i sent you?
Guess that's settled then. It's a cat
my cat
black and white version of the picture
(07-09-2018, 02:03 PM)alex32124 Wrote: [ -> ]wasn't this the picture of my cat that i sent you?

iirc your discord username was different than your username here. I thought I would reuse it.
EDIT: Checked, you changed it. However, Dat Alex#1712 is still not too descriptive.
What have you done Frank!!!! Now everyone knows my discord tag.
Is that really a problem?
(07-09-2018, 04:17 PM)alex32124 Wrote: [ -> ]What have you done Frank!!!! Now everyone knows my discord tag.

Sorry, I didn't know you wanted to be a nanny mouse.