Rasberry Pi as musical instrument


#1

Ok, had a few times this as come up in various topics, so thought it needed a topic of its own :slight_smile:

other topics you might want to review are:
- https://sebiik.github.io/community.axoloti.com.backup/t/critter-and-guitari-organelle
- https://sebiik.github.io/community.axoloti.com.backup/t/bela-and-pi3


Critter and Guitari - Organelle
#2

Hi all!
I'm thinking about getting an Axoloti and I was reading around the forum when I read this post talking about Organelle... I love Pure Data, I am a begginer but as I love the Organelle as well I did my best to clone it with a Raspberry Pi, the official RPi 7" display, a pHat DAC by Pimorony and a MIDI keyboard.
I hope you enjoy the video! :slight_smile:

The project was quite challenging and interesting. Pros and Cons?

Pros:
- Half the price (MUCH less if, like me, you already have a Raspberry Pi, a sound card and a MIDI controller! (actually the only things I had to buy for the project was the official RPi display, the case for the display and the Lego figure :stuck_out_tongue:
- Screen is much more useful, it's a touchscreen and its big enough to connect a keyboard and a mouse and start editing the PD patches (I did tons of editing on it!) Also you can customize/design to show whatever you need for your project (values: volume, pitch, screen number..., sliders and buttons!!!, interfaces (make a customized 'front panel' screen!, GEM animations...)
- You can use many patches at the same time, the only limit is the Raspberry Pi processor power (and I used up to 4 patches at the same time with no issues!!)
- Well, it's a Raspberry, so you can use it for whatever you want appart from being a clone of one of the most amazing synths in History!
- You can use the MIDI controller you want/have and use it for anything else!
- WEEKS of fun developing/improving the Organelle patches and making them to your own taste (YOU LEARN A LOT OF PURE DATA)
- 100% portable, I use a powerbank for days of fun with one charge.

Now the Cons:
- Well, it's not an Organelle, and an Organelle is COOL :sunglasses:

Cheers,
I hope to see you soon in other threads when I get my Axoloti! :slight_smile:


#3

Nice.
I'm building something similar, despite having an organelle - have you seen geerts buildroot post, this is probably the way forward for rPI ( if your a developer)

I'd say though you are missing the 2 big pro of organellle.
- common form factor for users means you just share patches and they work. = immediacy.
- everything in one small box (keyboard/knobs/display) = immediacy.

And it's the immediacy, turn on and use that I've enjoyed most on the organelle , for sure I can build similar , but being bespoke , it doesn't have the community , or the integration

Of course the flip side, and why I'm building with rpi/bela is it can be whatever you want it to be, there are no form factor limitations

Now.... when Axoloti control comes along, that's going to change the game :wink:


#4

I am also building something similar. I got the Pi3 and a Behringer UCA-202 working well together and pure data running fine. And for midi controller I use a Novation Launch controller, works straight out of the box. I still need midi IO, so it can sync with other devices, but not sure what to get. Any suggestions for midi I/O for the PI3?

Next step is getting my 3.5" touch screen working.

I had also intentions of getting an Organelle, but I have delayed cause I want to see how far I can get with the PI3 build first.

I do have plans about trying to make it work similar to and organelle, but I have NO idea yet on how to make this work. One step at a time, I guess.....:
- Boot directly into pure data, in no GUI version.
- Be able to switch patches, from my device.
- Also be able to connect keyboard mouse etc. so I can also use it for programming directly on the device itself.


#5

@jaffasplaffa perhaps have a look at the blokas.io pisound... 99 euro , and it looks like its immediately available.

gives you midi io, and an audio interface attached, so you don't need an extra dongle :wink:
also they are providing some software support, which might help if your not too familiar with Linux.
they have a forum, so they can help you get it running.
I think their aim is very much a 'standalone' box, during KS they promised an iOS app that would then let you switch PD patches.

I'm not quite sure how far they have got with it all, as not much activity on the forum... and I only had the time to check the hardware was working.... and now I'm very much tempted to go the buildroot route, when I do get underway with it.

apart from that, I've used a cheap USB to MIDI cable works fine, automatically detected by Alsa.
or of course use Axoloti as a USB -> MIDI din route (Ive one Axoloti with this as its startup patch :))


#6

Looks good. I FINALLY got rid of my UAD card.... YAY.. That did free up some finances for other projects like this :slight_smile:

Yeah had been looking at that Pisound before, but it wasnt available. Great to see it is now.

Should probably also get the official display like everyone esle. The one I got was a cheap china one for 10€.... So Pisound + the official display = easier for me....


#7

About having separate devices(pi&audio interface) thats okay for me, cause I do plan to put it in a custom box later on.....

But theat pisound does look very good :slight_smile:

@thetechnobear
Sorry this might be a stupid question...... But I am a bit curious about how one would use the official display with the Pisound? isn't the display also mounted on top of the Pi3?


#8

@jaffasplaffa I think rPI needs a topic of its own :slight_smile:

yeah, I think the thing that might be helpful around pisound is the community, somewhere to go for help. I find generally the rPI community is pretty split up.
e.g. you can download a MODDEP install which will just work (I assume :)) for the pisound.

