09-08-2018, 05:01 PM
For those with beefy computers, inspired by https://onlinesequencer.net/forum/showth...p?tid=2904, written in TamperMonkey,
CONTINUOUS NOTES! (Sort of)
This replaces all unlocked notes selected (all unlocked notes if no notes are selected) with a bunch of smaller notes with a length you specify.
Run it by using the context menu after downloading TamperMonkey (from https://tampermonkey.net/, stable).
Guide image:
CONTINUOUS NOTES! (Sort of)
Code:
// ==UserScript==
// @name Continuous sound!
// @namespace http://tampermonkey.net/
// @version 1.0
// @description CONTINUOUS
// @author Frank
// @match https://onlinesequencer.net
// @grant none
// @run-at context-menu
// ==/UserScript==
(function() {
'use strict';
var notes = selectedNotes.length ? selectedNotes : song.notes;
var length = parseFloat(prompt("Length of subdivisions? (Inclusive, 16 = 1 Measure.)"));
notes = notes.filter(x => x.length >= length && !instrumentLock[x.instrument]);
for(var i = 0; i < notes.length; i++){
var note = notes[i];
var timeStart = note.time;
var timeEnd = timeStart + note.length;
var j;
for(j = timeStart; j < timeEnd - length; j += length){
song.addNote(new Note(song, note.type, j, length, note.instrument));
}
song.addNote(new Note(song, note.type, j, timeEnd - j, note.instrument));
song.removeNote(note);
}
SequencerView.repaint()
})();
Run it by using the context menu after downloading TamperMonkey (from https://tampermonkey.net/, stable).
Guide image:
Kim Wrote:##878337 + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin