Why do you need to compile it?..<br><br><br><div class="gmail_quote">2012/9/17 Cyrille Henry <span dir="ltr">&lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hello,<br>
yes, you are right, there is a typo.<br>
it&#39;s<br>
git clone git://<a href="http://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data" target="_blank">pure-data.git.<u></u>sourceforge.net/gitroot/pure-<u></u>data/pure-data</a><br>
(or git clone git://<a href="http://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data" target="_blank">pure-data.git.<u></u>sourceforge.net/gitroot/pure-<u></u>data/pure-data</a> pure-data)<br>
<br>
<br>
try<br>
sudo apt-get install autoconf<br>
<br>
thanks for the feedback, we will correct the documentation.<br>
<br>
cheers<br>
c<br>
<br>
<br>
<br>
Le 17/09/2012 20:44, m.e.grimm a écrit :<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hey,<br>
<br>
so you know<br>
<br>
with this i get:<br>
<br>
pi@raspberrypi ~/Desktop/pure-data/src $ git clone<br>
git://<a href="http://pure-data.git.sourceforge.net/gitroot/pure-data/" target="_blank">pure-data.git.<u></u>sourceforge.net/gitroot/pure-<u></u>data/</a> pure-data<br>
Cloning into &#39;pure-data&#39;...<br>
fatal: The remote end hung up unexpectedly<br>
<br>
so i have to do:<br>
<br>
git clone git://<a href="http://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data" target="_blank">pure-data.git.<u></u>sourceforge.net/gitroot/pure-<u></u>data/pure-data</a><br>
(no space)<br>
<br>
but then i get:<br>
<br>
pi@raspberrypi ~/Desktop/pure-data/src $ autoconf-bash: autoconf:<br>
command not found<br>
<br>
where is autoconf?<br>
<br>
m<br>
<br>
On Sun, Sep 16, 2012 at 6:38 PM, Antoine Villeret<br>
&lt;<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi all, here is an up-to-date tutorial to make an analog synth with a<br>
Raspberry Pi and pd :<br>
<br>
1. installing raspbian on a SD card<br>
<br>
see instruction :<br>
<a href="http://www.raspbian.org/" target="_blank">http://www.raspbian.org/</a><br>
<a href="http://elinux.org/RPi_Easy_SD_Card_Setup" target="_blank">http://elinux.org/RPi_Easy_SD_<u></u>Card_Setup</a><br>
<br>
connect a keyboard, a mouse, an HDMI screen and an ethernet cable with DHCP<br>
(to get internet access) and boot on the SD card to configure the OS :<br>
- expand root<br>
- change keyboard<br>
- change password<br>
- change local (fr utf8)<br>
- change memory split : minimum allocated to video<br>
- enable ssh<br>
- boot : no desktop<br>
- update<br>
<br>
sudo apt-get update / upgrade<br>
sudo reboot<br>
log in and start graphical interface :<br>
startx<br>
<br>
2. installing puredata<br>
<br>
sudo apt-get install git tk8.5-dev libasound2-dev subversion<br>
downloading latest pd :<br>
<br>
git clone git://<a href="http://pure-data.git.sourceforge.net/gitroot/pure-data/" target="_blank">pure-data.git.<u></u>sourceforge.net/gitroot/pure-<u></u>data/</a> pure-data<br>
cd pure-data/src<br>
autoconf<br>
./configure CFLAGS=&quot;-mfpu=vfp -mfloat-abi=hard&quot;<br>
make<br>
sudo make install<br>
<br>
It takes around 20min to build, be patient.<br>
you can start pd using the « pd » command<br>
<br>
3. optimising the system for pd :<br>
<br>
sudo leafpad /etc/security/limits.conf<br>
or try nano if you don’t start an X server<br>
add<br>
* - rtprio 99<br>
* - memlock 1000000000<br>
start pd and go to media &gt; preference &gt; startup<br>
add the following flag in the startup flag field :<br>
-rt -alsa -noadc -audiobuf 25<br>
<br>
then apply and restart pd.<br>
<br>
4. test<br>
<br>
download analog synth emulation patch by Cyrille Henry here :<br>
svn checkout<br>
<a href="https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/nusmuk/nusmuk-audio/" target="_blank">https://pure-data.svn.<u></u>sourceforge.net/svnroot/pure-<u></u>data/trunk/externals/nusmuk/<u></u>nusmuk-audio/</a><br>

~/nusmuk-audio<br>
cd ~/nusmuk-audio<br>
make<br>
cd examples<br>
pd analog_synth_emulation.pd<br>
<br>
5. Performance :<br>
<br>
The analog output is very poor now. Some (like Miller) are working on<br>
improving it (thanks for their work). The signal to noise ratio is low and<br>
there is also some quantization distorsion.<br>
<br>
On the other hand, one can output some audio through HDMI. We use an HDMI<br>
display to convert audio and to send it to good quality loudspeaker. We<br>
later tried a USB soundcard (Edirol UA-1A) which works out-of-the-box.<br>
<br>
We tried to reduce latency without hearing click with the Cyrille’s patch,<br>
here are the results :<br>
10 ms latency with USB soundcard<br>
20 ms latency with integrated HDMI audio<br>
We also tried to input audio with USB soundcard but audio is crackly as soon<br>
as input is enable (with output too).<br>
<br>
6. Getting data from real world<br>
<br>
Most of MIDI-USB interface should work out-of-the-box.<br>
With Edirol UM-1EX we get a MIDI loopback between 30 and 35ms.<br>
<br>
HID works great.<br>
svn checkout<br>
<a href="https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/hid/" target="_blank">https://pure-data.svn.<u></u>sourceforge.net/svnroot/pure-<u></u>data/trunk/externals/hid/</a><br>
~/hid<br>
cd hid/<br>
make<br>
pd hid-help.pd<br>
<br>
The Byron interface (<a href="http://www.1010.co.uk/org/byron.html" target="_blank">http://www.1010.co.uk/org/<u></u>byron.html</a>) is one of the<br>
cheapest way to make a CV-to-computer interface.<br>
<br>
A TCP loop on a local computer takes less than 1.5 ms.<br>
<br>
7. Autologin<br>
<br>
To enable auto login, we follow this :<br>
<a href="http://elinux.org/RPi_Debian_Auto_Login" target="_blank">http://elinux.org/RPi_Debian_<u></u>Auto_Login</a>. And to start pd at startup, we<br>
follow the steps on the same page but replace startx by ~/autostart.sh wich<br>
is a script like this :<br>
pd -nogui -audiodev 3 -open<br>
~/nusmuk-audio/examples/<u></u>analog_synth_emulation.pd<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt;<br>
<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</div></div></blockquote></div><br>