btw, one thing Ive found with Organelle , is for patching.. its easier to use your computer as a remote X display, rather than use any kind of lcd/hdmi.

of course, it may be you still need a touch display for creating a control surface though.

I bought a waveshare 7" which is ok, but I don't find it very sharp...

I'm hoping display will improve in the future... this looked very nice , I nearly backed...


but I recently got stung on taxes/customs on a KS campaign (ended up being 40% after import duty AND the fee the courier charged for collection!) , so I was a bit wary.
but it definitely looks better tech that we currently have.

I assume the official display is similar to the waveshare, in which case its no issue...
rPI mounts to back of display, but with gpio pins out , so then the pisound sits on that.
(obviously 'the button' , and pots are now behind the display when in use, but still accessible)

with the waveshare lcd, its even still sits on the stand properly :slight_smile:
... I think its pretty common for PI uses to need access to gpio pins, or have something on them/


#9

Yes fine you split it up :slight_smile:

Yeah I think i will be making most patches on the computer anyway, but still nice with a touch screen for interacting with patches. And do some basic editing on.

Manga 2 looks nice. And can be backordered for delivery in october... hmmmm... :slight_smile:

After reading everything about the Pisound it does sound appealing. And the interaction with pure data is great.


#10

a bit of good news... I think Ive just found out why my display was flicking which was my bugbear of the setup...

power.... or lack of....
apparently the PI3 should be used with 2.5a (rather than the 2A i got for my PI2) , and given Ive got the LCD, pisound, wireless keyboard... I suspect Im going to need all of that.
(in fact I even get undervoltage warnings without the LCD attached)

so... I'm going to need to order a new power supply, hopefully that will allow me to make peace with the rPI and the waveshare display... which apart from the flicker Ive noticed is actually fine.


#11

Yes the official PS for pi3 is 2.5, I got a "semi" official one. And I run keyboard, mouse from USB and the UCA 202 USB interface and a VGA display over a HDMI to VGA adapter and all works. I havent tested if under powered or not, but it seems to work.

I also first tried with an Ipad charger, with very bad result. Didnt work, the whole system seemed unreliable. I saw someone had done it, but I dont think they had alot of stuff connected to the Pi that needed power. But with 2.5 it works great here.


#12

This Manga Screen looks great. I think I'll buy it for my pi3 / pisound / MODEP / pd / axoloti setup


#13

Same here, and about time as well, I've been waiting for a full-hd screen for my Pi ever since I started using it as a desktop replacement. With that screen, I'm gonna build a miniature RPi3 laptop (or rather palmtop)!

