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
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
@danigb I would like to know how this would be possible too?
I've tried the following but it does not work:
varAudioContext=window.AudioContext||window.webkitAudioContext||false;varac=newAudioContext||newwebkitAudioContext;varef=newtuna.Bitcrusher({bits: 4,//1 to 16normfreq: 0.1,//0 to 1bufferSize: 4096//256 to 16384});varinput=ac.createGain();varoutput=ac.createGain();input.connect(ef);ef.connect(output);Soundfont.instrument(ac,'......').then(function(instrument){
....})
I'm a little further along but it seems to be playing the effected audio as well as the uneffected audio:
varAudioContext=window.AudioContext||window.webkitAudioContext||false;varac=newAudioContext||newwebkitAudioContext;varef=newtuna.Bitcrusher({bits: 4,//1 to 16normfreq: 0.1,//0 to 1bufferSize: 4096//256 to 16384});Soundfont.instrument(ac,'......').then(function(instrument){instrument.connect(ef)ef.connect(ac.destination)})
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How to use with Tuna.js
I need a demo
The text was updated successfully, but these errors were encountered: