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
But the playing is done completely different than in musical.js and other webaudio libraries that I know.
It doesn't use any ac.createBuffer() or ac.createPeriodicWave
Instead it's done with this.node = this.context.createScriptProcessor(1024, 1, 1);
It would be nice if the guitar harmonics could be ported to musical.js somehow.
The text was updated successfully, but these errors were encountered:
I saw this comment https://github.com/PencilCode/musical.js/blob/master/musical.js#L1655-L1672 that the piano harmonics are used from a google project.
I tried to use the 32 harmonics of another instrument, like the guitar. Even if use all the 2000 harmonics, it always sound like a piano.
I found a library where a really nice guitar sound is created, you can here it here:
https://rawgit.com/timaschew/guitar-synth/master/example/index.html
I fixed an issue and removed some code, you can see the code here: https://github.com/timaschew/guitar-synth/tree/master/js
I think the main part is done here: https://github.com/timaschew/guitar-synth/blob/master/js/PluckedString.js
But the playing is done completely different than in musical.js and other webaudio libraries that I know.
It doesn't use any
ac.createBuffer()
orac.createPeriodicWave
Instead it's done with
this.node = this.context.createScriptProcessor(1024, 1, 1);
It would be nice if the guitar harmonics could be ported to musical.js somehow.
The text was updated successfully, but these errors were encountered: