Online Sequencer Make music online
  • Sequences
  • Members
  • Chat
  • Forum
  • Wiki

Existing user? Sign In Create account
Login at Online Sequencer Forums

Online Sequencer Forums › Online Sequencer › Online Sequencer Discussion
« Previous 1 … 33 34 35 36 37 … 79 Next »

script to remove volumeless notes

Thread tools
script to remove volumeless notes
pjals Offline
Member
3 Posts:
 
#1
Information  10-17-2021, 08:07 AM
Code:
//script to remove volumeless notes

song.notes.forEach(
    note => {
        if (song.settings.instruments[note.instrument] && song.settings.instruments[note.instrument].volume === 0) {
            song.removeNote(note)
            console.info('keep spamming this script until it stops saying this')
        }
        if (note.volume === 0) {
            song.removeNote(note)
            console.info('keep spamming this script until it stops saying this')
        }
    }
)


here is a script to remove volumeless notes, how you use it is:
  1. load a sequence
  2. go into edit mode, press f12
  3. go to "console"
  4. copy paste the script
  5. (optional) dont use download midi in the top, you need to press the icon next to the cloud and upload button (drop down)


Reply

Messages In This Thread
script to remove volumeless notes - by pjals - 10-17-2021, 08:07 AM
RE: script to remove volumeless notes - by Lopyt - 10-17-2021, 08:11 AM



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Home
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend