Getting Started with Raspberry Pi, Pure Data and AudioInjector

  Рет қаралды 17,621

Scott Lumsden

Scott Lumsden

Күн бұрын

Пікірлер: 70
@dinafisherart
@dinafisherart Ай бұрын
Great how to video!
@GiovanniDiStefano_Basel
@GiovanniDiStefano_Basel 2 ай бұрын
Thank you very much, your video was helpful even though I used Pisound instead of AudioInjector as my audio interface. Everything works and I was able to make two videos documenting this
@loganwilliams9723
@loganwilliams9723 2 жыл бұрын
First, thanks Scott for this awesome video, this got me 90% there. For those who followed this using the newest (2022) Rasbian Bullseye release (like me), the process is a bit different now. Install using the new procedures from the AudioInjector Github page, as usual. However, when I right clicked on the speaker icon on the desktop, like Scott did, I could not access all of the Alsa options from the desktop, they just werent there. However you can set all of those options by running alsamixer from the shell. But, still. . . not working. I could get the mic to work from Alsamixer, but not the RCA input. After hours of frustration and trying all sorts of things, I discovered that although I have selected the Audio Injector as the sound card from the desktop (clicking speaker icon), AND in the alsamixer, I had to ALSO set it as the default sound card in the alsa.conf file by changing defaults.ctl.card and defaults.pcm.card from zero to 1 (the alsamixer told me the Audio Injector was device #1, and wonderful Adafruit had a post on exactly how to do this). Once that was done, viola! Everything worked correctly in both Pure Data and alsamixer! I hope this helps anyone with the same problem. May my hours of frustration save you from yours!
@scottlumsden
@scottlumsden 2 жыл бұрын
Thank you for your helpful comment Logan!
@tsiritata
@tsiritata Ай бұрын
Fantastic! Thanks a lot.
@tilmanpatzold7474
@tilmanpatzold7474 3 жыл бұрын
My first comment ever written on a KZbin-Video: I love it!! Thanks man, huge inspiration.
@autumnmoon1996
@autumnmoon1996 2 ай бұрын
thank you for this video
@andrak5946
@andrak5946 4 жыл бұрын
Realy nice video! We need the second part!
@beatspieces6213
@beatspieces6213 2 жыл бұрын
This is the type of video I was looking for. I see that it's a few years old, but it's still super helpful. I'm trying to get into building my own effects boxes, synths, sequencers, samplers, audio/instrumental experiments in general. This is all very new to me, so I'm a novice at best. I'm trying to get into experimental instruments, and it seems that Raspberry Pi, Arduino, and Teensy, are the way to make things more technical and interesting.
@scottlumsden
@scottlumsden 2 жыл бұрын
Yes, that's exactly what I'm interested in doing as well. In the time since I made the video, I've found success using openFrameworks on the RPi as my application platform. I use the ofxPd addon to embed Pure Data into my application, and ofxImGui for the gui. For hardware control, I've used OSC with a Teensy 4.1 connected to the RPi via ethernet. However, it is also possible for the RPi to just use the Teensy as a USB midi device. For actually writing the code, I've found that the 8GB RPi4 has plenty of power and enough RAM that I can run VS Code and compile on the RPi itself - no cross-compiling. Same with the Arduino IDE for the Teensy - it runs on the RPi itself. However, a few months ago I started using the platform.io extension in VS Code for writing the Teensy code as well, so now I can work on code for both the RPi and Teensy in the same VSCode window, all on the RPi itself! It has taken a couple of years to get to this point, and I've been thinking about making a video about this way of working.
@jrcenina85
@jrcenina85 Жыл бұрын
@@scottlumsden a video would be super cool and helpful!
@scottlumsden
@scottlumsden Жыл бұрын
@@jrcenina85 That would be a long video, or series of videos.
@jrcenina85
@jrcenina85 Жыл бұрын
@@scottlumsden haha I can imagine. Can you recommend any resources? Books etc?
@derickdowney6992
@derickdowney6992 3 жыл бұрын
This is amazingly helpful!! So grateful for you taking the time to create this. Thank you!!
@jimgoodinmusic
@jimgoodinmusic 4 жыл бұрын
Scott thanks very much for the walk through. I had some of this already but you gave some new things to me. I'm currently trying to make a live in the field friendly Pi and Pure Data setup. Was needing another audio i/o option to improve what I had and learning of the injector board was great. Look forward to the next one in this series. Thanks for your enthusiasm!
@anderskamden857
@anderskamden857 3 жыл бұрын
@Tanner Wayne WTF IT REALLY WORKED :O I just hacked my ig account details after about 40 mins of using the site. Just had to pay 15 $ but for sure worth the money :) Thanks so much you saved my ass !
@TehSyneS
@TehSyneS 2 жыл бұрын
really love your presentation style would love to see more videos! Thanks for the upload!
@EricBalcon
@EricBalcon Жыл бұрын
very nice tuto, makes me want to start a big project after messing with teensy and arduinos, I have the feeling that a pi will open widely my perspectives.
@rrjanik
@rrjanik 4 жыл бұрын
Hey this is an awesome video I’d love to see what you’ve done with this since! I got my Audio Injector today!
@zainayk
@zainayk 2 жыл бұрын
this video is actually amazing! I've been wanting to do this since two years ago but i finally found this video!!!!! now i know what i'm doing this summer break =))))
@jrcenina85
@jrcenina85 3 жыл бұрын
Ferk yes! Thanks for your time and energy!
@clifffiftytwo
@clifffiftytwo 4 жыл бұрын
Thank you so much for this video! I'll be trying to get my Sound Injector working today. I didn't need the first bit so I'll comment for anyone else - if you already know how to get an OS running on your pi, how to get SSH and VNC going, you can skip to about 09:31 where Scott installs Samba to have a shared directory to load music, then begins the Sound Card install. Liked the music! Liked the overlay of the commands in a large font!
@scottlumsden
@scottlumsden 4 жыл бұрын
How did it go? Did you get your Sound Injector working?
@clifffiftytwo
@clifffiftytwo 4 жыл бұрын
@@scottlumsden Took me a few more days since I'm easily distracted :^) but just got it working - Sounds Great! Your instructions worked very well. I did have one difference - the "Audio Control Panel" you adjust at 17:59+ did not appear - the input and output each had separate panels but the switches were similar. I turned all the controls on as you said and it works fine. I haven't tried the input yet but thank you very much Scott!
@agentofalienation
@agentofalienation 2 жыл бұрын
exactly what i was looking for, tysm ¡!
@Lando00100
@Lando00100 4 жыл бұрын
I have been wanting to make something like this and put it in a touch screen case. Have set on my amp and be able to twik effects in real time.
@fredbob7521
@fredbob7521 Жыл бұрын
Thanks! Your english is good for a french man like me...
@maxheadrom3088
@maxheadrom3088 3 жыл бұрын
Awesome!!! I enjoyed it!
@lomzart
@lomzart 5 жыл бұрын
Thank you very much for this video!
@eDrumsInANutshell
@eDrumsInANutshell 2 жыл бұрын
Hi mates, that's awesome. I am searching for a Wacom2MIDI CC messages interface software to use the x,y axis and the pressure to modulate some parameters. Any ideas?
@d3nt391
@d3nt391 3 жыл бұрын
First of all, thank you for the amazing video. How could you control pure data with something like a potentiometer through the pi? I know there's boards for the pi with many potentiometers, but how would you feed the data into pure data?
@JC3D
@JC3D 2 жыл бұрын
cool video!
@freeelectron8261
@freeelectron8261 4 жыл бұрын
Love the corny interlude :) BTW great view from the porch!
@86frankj
@86frankj 2 жыл бұрын
Thank you very muck for this!!!
@scottlumsden
@scottlumsden 2 жыл бұрын
You are welcome!
@LouT24
@LouT24 3 жыл бұрын
Every time I download puredata onto my raspberry pi, a strange glitch happens where the browser won't open, and the Pi also fails to run after I've switched it off. Has anyone else come across this and know a fix? I'm running Raspberry Pi OS with desktop and recommended software on the Pi. Tried Debian Buster with Raspberry Pi Desktop but the Pi fails to load with that. Using a 3B+. Any help greatly appreciated, thanks!
@scottlumsden
@scottlumsden 3 жыл бұрын
I haven't seen that before. Which browser doesn't open?
@LouT24
@LouT24 3 жыл бұрын
@@scottlumsden I'm not actually sure, it's the default browser on the Pi, duckduckgo is the search engine. However, I'm wondering if it was because the SD card was full now as I forgot to enlarge the card on raspi-config. I've erased it and enlarged the card and reinstallled pd and it's working fine now! Thanks for your help anyway! :)
@scottlumsden
@scottlumsden 3 жыл бұрын
@@LouT24 That could do it. I’m glad you’ve got it working.
@Mystiskmusli
@Mystiskmusli 2 жыл бұрын
Do you know how to connect an lcd screen and show data from stuff inside PD?
@kavtech_midi
@kavtech_midi 2 жыл бұрын
so the guitar can not plugin directly to the input soundinjection, it must use the amp/preamp?
@scottlumsden
@scottlumsden 2 жыл бұрын
Correct. The Audio Injector’s input impedance is too low for the passive magnetic pickups in most guitars, so some kind of buffer or preamp is needed. A guitar pedal with active buffering will do the job.
@KiR_3d
@KiR_3d 2 жыл бұрын
Hi! What's the good needs of RAM for such projects? I don't really want to buy 8Gb version. But... if it's cruicial then I'll do it :) Also I can't find AudioInjector. What's the best option now? I'm searching on Ali. There are few (or maybe a lot) audio HATs and I really don't know what to choose. The main line is to make an inexpensive FX box without a noticeable noise on output. This moment is important. Korg NTS-1 seems to be a nice thing but some people tells that it's pretty noisy. If it will be working with more than one stereo-input then it will be even better. Do I need an eMMC with Raspberry? I've heard that some projects quickly destroys SD cards.
@wonkyrobot
@wonkyrobot 3 жыл бұрын
Wish you'd follow up on this video! Great content!
@paniproduce
@paniproduce 4 жыл бұрын
Thanks!
@woulg
@woulg 4 жыл бұрын
Holy shit thank you for doing this. Great video man :)
@telharmonium
@telharmonium 3 жыл бұрын
It seems that Standard Firmata on Arduino Uno and Nano doesn't send data from attached potentiometers? If anyone has hints about that they would be most welcome. Re the comport, they can be made from sourcecode and makefiles.
@rndmknbs
@rndmknbs Жыл бұрын
thank u for this
@finnurjuliusson9635
@finnurjuliusson9635 4 жыл бұрын
lol. I have never seen corn cooked in a technical video. ;D However I once saw a performer from Finland name Keukhot cook carrots on stage.
@MattDiamondMDE
@MattDiamondMDE 3 жыл бұрын
Awesome vid Scott, thanks! Should we hold tight for a second installation?
@CarlosYounes
@CarlosYounes Жыл бұрын
NICE! CONGRATULATIONS CHEERS :)
@tnesseth547
@tnesseth547 3 жыл бұрын
hey man. thank for the video. really helpful. i’m got all the way through to the connecting the w hardware. at that point, the pi 4 with the octo channel board connected won’t boot. it will boot if i remove the hardware -?? - it my might be a pin thing from what i’ve read? any thoughts?
@telharmonium
@telharmonium 3 жыл бұрын
Still useful in 2021! However, I'm trying to plug in an Arduino to add potentiometers. I've added PDuino and loaded Firmata Standard onto the Arduino, but it seems PD does not natively have a comport object, which is necessary for PDuino's arduino object. Any advice for remedying this would be very welcome!
@scottlumsden
@scottlumsden 3 жыл бұрын
For serial communication in Pd on Raspberry Pi I have used the comport external. It is surprisingly simple to install: sudo apt install pd-comport
@mushfiqayon
@mushfiqayon 3 жыл бұрын
Hi I was trying to capture guitar input (1/4 male jack to 1/4 female jack to 3.5 mm male to RCA female to sound input) in audio injector, but I am not getting any response. I am able to connect my amp using RCA->3.5mm jack to 1/4 jack to amp and I can hear sound. Would you please let me know what I am doing wrong here? Thanks in advance!
@pedrononino4223
@pedrononino4223 5 жыл бұрын
Thanks!!
@SilentNote
@SilentNote 5 жыл бұрын
Is there a way to make RASPBERRY PI actually INSIDE a EXPRESSION PEDAL ??? This way you can do ALL OF THESE shown in this video and use the EXPRESSION PEDAL as VOLUME or as a MIDI CONTROLLER ( controlling a WAH EFFECT ) ...
@woulg
@woulg 4 жыл бұрын
Just 3d print or laser cut a case for it :) get SketchUp or blender or something and design it
@shauncrook5296
@shauncrook5296 5 жыл бұрын
Great video Scott, thanks for making everything so clear. Have you hooked up pots to the PI4 GPIO to control parameters in Pure Data yet? Thats the next stage of my project (after following this video), seems a bit tricky. Would be awesome to get a video on that!
@scottlumsden
@scottlumsden 5 жыл бұрын
I haven't experimented with GPIO yet, but that is something I'm about to look into.
@shauncrook5296
@shauncrook5296 5 жыл бұрын
@@scottlumsden Great! Good luck. I'm having some success with wiringPi in PD, seems there is a version for pi4 now. Took me so long to realise you need to open PD with root privileges ($ sudo pd) for the wiringPi objects and gpio to work. Slowly learning :)
@davesnyder7094
@davesnyder7094 4 жыл бұрын
I just got an injector and a Pi 4 , will Guitarix work with these?
@autumnmoon1996
@autumnmoon1996 2 ай бұрын
anyone have successfully run audio injector card on rpi 5 (bookworm)?
@scottlumsden
@scottlumsden 2 ай бұрын
Yes. What problem have you encountered?
@CG-sv2nw
@CG-sv2nw 3 жыл бұрын
Great video, easy to follow. Background music is grating and very not good guitar riff man.
@supooze4352
@supooze4352 4 жыл бұрын
rad hair!
@fromaggio7654
@fromaggio7654 4 жыл бұрын
that hair looks badass
@henrybirdseye
@henrybirdseye 5 жыл бұрын
This a wonderful and helpful video. But, I'd like to point out that the ambient music only detracts from the usefulness. Please don't do that ever again.
A drum synth using Pure Data on a Raspberry Pi
11:24
Reuben Ingall
Рет қаралды 8 М.
How to Run Linux on an ESP32
18:53
element14 presents
Рет қаралды 166 М.
41. Granular Synthesis with Pure Data
17:24
QCGInteractiveMusic
Рет қаралды 15 М.
Headless Raspberry Pi Synthesizer Update
13:36
The White Tornado
Рет қаралды 52 М.
DIY Swarmatron (Pure Data & Arduino Tutorial)
5:34
Sound Simulator
Рет қаралды 10 М.
PureData tutorials - rich synthesis (19) - Granular Synthesis
15:00
Really Useful Plugins
Рет қаралды 19 М.
Ultimate Raspberry Pi for your Ham Radio
18:21
KM4ACK
Рет қаралды 56 М.
Pure Data Guitar Pedal
10:20
Alex Miller
Рет қаралды 43 М.
Build your own synthesizer module with PICO ADK!
11:36
Floyd Steinberg
Рет қаралды 17 М.
WAY faster than a Raspberry Pi-but is it enough?
17:26
Jeff Geerling
Рет қаралды 697 М.
Raspberry Pi 5: Getting Started
24:43
Jeff Geerling
Рет қаралды 607 М.