Reputation: 3
I want record a csd File to WAV in a HTML interface.
This is a codesnippet from csd File rendering to WAV, it worked in CsoundQt.
instr 2
aSig monitor
fout "write_to_wav.wav",4,aSig
endin
But in the example csd player for HTML it didn't work.
https://waaw.csound.com/csdplayer.html
Is it possible to render a csd File to WAV in HTML?
For help thanks a lot.
Upvotes: 0
Views: 194
Reputation: 101
the problem here is that the browser has its own secured filesystem. Behind the hood, csound is actually writing a file, but it's located in the browser session in HTML5 filesystem (with js skills, you could download it). This csdplayer example is only a demo. But me and few other Csound devs are working on a more fully featured webeditor, when that's ready, you will be able to download the files that you render in the browser. Until then, I recommend sticking to CsoundQt :)
Upvotes: 0