Hi all! This is my first post to the Csound list.
I read Victor Lazzarini’s “Computer Music Instruments” recently and it got me excited about trying to improve the performance of a big real-time audio Csound project I’ve built by bringing in some faster (?) objects from Faust.
The current guidance with Faust seems to be to use the web-based IDE and export a Csound .dylib file. I’ve convinced myself that the Faust code works (it is just one of their examples for now) and that I’ve exported the .dylib file. When I try to use the opcode in Csound (full example code is at the end of this), I don’t get anywhere.
Folks have suggested several things so far:
- Maybe the web-based IDE doesn’t export code that works on M2 Macs.
- Try using the faust2csound tool in Faust instead.
- Maybe I need the “CSound Dev Kit.”
If 1 is true, that leads me to 2. I can’t get 2 to work, which leads me to 3.
Any guidance on getting this to work? I think I have Csound 6.18, no idea about the “dev kit.”
Thank you!
Bryan
rslider bounds(250, 50, 50, 50), channel(“gain”), range(0, 1, 0 ,1, 0.01), text(“gain”)
-n -d --opcode-lib=/Users/bryantysinger/Documents/svn_checkouts/loobt_v1/Prototypes/Faust/pitch_shift.dylib ; Initialize the global variables. ksmps = 32 nchnls = 2 0dbfs = 1instr 1
a1_in inch 1
kGain cabbageGetValue “gain”
kWindow cabbageGetValue “window”
kXfade cabbageGetValue “xfade”
kShift cabbageGetValue “shift”
; Generate osc with custom opcode
a_process pitchShifter a1_in, kWindow, kXfade, kShift
outs a1_inkGain, a_processkGain
endin
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here