hello,
Antoine and I did few test on a raspberry pi.
to summarise, we did :
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data copy the configure file from pd 0.43 cd src , ./configure, make and sudo make install
adding -rt in pd startup flag
using the integrated HDMI audio out gives 20ms audio buffer minimum to avoid click, when cpu is unused. with nusmuk-audio analog synth emulation (that use 35% cpu when the oscilloscope is removed), 25 ms buffer give no click, few can appear when moving windows.
with an old usb soundcard (edirol ua-1A), 10ms audio buffer is enough to avoid click even when moving windows. (still using the same example patch) (44100 or 48000KHz, block size of 64)
in both case, audio input must be disable, we did not manage to use it properly.
details instruction (in french) can be seen on Antoine blog : http://antoine.villeret.free.fr/?p=359
cheers Cyrille
Awesome info—how did it sound? Any distortion? I've got to try this soon.
—T3db0t
On Sep 13, 2012, at 6:08 PM, Cyrille Henry wrote:
hello,
Antoine and I did few test on a raspberry pi.
to summarise, we did :
- use standard raspbian installation
- modify /etc/security/limits.conf as sugested by miller (adding : "* - rtprio 99" and "* - memlock 1000000000")
- sudo apt-get update, upgrade and install git tk8.5-dev libasound2-dev
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data copy the configure file from pd 0.43 cd src , ./configure, make and sudo make install
adding -rt in pd startup flag
using the integrated HDMI audio out gives 20ms audio buffer minimum to avoid click, when cpu is unused. with nusmuk-audio analog synth emulation (that use 35% cpu when the oscilloscope is removed), 25 ms buffer give no click, few can appear when moving windows.
with an old usb soundcard (edirol ua-1A), 10ms audio buffer is enough to avoid click even when moving windows. (still using the same example patch) (44100 or 48000KHz, block size of 64)
in both case, audio input must be disable, we did not manage to use it properly.
details instruction (in french) can be seen on Antoine blog : http://antoine.villeret.free.fr/?p=359
cheers Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 14/09/2012 00:14, Tedb0t a écrit :
Awesome info—how did it sound? Any distortion? I've got to try this soon.
hdmi is digital audio out, the sound quality depend on the analogue converter. (in this case, we use my screen converter, so it was not perfect). the usb soundcard is better. you can also have plug and play sound card that have a spdif output edirol ua-1X by example), so you can use any good quality converter.
cheers c
—T3db0t
On Sep 13, 2012, at 6:08 PM, Cyrille Henry wrote:
hello,
Antoine and I did few test on a raspberry pi.
to summarise, we did :
- use standard raspbian installation
- modify /etc/security/limits.conf as sugested by miller (adding : "* - rtprio 99" and "* - memlock 1000000000")
- sudo apt-get update, upgrade and install git tk8.5-dev libasound2-dev
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data copy the configure file from pd 0.43 cd src , ./configure, make and sudo make install
adding -rt in pd startup flag
using the integrated HDMI audio out gives 20ms audio buffer minimum to avoid click, when cpu is unused. with nusmuk-audio analog synth emulation (that use 35% cpu when the oscilloscope is removed), 25 ms buffer give no click, few can appear when moving windows.
with an old usb soundcard (edirol ua-1A), 10ms audio buffer is enough to avoid click even when moving windows. (still using the same example patch) (44100 or 48000KHz, block size of 64)
in both case, audio input must be disable, we did not manage to use it properly.
details instruction (in french) can be seen on Antoine blog : http://antoine.villeret.free.fr/?p=359
cheers Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
not sure the deal but what i did was:
after installing from apt-get install puredata
$ sudo apt-get autoremove puredata
then i followed your instructions to the T
using the "configure" from 0.43.2
make and make install all seem to work good
but then i just do
pi@raspberrypi ~ $ sudo pd -nogui -rt -listdev no audio input devices found no audio output devices found API number 2
no midi input devices found no midi output devices found priority 96 scheduling enabled. priority 98 scheduling enabled.
no audio input/output
suggestions?
also thanks for the tut. any clue as to what can be wrong with the input?
m
On Thu, Sep 13, 2012 at 6:08 PM, Cyrille Henry ch@chnry.net wrote:
hello,
Antoine and I did few test on a raspberry pi.
to summarise, we did :
- use standard raspbian installation
- modify /etc/security/limits.conf as sugested by miller (adding : "* -
rtprio 99" and "* - memlock 1000000000")
- sudo apt-get update, upgrade and install git tk8.5-dev libasound2-dev
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data copy the configure file from pd 0.43 cd src , ./configure, make and sudo make install
adding -rt in pd startup flag
using the integrated HDMI audio out gives 20ms audio buffer minimum to avoid click, when cpu is unused. with nusmuk-audio analog synth emulation (that use 35% cpu when the oscilloscope is removed), 25 ms buffer give no click, few can appear when moving windows.
with an old usb soundcard (edirol ua-1A), 10ms audio buffer is enough to avoid click even when moving windows. (still using the same example patch) (44100 or 48000KHz, block size of 64)
in both case, audio input must be disable, we did not manage to use it properly.
details instruction (in french) can be seen on Antoine blog : http://antoine.villeret.free.fr/?p=359
cheers Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hi,
did you start pd with alsa ? we choose alsa with the gui then save the settings yesterday sorry, we forgot to mention that
if it still doesn't work you can check this : http://elinux.org/R-Pi_Troubleshooting#Sound to make sure sound is working outside pd
cheers
antoine
did you start pd with alsa ?
no... but i just did! works yes!
i forgot about that option
it wasnt necessary w/ just an apt-get install
so yeah maybe add to your blog post?
cheers m
On Fri, Sep 14, 2012 at 1:29 PM, Antoine Villeret antoine.villeret@gmail.com wrote:
hi,
did you start pd with alsa ? we choose alsa with the gui then save the settings yesterday sorry, we forgot to mention that
if it still doesn't work you can check this : http://elinux.org/R-Pi_Troubleshooting#Sound to make sure sound is working outside pd
cheers
antoine
-- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter
2012/9/14 m.e.grimm megrimm@gmail.com
not sure the deal but what i did was:
after installing from apt-get install puredata
$ sudo apt-get autoremove puredata
then i followed your instructions to the T
using the "configure" from 0.43.2
make and make install all seem to work good
but then i just do
pi@raspberrypi ~ $ sudo pd -nogui -rt -listdev no audio input devices found no audio output devices found API number 2
no midi input devices found no midi output devices found priority 96 scheduling enabled. priority 98 scheduling enabled.
no audio input/output
suggestions?
also thanks for the tut. any clue as to what can be wrong with the input?
m
On Thu, Sep 13, 2012 at 6:08 PM, Cyrille Henry ch@chnry.net wrote:
hello,
Antoine and I did few test on a raspberry pi.
to summarise, we did :
- use standard raspbian installation
- modify /etc/security/limits.conf as sugested by miller (adding : "* -
rtprio 99" and "* - memlock 1000000000")
- sudo apt-get update, upgrade and install git tk8.5-dev libasound2-dev
git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data copy the configure file from pd 0.43 cd src , ./configure, make and sudo make install
adding -rt in pd startup flag
using the integrated HDMI audio out gives 20ms audio buffer minimum to avoid click, when cpu is unused. with nusmuk-audio analog synth emulation (that use 35% cpu when the oscilloscope is removed), 25 ms buffer give no click, few can appear when moving windows.
with an old usb soundcard (edirol ua-1A), 10ms audio buffer is enough to avoid click even when moving windows. (still using the same example patch) (44100 or 48000KHz, block size of 64)
in both case, audio input must be disable, we did not manage to use it properly.
details instruction (in french) can be seen on Antoine blog : http://antoine.villeret.free.fr/?p=359
cheers Cyrille
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ____________________ m.e.grimm | m.f.a | ed.m. megrimm@gmail.com _________________________________