Yearly Archives: 2015

Loading
loading..

PureData Extended on Raspberry Pi

For the prototype of a sound object I need, among other things, an electronics, which can play up to 12 long samples simultaneously and can also change them via external midi controller (e.g. filter, volume). Since I didn't want to use a PC and also not a sampler like the wind chime "Modern Chimes" I wondered if maybe a Raspberry PI, of which I have two pieces lying around, could be suitable for this.

RaspberryPiModelBRev2

In this context, reports on the network often criticize the poor audio output and the low performance of the PI. Also my model is already old, there is now the Raspberry 2 (ArmV7 with 900MHz, 4 Core) and mine is still the Raspberry 1B (ArmV6 with 700Mhz, 1 Core). But it runs with Linux and my application is not very performance-demanding. In addition, it costs only 35 EUR

So I wrote a simple test patch with two samples with the free Pure Data on the PC, which simulates my application raw (uff, had to work my way back in there, because I'm working with MAX7 now, but this doesn't work on the Raspberry) .

Required hardware

Raspberry PI Model1B, SD memory card 16GB, power supply 2A, keyboard, mouse, USB hub with extra power supply 2A, USB audio interface, possibly USB Midi Interface

Supplement 2018: In the meantime I have also done this installation with the Raspberry PI3 Model B.

To work around the audio problem I use an external USB interface, I still had a free Roland UA-25 audio interface, this works perfectly with the Raspberry (Midi not yet):

ua-25ex

FIRST FAILED ATTEMPT:

First, I prepared the memory card with the operating system exactly according to instructions, as suggested by Raspian Wheezy. Downloaded in Windows PC, unpacked with 7zip and written to the SD card with Win Disk Imager.

Then connect the PI to my TV via HDMI and to the Internet via Lan cable. Connected to a USB hub and then keyboard and audio interface, in the second on board jack the mouse.

Powered up with the SD card, German set and start on desktop (still, later of course it will headless).

Then laboriously installed in the terminal pd, according to instructions:

sudo nano /etc/apt/sources.list
new line entered there:
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi
ctrl+o, Enter( ctrl+x (=to get out of nano)

sudo apt-get update (takes some time)
wget https://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf/releases/1.0/Pd-0.43.3-extended-20121004.deb
sudo dpkg -i Pd-0.43.3-extended-20121004.deb (there are some error messages because of non-existent libraries, ignore)
sudo apt-get -f install (here the libraries are reinstalled)
sudo chmod 4755 /usr/bin/pd-extended

So, now Pure Data (pd) can be selected from the menu.

I had to search for the sample files that are in /usr/lib/pd-extended/doc

The files load and there is also sound via HDMI, but the application window can no longer be closed and is stuck with me in the upper left corner.

You can kill the process, but that's not a solution and I don't know what I could do about it.


This attempt worked:

So once again I dealt with the problem from the ground up.

My research has shown that there is a new version of the PD software, but it does not appear in any manual, namely version 0.43.4

This is not hosted at puredata, but on sourceforge:

http://sourceforge.net/projects/pure-data/files/pd-extended/0.43.4/pd-extended_0.43.4~extended1-1~raspbian_wheezy_armhf.deb

I'll take the old, somewhat hard-to-find Raspbian Jessie in the full final version

Supplement 2018: I tried it with the Jessie successor Stretch, it didn't work out because of missing libraries, which couldn't be reinstalled with me.

So again memory card as prepared above, now with Raspian Jessie

then Raspberry PI powered up, German and desktop as above.

Now the /etc/apt/sources.list is not changed, because the line is already sufficiently similar in it!

sudo apt-get update (takes some time)

(please note, if you copy the following commands, everything is ok, but if they are written off please make sure that my font instead of TILDE displays a LANGES MINUS, so before extended and before raspbian is a TILDE)
wget http://sourceforge.net/projects/pure-data/files/pd-extended/0.43.4/pd-extended_0.43.4~extended1-1~raspbian_wheezy_armhf.deb

(here also TILDE before extended and before raspbian)
sudo dpkg -i pd-extended_0.43.4-extended1-1-raspbian_wheezy_armhf.deb (there are some error messages again due to non-existent libraries, ignore)
sudo apt-get -f install (here the libraries are reinstalled)

Once it happened that it didn't work, then I just repeated dpkg and install (the last two steps).

(for security reasons, upgrade:)
sudo apt-get upgrade (takes time)

The following changemod supposedly improves the audio playback, I can not judge but I have applied it and it does not seem to hurt anyway:

sudo chmod 4755 /usr/bin/pd-extended

Supplement 2018: I had a problem on the PI3: The created icon of Pd-extended did not open. I have tested that it works with a different shortcut, you have to link ind the icon .desktop file on

/usr/lib/pd-extended/bin/pd 

then the program starts correctly.

PD is now going superbly, my Roland UA-25 audio interface is recognized without any driver and delivers the best sound.
Now I can extend my PD patch and see if the system is still running under full load, if not I can still slightly overclock the CPU.
So it should be. …

The Midi interface of Roland UA-25 does not appear in PD, I have to make it work, either via an external USB-MIDI interface or possibly. via Software Midi.

To be continued

Supplement 2018: On the Raspberry PI3 there is of course a lot more power, I have again the anomaly that windows like to open up the left and can no longer be closed, since not reachable with the cursor. It looks like, if open windows are located in a specific location from the patch in Windows or on the MAC when saving, or are pushed there last, these coordinates appear to be evaluated differently on the Raspberry. I will be testing this closely shortly.

 

 

 

 

 

New song "Phased Music for 32 Instruments"

I had long wanted to develop a piece of music about steve Reich's phase shift principle.
For this I wrote a MAX 7 for Live application (starting from the great Maxpatch by Akihiko Matsumoto),
which in Ableton Live generates a musical phrase from 12 tones as a continuous loop and a second, identical phrase initially time-synchronous,
delay each repetition.
As a result, the second phrase shifts continuously to the first and interesting rythmic structures emerge
as well as by overlaying the phrases also constantly other melody histories. A phrase shift to the next sound takes about 24 seconds.
The instruments play the first phrase and identical other instruments play the second phrase.
As instruments (a total of 32, all produced electronically) I use Grand Piano, Harp, Pizzikato Violin, Marimba, High and Deep Bells of various kinds and some synthetic choral and surface sounds.
Instruments were Ableton Live with Max, as well as Korg Karma for a few melodic and flat accents.
The piece is about 17'20'' long, during this time the phrases shift continuously and the variety of individual instruments
appear in groups and disappear again in order to reappear in a new grouping.

 

New song "Q-Chord"

This is a track dedicated to the Omnichord Music Instrument by Suzuki. I did use the Q-Chord, which was manufactured in 2001 to supply all data via Midi to a Prophet12. The idea of this song is to bridge the time between the Q-Chord and the Prophet12. No data was changed in any way, the song is generated by the Q-Chord which you can hear with its original voices in the beginning and a bit at the very end. The Midi stream has been devided into various channels and voices, many voices are then Prophet12 sound multilayered.
I hope you got the idea and enjoy the song!

Olaf1

Olaf2

Prophet

Q

New song "FAREWELL"

This is a song dedicated to Edgar Froese, founding member of Tangerine Dream, who died recently. The song is multitrack sequenced a lot, instruments used are mainly Prophet 12 and NI Reactor for the pads and sequences, Korg Karma for the leads, Ableton Studio DAW for the mix and drums. The song elements refer a bit to TD, Jarre and Schulze.

Robot installation "FearBot" at the Proud Collectors #2 exhibition

The exhibition "–Proud Collectors #2–" on 02.05.2015 at THE GRAND, Berlin shows ONE NIGHT ONLY (!) the FearBot, a robotic installation.
All other exhibition details, such as the extensive list of artists, see poster below and Facebook page

In this exhibition I show a robot installation with the title "FearBot", the robot object is described here in detail

Flyer (party scene) sideside

 

fearbot003

New song "Hang"

The second song this year is now ready. "Hang".
The title refers to the instrument Hang, which is produced in small series and handicraft.
It's a kind of upside-down steeldrum to play with your fingers.

Slope

I did it about a year ago. discovered a year and am fascinated by the sound spectrum.

I was all the happier when I discovered a soundpack for Ableton with sampled sounds of the slope.

I developed a piece of about 10 minutes, which was created in Ableton Studio, with sampled slope and wind instruments,

as well as pads and sounds from Korg Karma, Prophet 12 and NI Reactor

Click here to go to the song

New song "EO"

Finally "finished", where of course the song would have to be mixed, but a professional has to do that, I'm not yet fit in Ableton enough to trust me. Maybe here in Berlin I find capable and willing Ableton professionals to help me.
For this song I also created a visual in After Effects.

Click here to go to the song

Eye contact

Some – unrecognized – older scientists have developed a theory that leads to the so-called "eye contact" with simple (but unfortunately strenuous and not entirely harmless) exercises. What is that? An experience of indescribable intensity, like 1000 likes at once!

I myself experienced the "eye contact" several times in my youth, at that time I did not know about its rarity. Here in Berlin it does not yet exist, or no longer. But I hope that this guide and an APP will help bring him back to life here – like the gene-cloning of an extinct species.

Overall, the theory is too high for me, so I try to describe the practical practice and application of the APP below:
1) First, look at your smartphone screen as always.

2) The first difficulty: Unwind your gaze from the messages, they can continue to tap or swipe calmly to feel comfortable, and direct your eyes upwards towards the battery and reception indicator. I know it's exhausting, chat again and repeat this exercise as soon as you're better off. Do this at least once an hour and gain security outside your Facebook/Messenger environment.

3) The next exercise is much more difficult: move your eyes even further up to the edge of the display, as if you see a jump in the glass or a pinched hair. Return to your familiar surroundings as soon as you feel insecurity or fear. Repeat this exercise twice a day and then – with increasing security – once an hour. Keep chatting as usual and don't go into the depths as usual, don't tell you anything about your exercise. You won't get any likes at this stage of training and this can lead to depression.

4) The third exercise is extremely difficult and you need a strong will and also courage to take this step.

ATTENTION: This exercise is not suitable for children, pregnant women, in case of illness, if you are taking medication, are alcoholic or on medication, if you are wearing reading glasses. Practice this step only in a safe environment, you may check your environment by turning on the camera of the smartphone on the RÜCK page (yes, there is and I do NOT mean the setting for selfies, that is the FRONT camera). Do not practice this step in darkness!

Download the Eye Contact APP from Google Play or the App Store to your smartphone and accept the shares. In the installed app, click Search Eye Contact. Now a friend who is also looking for eye contact and is nearby will be found on your networks or you will receive the invitation of a new friend. Accept the contact. The APP will suggest the location and time of the meeting via the "Contact Place" function, which knows the location of both participants. Accept this appointment. When the time comes, move to this meeting as usual with a constant look at your smartphone. Once you arrive at the location, check the other's presence in the chat.

Now you have to be brave: Activate the eye contact countdown in the APP, which triggers the countdown synchronously with both partners. While the countdown counter counts down to zero, a quiet click sounds, with each click you look up to the edge of the display. At countdown zero, a quiet gong and then quiet music sounds, now jump with your gaze from the display edge into the void over it and try to breathe quietly. Raise your head and look straight, like a selfie, just not quite as high and without a raised arm with a smartphone. The arm stays down.

Attention: now everything becomes three-dimensonal! At first everything is fuzzy, but after a few seconds contours gain in definition, how images that are loaded from the cloud and pixelate more and more finely. Look for the following patterns in this image, these are the eyes of your eye contact partner: (may also be similar)l_b_pro_deko_augen_2.3.2

Do you notice the feeling? It's indescribable! Surely it only takes a moment and you will immediately see back into your familiar smartphone environment. Don't worry, if the music ends and you haven't found your chat surface, raise your arm like a selfie and the smartphone will appear in front of your eyes.

You can repeat the eye contact free of charge. Use the app for another eye contact and get to know new friends with depth.

Buy "Eye Contact PRO" for intense, sparkling eye contact or the new multi-user APP for entrepreneurs "View Contact ENTERPRISE", you get as a bonus the plugins "penetrating look" and "devastating look" with training instructions.

Layout mode
Predefined Skins
Custom Colors
Choose your skin color
Patterns Background
Images Background