I’m trying to get started with Csound, but I’m having an issue with actually being able to hear anything.
My .csd is lifted from Csound’s Get Started page (Section: ‘Your First Synthesizer’), and is as follows:
<CsoundSynthesizer> <CsInstruments> instr 1 aOut vco2 1, p4 out aOut endin </CsInstruments> <CsScore> i1 0 1 100 i1 1 1 200 i1 2 1 300 </CsScore> </CsoundSynthesizer>
I’ve tried running the .csd with
csound -odac xxxx.csd and in non-realtime mode with just
csound xxxx.csd. As I understand it, ‘dac’ should just use the default soundcard. However, no sound comes out. Equally frustratingly, just running
csound xxxx.csd produces test.wav – however when I play this file either with sox or my default music player just results in sullen silence.
aplay -l Results:
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: STAC9205 Analog [STAC9205 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: STAC9205 Digital [STAC9205 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0```
screenfetch System Details:
(Complete with unnecessary info)
OS: elementary OS 5.0 juno Kernel: x86_64 Linux 4.15.0-47-generic Uptime: 1h 2m Packages: 2185 Shell: bash 4.4.19 Resolution: 1440x900 DE: GNOME WM: Mutter(Gala) WM Theme: elementary GTK Theme: elementary [GTK2/3] Icon Theme: elementary Font: Open Sans 9 CPU: Intel Core2 Duo T7500 @ 2x 2.201GHz GPU: GeForce 8600M GT RAM: 1299MiB / 3943MiB