Dear List,
spent a great deal of today's sunday installing alsa 1.0 for my rme-hdsp card, and compiling pd 0.37.1 from sourceforge. when trying to start pd and enabling the alsa feature in >Media i get:
using non-interleaved audio input Sample width set to 4 bytes ALSA: set input channels to 14 ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: Operation not permitted snd_pcm_hw_params (input): Operation not permitted pd: pcm.c:4915: snd_pcm_sw_params_current: Assertion `pcm->setup' failed. Pd: signal 6 pd_gui: pd process exited
Perhaps thats me doing sth. wrong with permissions, and it might not be connected tp pd as well, though there might be someone giving me a hint what i could do to solve this.
Thank you and have a nice week!
Peter Plessas
Hi Peter,
I have not sucessfully run my RME-HDSP with PD + ALSA. PD runs with the built-in soundcard of my laptop + ALSA, and the HDSP works fine with ALSA + any other app, but to use PD + HDSP, I must either use OSS-emulation or Jack. I would recommend going these routes, rather than fighting with ALSA.
Of course, if somebody else has this figured out, I'd love to hear about it...
best, d.
plessas@sbox.tugraz.at wrote:
Dear List,
spent a great deal of today's sunday installing alsa 1.0 for my rme-hdsp card, and compiling pd 0.37.1 from sourceforge. when trying to start pd and enabling the alsa feature in >Media i get:
using non-interleaved audio input Sample width set to 4 bytes ALSA: set input channels to 14 ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: Operation not permitted snd_pcm_hw_params (input): Operation not permitted pd: pcm.c:4915: snd_pcm_sw_params_current: Assertion `pcm->setup' failed. Pd: signal 6 pd_gui: pd process exited
Perhaps thats me doing sth. wrong with permissions, and it might not be connected tp pd as well, though there might be someone giving me a hint what i could do to solve this.
Thank you and have a nice week!
Peter Plessas
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Hi Derek!
Thanks! That's what i also heard about, but i always thought that pd&hdsp-alsa was working with 2 channels. About multichannel i heard that one has to use jack. Hmm.
thanks! Peter
Quoting derek holzer derek@x-i.net:
Hi Peter,
I have not sucessfully run my RME-HDSP with PD + ALSA. PD runs with the built-in soundcard of my laptop + ALSA, and the HDSP works fine with ALSA + any other app, but to use PD + HDSP, I must either use OSS-emulation or Jack. I would recommend going these routes, rather than fighting with ALSA.
Of course, if somebody else has this figured out, I'd love to hear about it...
best, d.
OSS-emulation or Jack. I would recommend going these routes, rather than fighting with ALSA.
its no so much a fight, ALSA is just left in the dark, and you need to give it a flashlight - if youre up for the task you might want to add an extended alsa-options flag to the pd argv list, since usually its just not trying to talk to the soundcard in its preferred format (16int, 24int, 32bit ieee, etc). it is pretty redundant to use jack between pd and alsa solely to have more explicit alsa connection parameters at your disposal..
Hi carmen,
ok. you've got me interested. now how about giving us some details? like what file, what line, what flag, where where where...
thx, d.
carmen wrote:
OSS-emulation or Jack. I would recommend going these routes, rather than fighting with ALSA.
its no so much a fight, ALSA is just left in the dark, and you need to give it a flashlight - if youre up for the task you might want to add an extended alsa-options flag to the pd argv list, since usually its just not trying to talk to the soundcard in its preferred format (16int, 24int, 32bit ieee, etc). it is pretty redundant to use jack between pd and alsa solely to have more explicit alsa connection parameters at your disposal..
This seems to be a neverending topic. The hammerfall cards want a different format, which is currently not supported by pd's ALSA code. It might be possible to use ALSA's plugin device to do on the fly conversion, but I am not sure if the latency is better than with jack.
For the rest, if people with a hdsp promise me to test it I could change the ALSA driver to work with the hdsp. I do not have such a card myself.
Guenter
On Mon, 29 Mar 2004, derek holzer wrote:
Hi carmen,
ok. you've got me interested. now how about giving us some details? like what file, what line, what flag, where where where...
thx, d.
carmen wrote:
OSS-emulation or Jack. I would recommend going these routes, rather than fighting with ALSA.
its no so much a fight, ALSA is just left in the dark, and you need to give it a flashlight - if youre up for the task you might want to add an extended alsa-options flag to the pd argv list, since usually its just not trying to talk to the soundcard in its preferred format (16int, 24int, 32bit ieee, etc). it is pretty redundant to use jack between pd and alsa solely to have more explicit alsa connection parameters at your disposal..
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 169: "Use filters"
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
hi guenter,
I read:
For the rest, if people with a hdsp promise me to test it I could change the ALSA driver to work with the hdsp. I do not have such a card myself.
count me in, but I can't try it out before I get back to vienna, I don't have the hdsp on me right now.
take care,
x
Thanks for all the offers, puts some pressure on me now to actually do it, I hope I can reuse the implementation that was in the devel_0_36 branch, theoretically with some tweaking we should get there.
I keep you up to date,
Guenter
On Wed, 31 Mar 2004, CK wrote:
hi guenter,
I read:
For the rest, if people with a hdsp promise me to test it I could change the ALSA driver to work with the hdsp. I do not have such a card myself.
count me in, but I can't try it out before I get back to vienna, I don't have the hdsp on me right now.
take care,
x
-- chris@lo-res.org Postmodernism is german romanticism with better http://pilot.fm/ special effects. (Jeff Keuss / via ctheory.com)
Guenter,
be happy to test drive it!
d.
guenter geiger wrote:
This seems to be a neverending topic. The hammerfall cards want a different format, which is currently not supported by pd's ALSA code. It might be possible to use ALSA's plugin device to do on the fly conversion, but I am not sure if the latency is better than with jack.
For the rest, if people with a hdsp promise me to test it I could change the ALSA driver to work with the hdsp. I do not have such a card myself.
Guenter
On Mon, 29 Mar 2004, derek holzer wrote:
Hi carmen,
ok. you've got me interested. now how about giving us some details? like what file, what line, what flag, where where where...
thx, d.
carmen wrote:
OSS-emulation or Jack. I would recommend going these routes, rather than fighting with ALSA.
its no so much a fight, ALSA is just left in the dark, and you need to give it a flashlight - if youre up for the task you might want to add an extended alsa-options flag to the pd argv list, since usually its just not trying to talk to the soundcard in its preferred format (16int, 24int, 32bit ieee, etc). it is pretty redundant to use jack between pd and alsa solely to have more explicit alsa connection parameters at your disposal..
-- derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 169: "Use filters"
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list