Hi everyone
I’m trying to run the following Python script involving ctsound:
beispiel 1: eine .csd datei mit dem
“csound performance thread” abspielen
dieses beispiel spielt “endlos” …
stoppen rechts unten mit klick auf den trash
ctcsound importieren
import ctcsound
eine instanz von csound erzeugen
cs = ctcsound.Csound()
cs.setOption(“-o dac”)
eine .csd Datei lesen (kompilieren)
cs.compileCsd(“pling.csd”)
die csound instanz aktivieren
cs.start()
den performance thread erzeugen
pt = ctcsound.CsoundPerformanceThread(cs.csound())
den performance thread starten und auf die anderen threads warten
pt.play()
pt.join()
csound stoppen und reset für neue verwendungen
cs.stop()
cs.cleanup()
Unfortunately, no audio is playing, and I’m instead receiving the error ‘unknown rtaudio module: ‘PortAudio’, using dummy modulertaudio: dummy module enabled’. I’ve checked the PATH for Csound, and have also tried uninstalling and reinstalling Python and Csound, to no success. Perhaos strangely, Csound is able to play sounds without issue.
Does anyone know what the problem could be?
Thanks
James