One thing to note about that screen though: the good news is it's manufactured by Sharp, the bad news is it's not IPS if those specs are anything to go by (having an 80 degree viewing angle). Love the physical design though, clean and symmetrical, and without any distracting logo!


#14

one thing I noticed about the manga, the dongle on the back is pretty deep, looks to be about same as PI. not really an issue with just a PI, but add a pisound, and it's getting quite bulky.
( Noticed similar on bela , 1 board extra is ok, 2 starts to affect its compactness)

Also a pity they don't have an option for one with speaker , or some kind of audio output- given hdmi can carry audio - not an issue here, as dont want to use built in sound card , but for general PI solutions might have been nice.

I wonder if they will supply some nice flat hdmi cable, waveshare came with a nice one, but even then it's still a bit of a cable mess :slight_smile:
Not an issue if you put it in an enclosure of course.

Anyway, hope later they will gets European distributor, then I'll likely get one.


#15

It is a bit on the thick side, I actually thought it was an SBC on the back at first glance :open_mouth:

Same here, won't purchase unless there's a way to dispatch from the UK. There's a store in the UK called 'The Pi Hut' which sells all that sort of stuff, so I reckon they'll likely stock it. I'll be very surprised if they don't.


#16

@jaffasplaffa, wondering if can assist, I too want to install pure data on Pi3, no experience with Linux installations, and cannot make any sense of the Pi downloads required on the PD website.
Do you think you might be able to direct me to the correct links ?
I expect I have to use my windows pc to download an image to an sd card, this bit I know, as managed to get the Kodi OS working this way, but it was all gui so it was easy to setup. But I have no idea on where to start for PD.
Thanks.
:grin:


#17

Most distros have a package manager app, which you should use , just search for pure data

Note : Purr data is not available like this, but the site has instructions on how to install.

One you have installled pure data you can install extra externals via deken within pd


#18

Hey @Gavin

Uh, the Pi3 project has been a bit on hold since I got the Organelle, heheh :slight_smile:

I can tell you which version that I installed. I got the version suggested in this link:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=142307

Go down to comment by Gregorth, dated Wed Apr 27, 2016 10:35 pm and follow the instructions. This is 0.46 and it works here. In the same description is also a link to most of the externals that you can install manually.

I DID NOT install the version that you can install by searching in the Pi3 app installer, or by doing "apt get" cause I was told it was not a good version. I also tried L2Ork but the browser in that version drives me nuts, but I guess it is a matter of taste. So I ended up with the link above.

I was also just googling around a bit and I think I am going to try to install the new 0.48 from here:
https://puredata.info/downloads/pure-data

Actually now I am reading "official Debian package ("apt-get") about the link above.
Maybe try to find out which version the "apt get" install gives you today.. If it gives you 0.48 I would definetely go with that one.

Sorry if this is not much help, as said it has been on hold for a while so there might have happened new things since then.

I'd also like to add this is the first i have messed around with Linux so I apologize if i am saying somethign that might be able to be done in a smarter way.


#19

I'm pretty sure apt-get on raspbian stretch gives you 0.47, and this worked 'out of the box' for me.
perhaps as the post you linked to is over a year old, things have moved on , as certainly most of the steps details are irrelevant, as alsa and the kernel is configured on most distros for PI.

if your using a different distro your mileage may vary.

I'm not sure if distro has updated to 0.48 yet, as its relatively new, I'm not too interested, as I want to retain compatibility between my rPI and Organelle... so until we move that to 48, I'm only use 46 feature set :slight_smile:
(quite keen to move Organelle to 47, just for clone though)


#20

Isnt the apt get version a GUI less version?I think it was when I installed it.

But on this webpage it says that 0.48 is "official Debian package ("apt-get")" version:
https://puredata.info/downloads/pure-data

Maybe it is soon time to dust of the Pi3 project and install it again :slight_smile: Also got a display laying in a drawer waiting to be installed.

Marc do you also know how I can find out which version i get by doing an apt get? Before installing it of course.