Online Sequencer Forums

Full Version: Programming Challenge
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I want to add more synth instruments, since they support longer notes and don't use any bandwidth, but I don't know anything about audio synthesis. If you can come up with a JS function that plays a sound given the note name and length I might decide to make it a new instrument! Here is the code for the 8 bit instruments to start with: https://pastebin.com/AWTDnsCG
Your JS is either too cryptic and/or I am too illiterate. Can you specify what variable(s) controls the sound wave?
Also, I researched 8-bit noise channels and you should try setting the sample value to a random number from a pool of discrete numbers to achieve 8-bit noise.
(08-22-2017, 07:47 PM)Jacob_ Wrote: [ -> ]I want to add more synth instruments, since they support longer notes and don't use any bandwidth, but I don't know anything about audio synthesis. If you can come up with a JS function that plays a sound given the note name and length I might decide to make it a new instrument! Here is the code for the 8 bit instruments to start with: https://pastebin.com/AWTDnsCG
1. See new reply and get excited
2. Find it is just spam
3. Realize chat is bloated
4. Profit
*cough* *cough*
IT HAS BEEN NEARLY 2 WEEKS DO YOU CARE?
Still waiting.
I don't get it, you want to create custom sine/triangle sounds?
(08-22-2017, 07:47 PM)Jacob_ Wrote: [ -> ]I want to add more synth instruments, since they support longer notes and don't use any bandwidth, but I don't know anything about audio synthesis. If you can come up with a JS function that plays a sound given the note name and length I might decide to make it a new instrument! Here is the code for the 8 bit instruments to start with: https://pastebin.com/AWTDnsCG

I do. I have done audio synthesis sense 2012. Just watch me
I don't know if this helps, but you might want to check out Tone.js library on github - https://tonejs.github.io
has anyone done anything with this code yet?
Pages: 1 2