Re: [Csnd] Is audio hw for audio output a must, a compulsory requirement, in order to use csound?
Date | 2019-09-09 19:33 |
From | Marco Ippolito |
Subject | Re: [Csnd] Is audio hw for audio output a must, a compulsory requirement, in order to use csound? |
Thanks Forrest for these indications. A) In the PC with Ubuntu 18.04.02 Server Edition it seems no soundcards are found: (base) marco@pc:~$ aplay -l aplay: device_list:270: no soundcards found... (base) marco@pc:~$ aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server Does it mean that I cannot use CSound in this PC with Ubuntu 18.04.02 Server Edition? In the laptop with Ubuntu 18.04.02 Desktop there are three soundcards: B) (base) marco@marco-U36SG:~/csoundCppAPIexamples$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1: ALC269VB Digital [ALC269VB Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 (base) marco@marco-U36SG:~/csoundCppAPIexamples$ aplay -L default Playback/recording through the PulseAudio sound server null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server sysdefault:CARD=PCH HDA Intel PCH, ALC269VB Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Digital IEC958 (S/PDIF) Digital Audio Output hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output dmix:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Direct sample mixing device dmix:CARD=PCH,DEV=1 HDA Intel PCH, ALC269VB Digital Direct sample mixing device dmix:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample mixing device dsnoop:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Direct sample snooping device dsnoop:CARD=PCH,DEV=1 HDA Intel PCH, ALC269VB Digital Direct sample snooping device dsnoop:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample snooping device hw:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Direct hardware device without any conversions hw:CARD=PCH,DEV=1 HDA Intel PCH, ALC269VB Digital Direct hardware device without any conversions hw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct hardware device without any conversions plughw:CARD=PCH,DEV=0 HDA Intel PCH, ALC269VB Analog Hardware device with all software conversions plughw:CARD=PCH,DEV=1 HDA Intel PCH, ALC269VB Digital Hardware device with all software conversions plughw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Hardware device with all software conversions I tried with CsoundQt Configuration to change the input device (-i) from default (adc) to adc1 and the output device (-o) from default (dac) to dac1 , with RT Audio Module unchanged to portaudio (callback), but it seems that it still looks for hw 0 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 |
Date | 2019-09-09 20:28 |
From | Anders Genell |
Subject | Re: [Csnd] Is audio hw for audio output a must, a compulsory requirement, in order to use csound? |
Regarding alsa not finding a sound card on the machine with a server distro: It might be that you as a user is not a member of the group called 'audio' which is generally used to interact with sound stuff. It might even be that the group does not exist. If you issue the command 'groups' without arguments, the groups you are a member of will be listed. Look for 'audio' and if it is not there update your user settings accordingly.(typically using 'usermod'). Regards, Anders On Mon, Sep 9, 2019 at 8:33 PM Marco Ippolito <ippolito.marco@gmail.com> wrote: Thanks Forrest for these indications. |