You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general I'm finding this library short on example usages or info so I'm having a difficult time figuring it out. It seems too complex to get it to "work" from example code to audio even once?
Thank you for pointing this out @JestDotty ! I will update the docs once I get some time but to unblock you for now, I m sharing some details here.
The instrument parameter is newly updated in Scribbletune and it will replace the synth parameters in the futures. Either ways, it uses a Tone.js instrument and can be use like this
There is yet another way to define synths. You can initialize a Tone.js instrument with a JSON payload that defines the properties of the synth. This is a bit advanced way of doing it, but if you feel like giving it a shot, the play around with some of the "Instruments" here https://tonejs.github.io/examples/ and change their properties. Then click the <> button on the bottom and get hold of the JSON payload and use it here
const synth = new Tone.Synth({<jsonPayload here>});
Activity
walmik commentedon Oct 18, 2020
Thank you for pointing this out @JestDotty ! I will update the docs once I get some time but to unblock you for now, I m sharing some details here.
The
instrumentparameter is newly updated in Scribbletune and it will replace thesynthparameters in the futures. Either ways, it uses a Tone.js instrument and can be use like thisThe following synths are provided thanks to Tone.js and you can define the
instrumentby seeing one of the following values as a string:You could even define the
instrumentas a Tone.js object like this,and then augment it like this
There is yet another way to define synths. You can initialize a Tone.js instrument with a JSON payload that defines the properties of the synth. This is a bit advanced way of doing it, but if you feel like giving it a shot, the play around with some of the "Instruments" here https://tonejs.github.io/examples/ and change their properties. Then click the
<>button on the bottom and get hold of the JSON payload and use it hereHope this helps for now!