My audio card is listed as:
pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Bus 001 Device 008: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
pi@raspberrypi ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 1: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
When i do:
pi@raspberrypi ~ $speaker-test -Dplughw:1,0 -t sine -f 800
I get a test tone from the output. Then I do:
pi@raspberrypi ~ $ sudo pd -nogui -listdev audio input devices:
audio output devices:
API number 1
pi@raspberrypi ~ $ pd -nogui -alsa -nomidi -audiodev 1,1 ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such file or directory ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such file or directory
hmmmm... am i doing something silly wrong here? what am i missing with my flags that giving me "Invalid value for card"?
thanks! m
You can type "pd -nogui -audiodev 1" (1 is the default anyway) to get the "hardware" device or "pd -nogui -audiodev 2" to get the "plughw" device. The "device numbers" in the Pd argument agree with the numbering that "-listdev" prints out.
cheers Miller
On Sat, Sep 01, 2012 at 12:11:42PM -0400, m.e.grimm wrote:
My audio card is listed as:
pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Bus 001 Device 008: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
pi@raspberrypi ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 1: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
When i do:
pi@raspberrypi ~ $speaker-test -Dplughw:1,0 -t sine -f 800
I get a test tone from the output. Then I do:
pi@raspberrypi ~ $ sudo pd -nogui -listdev audio input devices:
- Generic USB Audio Device (hardware)
- Generic USB Audio Device (plug-in)
audio output devices:
- Generic USB Audio Device (hardware)
- Generic USB Audio Device (plug-in)
API number 1
pi@raspberrypi ~ $ pd -nogui -alsa -nomidi -audiodev 1,1 ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such file or directory ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such file or directory
hmmmm... am i doing something silly wrong here? what am i missing with my flags that giving me "Invalid value for card"?
thanks! m
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hey miller,
You can type "pd -nogui -audiodev 1" (1 is the default anyway) to get
yeah that's what i meant. "pd -nogui -audiodev 1", "pd -nogui -audiodev 2", etc etc.... All giving me the same error.
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such file or directory ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such file or directory
m
On Sat, Sep 1, 2012 at 2:17 PM, Miller Puckette msp@ucsd.edu wrote:
You can type "pd -nogui -audiodev 1" (1 is the default anyway) to get the "hardware" device or "pd -nogui -audiodev 2" to get the "plughw" device. The "device numbers" in the Pd argument agree with the numbering that "-listdev" prints out.
cheers Miller
On Sat, Sep 01, 2012 at 12:11:42PM -0400, m.e.grimm wrote:
My audio card is listed as:
pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Bus 001 Device 008: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
pi@raspberrypi ~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 1: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
When i do:
pi@raspberrypi ~ $speaker-test -Dplughw:1,0 -t sine -f 800
I get a test tone from the output. Then I do:
pi@raspberrypi ~ $ sudo pd -nogui -listdev audio input devices:
- Generic USB Audio Device (hardware)
- Generic USB Audio Device (plug-in)
audio output devices:
- Generic USB Audio Device (hardware)
- Generic USB Audio Device (plug-in)
API number 1
pi@raspberrypi ~ $ pd -nogui -alsa -nomidi -audiodev 1,1 ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such file or directory ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such file or directory
hmmmm... am i doing something silly wrong here? what am i missing with my flags that giving me "Invalid value for card"?
thanks! m
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list