NOTE: The example code in this tutorial will not work with sensors that either use digital pins (for example ultrasonic sensors. Some distance sensors use analog pins though!) or SCL+SDA pins (for example some accelerometers). There should be workarounds, but I have to look into it for a possible future video. Please make sure the sensors that you're going to buy use analog pins!! Google Imaging the sensor will give you a diagram.
Hey I brought an arduino clone ch340, ultrasonic sensor and photo resistor from my local market and made it work with pure data by watching all of your tutorials! Had lots of fun! Thank you for this gold mine of a channel! Now hunting for a softpot membrane around here, desperately want to make that ribbon controller.
Thank you for watching! Good question! According to my friend Gustavo, Arduino Micro or Pro Micro are what you may be looking for! czcams.com/video/C-BNKf8v7Ys/video.html I wish I saw this before I made the video so I could've included the info! (I also highly recommend checking out the channel!)
I want to make a laser harp, I use arduino leonardo, the idea behind it is that I have a laser diode and a photoresistor and the moment the laser wave no longer reaches the photoresistor I want it to make a sound and I would like to use some speakers to make the sound
That sounds like a fun idea! If you want to add speakers to the project, I recommend using something like the Daisy Seed (I have to put a disclaimer that I work at Electrosmith!) since it'll allow you to make the synth a standalone instrument (so need for a laptop in order to play the synth like in this video). Good luck and have fun!!
Nice vid! Im curious, even though the arduino only has 5 analog inputs, would it be possible to map those 5 sensors to more than 5 controls via a digital input that acts like a shift key on a traditional MIDI controller? Does that make sense?
@@SoundSimulator For example, if I were in pd and had 10 variable parameters i wanted to control during a live performance as I would with a knob/slider, but i only have 5 analog inputs for potentiometers, could i use a button connected via a digital input to choose a different preset mapping for the knobs live. I dont want to remap the controls manually while live, but quickly choose another preset for the potentiometers.
@@Azec6Official First approach that popped into my head is to use 1 of the 6 analog inputs for a switch. The DAW will see that switch data as either 0 or 127 and I think you can use that to turn on/off a bypass or switch between 2 sets. The other 5 analog pins can be used for knobs. The issue with this approach is that each knob is mapped to 2 parameters simultaneously (unless there is a work-around in your DAW of choice). So, the bypassed parameters will still change. But if you are switching between the 2 mapping sets for different songs in your live set, then it'll work out. For example, first track in your performance has 5 specific mappings and then you switch to the other 5 specific mappings for the next track and so on. Another approach is getting Arduino Mega. I should actually make a quick video on it for next week since 6 analog pins may not be enough for other people! Hope this helps!
You can use digital components like buttons and switches and connect them to an analog pin instead of the digital pin. My finger drum machine tutorial will be a good reference (use the A0 pin instead of whatever digital pin I used).
Firstly, I love the tutorial, very clear and concise. I keep running into an error when trying to load the .zip folder: Error: 13 INTERNAL: Library install failed: archive is not valid: multiple files found in zip file top level I've tried it with both 2.2.1 and 1.8.19. Google hasn't been all too helpful, unfortunately. Any suggestions on. what it could be? Thanks!
Hi Takumi ! I tried it like 10x today and my arduino is not showing in my MIDI ports. I'm using an arduino uno (Elegoo) and I did connect the two AREF ports together. The program did upload onto my arduino. What am i missing here ? Awesome tutorials as usual, thanks for sharing you knowledge !
Hi Marianne!! Did you go through this tutorial? czcams.com/video/-bCz2I9SMAA/video.html If so, I'm not 100% sure what could be the issue. The off-brand Arduino is known to cause issue especially when being used for Max/MSP or Pure Data (I totally understand that it's more affordable tho!). What DAW are you using btw? I hope we can solve the issue!!
@@SoundSimulator I updated my computer yesterday and tried again your method today and it did not work again. I'll try the Homebrew way right now. I also have an Arduino Mega, so I'll try with this one if the second method doesn't work. I'm using Ableton, but it's a cracked version (this could also be the problem). I'll try to find a friend who has the licensed version to try as well. It's good to know that the off-brand has issues with PD, so I won't get mad if it doesn't work in future works ! Thank you so much for your fast answer !!!
@@mariannedesalvan1803 I followed that tutorial with Arduino Mega and it worked fine. I hope everything works!! Please feel free to further ask questions! Best of luck!
Have you ever use a digital sensor or have a way to make one work with Ableton. I was planning on using several ultrasonic sensors to modulate sound. Could I use a DAC, would that work ?
NOTE: The example code in this tutorial will not work with sensors that either use digital pins (for example ultrasonic sensors. Some distance sensors use analog pins though!) or SCL+SDA pins (for example some accelerometers). There should be workarounds, but I have to look into it for a possible future video. Please make sure the sensors that you're going to buy use analog pins!! Google Imaging the sensor will give you a diagram.
As soon as my finals week is over I’m building this system. Thank you so much, this is so exciting
This channel is unbelievably obscure! Really good content man, found you through the Pure Data tutorials which I will work through in a bit :D
Thank you so much for checking out this channel! I hope you'll enjoy learning Pure Data!!
I second that: this channel has excellent content!
Thank you so much for your support!
Hey I brought an arduino clone ch340, ultrasonic sensor and photo resistor from my local market and made it work with pure data by watching all of your tutorials! Had lots of fun! Thank you for this gold mine of a channel! Now hunting for a softpot membrane around here, desperately want to make that ribbon controller.
That's awesome! I'm very happy to hear that you're having fun making sounds with sensors!! Thank you for letting me know!
please come back and make more videos! love your tutorials!
I just recorded a voice-over yesterday!! Will be back soon
Yes! More of these types of videos.
I think many more people are into this kind of thing now. Great stuff.
I throw away an Uno and got a Leonardo because of you, nice video. Subscribed !!
I hope you didn't actually throw away your Uno, haha! Thank you for watching! I'm glad to hear that the tutorial was helpful!
When knowledge meets creativity and the will to share. Excellent tutorial again, thanks a lot!
Thank you so much for your continued support!! I'm glad you liked this tutorial too!
man you're hero, thx for the turorial, you explain it well, i can understand fast
Glad to hear that! Have fun!!
I am without time to work in these, but is very inpiring every video u do!!!!
These tutorials will still be around when you find the time!! Thank you so much for your continued support, Federico!!
That's lit!
Literally!
Sounds awesome mate great video!
Thank you so much, Adam!!
Great video
Thank you very much!
Really nice video! I Would Like To Know what kind smaller Arduino can use for this project?
Thank you for watching! Good question!
According to my friend Gustavo, Arduino Micro or Pro Micro are what you may be looking for!
czcams.com/video/C-BNKf8v7Ys/video.html I wish I saw this before I made the video so I could've included the info!
(I also highly recommend checking out the channel!)
I want to make a laser harp, I use arduino leonardo, the idea behind it is that I have a laser diode and a photoresistor and the moment the laser wave no longer reaches the photoresistor I want it to make a sound and I would like to use some speakers to make the sound
That sounds like a fun idea!
If you want to add speakers to the project, I recommend using something like the Daisy Seed (I have to put a disclaimer that I work at Electrosmith!) since it'll allow you to make the synth a standalone instrument (so need for a laptop in order to play the synth like in this video).
Good luck and have fun!!
Awesome video! Thanks for the inspiration! Do you know if the code with work with an Arduino UNO R4? Thanks!!!
Only one way to find out :)
hi, what is the name of the strip sensor that appears in the introduction?
Nice vid! Im curious, even though the arduino only has 5 analog inputs, would it be possible to map those 5 sensors to more than 5 controls via a digital input that acts like a shift key on a traditional MIDI controller? Does that make sense?
Thank you for watching, Adam! Could you give me an example of what you're trying to do?
@@SoundSimulator For example, if I were in pd and had 10 variable parameters i wanted to control during a live performance as I would with a knob/slider, but i only have 5 analog inputs for potentiometers, could i use a button connected via a digital input to choose a different preset mapping for the knobs live. I dont want to remap the controls manually while live, but quickly choose another preset for the potentiometers.
@@Azec6Official First approach that popped into my head is to use 1 of the 6 analog inputs for a switch. The DAW will see that switch data as either 0 or 127 and I think you can use that to turn on/off a bypass or switch between 2 sets.
The other 5 analog pins can be used for knobs.
The issue with this approach is that each knob is mapped to 2 parameters simultaneously (unless there is a work-around in your DAW of choice). So, the bypassed parameters will still change. But if you are switching between the 2 mapping sets for different songs in your live set, then it'll work out. For example, first track in your performance has 5 specific mappings and then you switch to the other 5 specific mappings for the next track and so on.
Another approach is getting Arduino Mega. I should actually make a quick video on it for next week since 6 analog pins may not be enough for other people!
Hope this helps!
You can use digital components like buttons and switches and connect them to an analog pin instead of the digital pin. My finger drum machine tutorial will be a good reference (use the A0 pin instead of whatever digital pin I used).
Firstly, I love the tutorial, very clear and concise. I keep running into an error when trying to load the .zip folder:
Error: 13 INTERNAL: Library install failed: archive is not valid: multiple files found in zip file top level
I've tried it with both 2.2.1 and 1.8.19. Google hasn't been all too helpful, unfortunately. Any suggestions on. what it could be? Thanks!
I'm sorry to hear that you're running into an issue. I unfortunately haven't encountered an issue like that, so I can't be of help.
Hi Takumi ! I tried it like 10x today and my arduino is not showing in my MIDI ports. I'm using an arduino uno (Elegoo) and I did connect the two AREF ports together. The program did upload onto my arduino. What am i missing here ?
Awesome tutorials as usual, thanks for sharing you knowledge !
Hi Marianne!!
Did you go through this tutorial? czcams.com/video/-bCz2I9SMAA/video.html
If so, I'm not 100% sure what could be the issue. The off-brand Arduino is known to cause issue especially when being used for Max/MSP or Pure Data (I totally understand that it's more affordable tho!).
What DAW are you using btw?
I hope we can solve the issue!!
@@SoundSimulator I updated my computer yesterday and tried again your method today and it did not work again. I'll try the Homebrew way right now.
I also have an Arduino Mega, so I'll try with this one if the second method doesn't work.
I'm using Ableton, but it's a cracked version (this could also be the problem). I'll try to find a friend who has the licensed version to try as well. It's good to know that the off-brand has issues with PD, so I won't get mad if it doesn't work in future works !
Thank you so much for your fast answer !!!
@@mariannedesalvan1803 I followed that tutorial with Arduino Mega and it worked fine. I hope everything works!! Please feel free to further ask questions! Best of luck!
I finally got it to work with my Arduino Mega ! Thanks a lot !
Have you ever use a digital sensor or have a way to make one work with Ableton. I was planning on using several ultrasonic sensors to modulate sound. Could I use a DAC, would that work ?