Sending Data Back & Forth Between Arduino And Pure Data (also works with MaxMSP!)

  Рет қаралды 7,111

Sound Simulator

Sound Simulator

Жыл бұрын

Let’s send a sensor data to Pure Data from Arduino. And at the same time, let’s send a brightness data to an LED from Pure Data.
---
Download here:
drive.google.com/file/d/1RJkz...

Пікірлер: 33
@Soarin_Altiss
@Soarin_Altiss Жыл бұрын
I was literally searching for something like this yesterday for a project, so thank you! 🙏🏽
@SoundSimulator
@SoundSimulator Жыл бұрын
Awesome!! I hope it helps!!
@Visualatrix
@Visualatrix 7 ай бұрын
Hey, huge thank you for your tutorials. This is going to be the second I follow. Your steps are flawless and pleasant to follow.
@SoundSimulator
@SoundSimulator 7 ай бұрын
I'm happy to hear that! Thank you for the encouraging words!
@AntonSoederberg
@AntonSoederberg Жыл бұрын
I'm teaching at a sound art seminar in Sweden using what I'm learning from your KZbin channel. Amazing work! You make the Internet an amazing place
@SoundSimulator
@SoundSimulator Жыл бұрын
That is amazing!!! Thank you for letting me know, Anton! I hope it's going well!!
@Anton-wc7lb
@Anton-wc7lb Жыл бұрын
@@SoundSimulator Thanks! :))) Of course I'm adding your youtube channel to the code I'm sharing, which will also be made open source. All the best!
@Daruma_Studio
@Daruma_Studio Жыл бұрын
Keep making videos of this quality and you will get a very large following. You are helping a lot of people around the world, brother.
@SoundSimulator
@SoundSimulator Жыл бұрын
I'm glad these tutorials have been helpful to people!!!
@zealco
@zealco Жыл бұрын
I usually go for the OSC library provided by CNMAT (on github). It allows sending OSC as SLIP encoded messages over USB. That allows as many ins and outs as you might want, with human readable addresses. It's also simple to port over to boards with wifi should you ever want to do that. Thanks for creating such a friendly resource for new patchers 👍🌈
@_DRMR_
@_DRMR_ Жыл бұрын
nice, I just got an esplora that has usb client capabilities, so went straight for usb midi. but this osc over slipserial sounds interesting, much more so than ttyMIDI for instance.
@SoundSimulator
@SoundSimulator Жыл бұрын
I definitely need to look into this. I always wanted to try out OSC communication for something like this. Thanks!!
@igon388
@igon388 Жыл бұрын
That seems like an easy workaround, I think the more proper way to do it would be to use something like the Task Scheduler library on Arduino for asynchronous execution of the sending and receiving. I don't have much experience with this though and it is a pretty big step up in coding concepts.
@SoundSimulator
@SoundSimulator Жыл бұрын
I wanted to do it in the simplest way as possible haha But yeah for sure, there are going to be methods that are more suited/optimal depending on the project. I'll have to look into this, thanks!
@hannesbrugger3765
@hannesbrugger3765 Жыл бұрын
Beautiful. I usually transfer data between arduino and PD by using Serial.write instead of Serial.println.. It has its own problems, but at least I dont need all the libraries and complicated asci decoding stuff :) but nice to see multiple methods of doing things!
@SoundSimulator
@SoundSimulator Жыл бұрын
I should try out Serial.write!! But yeah, if it works, it works!!
@deltasoundlabs8445
@deltasoundlabs8445 Жыл бұрын
Are the values 13 and 10 specific to [comport] in Pd? Why are they specified in the [sel] object in your Pd patcher?
@TcheezSandtwich
@TcheezSandtwich Жыл бұрын
Hello, I've been watching and learning from your videos, they have been very useful in helping me learn the basics of PureData and Arduino, thank you so much for your tutorials ! Recently I have purchased a Daisy Seed, I've figured out how to upload code using Daisyduino for Arduino IDE, and using Visual Studio Code, but I can't for the life of me figure out how to use Daisy to control sounds in PureData. I have followed your videos demonstrating how to achieve this using Arduino UNO with success, but the same methods don't seem to work for the daisy seed. Could you possibly give me a few tips ?
@SoundSimulator
@SoundSimulator Жыл бұрын
Glad you found my tutorials helpful! And I'm happy to hear that you're starting on the Daisy journey!! I recommend asking about the issue over on the forum or electrosmith's discord. Links to both are in the description of this video right here: kzbin.info/www/bejne/d5PZkoeadt59jc0 I'm active on the forum, so I'll get to your question as soon as possible!!
@TheOleHermit
@TheOleHermit Жыл бұрын
Excellent! Been needing to retrieve frequencies from the Teensy laser synth to the controller's monitor, modify the frequency from the freq counter, then send that value back to the laser synth in real. So far, I've only been able to display the frequencies with the Arduino IDE's serial monitor. Also diving into TouchOSC and customizing Reaper's DAW for touch GUIs over Ethernet connected devices. Fun stuff. Thanks!😎
@SoundSimulator
@SoundSimulator Жыл бұрын
It sounds like you're getting more powerful with every new update! Looking forward to it as always.
@anacarolina6643
@anacarolina6643 Ай бұрын
this works with the image? if I want to put a image move?
@joshuaa.c.newman7430
@joshuaa.c.newman7430 5 ай бұрын
The moocow externals seem to have vanished from the Internet and I can't find another way to reliably convert the data to bytes. That said, sending [print 1234 1234 1234( to [comport] is supposed to handle that parsing, so you can send arbitrary lists, symbols, or strings, but it doesn't seem to be working, either. I only ever get newline (10) at the other end, not the content of the message I'd sure love to figure out how to just make [print *( work, but an external (or other technique) that converted to bytes would be second best. Edit: Turns out, in MacOS, you need to confirm each *.pd_darwin file by right clicking, clicking "Open", and then telling the warning box OK. But I still get errors when I try to send anything at all.
@eliahdude1411
@eliahdude1411 10 ай бұрын
is it possible to send max msp or puredata to a teensy and use that as a standalone synth, without ever having to connect to a computer? including knobs.
@SoundSimulator
@SoundSimulator 10 ай бұрын
You can use the Daisy to flash your Pure Data or Max gen~ patch and create a standalone synth. Building standalone synth with Teensy should be possible in general too. I think M8 is Teensy-powered.
@tannsanndforever7444
@tannsanndforever7444 Жыл бұрын
I'm not able to get the pure data code to work. Two of the objects show up red and don't work. any help would be appreciated
@joshuaa.c.newman7430
@joshuaa.c.newman7430 5 ай бұрын
Yeah, moocow's externals seem to have vanished from the Internet. I'm hitting the same problem now. [comport] claims to parse things properly with a 'print' command but it doesn't seem to work.
@tannsanndforever7444
@tannsanndforever7444 5 ай бұрын
Sorry about that, I never found the answer i was looking for and haven't looked back at pure data for a while but I absolutely loved the software and moocow's channel when i did. Hope you find what you need soon.@@joshuaa.c.newman7430
@takayoshinakano122
@takayoshinakano122 Жыл бұрын
I see "bsd_path", what should I do?
@eliyahumedia
@eliyahumedia 13 күн бұрын
what is cyclone? is it a library? how do you use it in Pure Data?
@SoundSimulator
@SoundSimulator 12 күн бұрын
[cyclone] is an external library. I explain more about it in this video kzbin.info/www/bejne/jIq6gpSnm5usgpI
@bariscanbilgin
@bariscanbilgin Жыл бұрын
🍀♥️
@SoundSimulator
@SoundSimulator Жыл бұрын
🙏
Sending CVs from Pure Data & Max/MSP (DIY Eurorack Tutorial)
6:39
Sound Simulator
Рет қаралды 6 М.
How to Make Mobile Music Apps With MobMuPlat & Pure Data!
17:54
Sound Simulator
Рет қаралды 10 М.
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 353 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 8 МЛН
Fire Sound Design in Pure Data and MaxMSP (Sound Design Series #1)
10:08
DIY Swarmatron (Pure Data & Arduino Tutorial)
5:34
Sound Simulator
Рет қаралды 9 М.
(1) Pure Data & Arduino
7:40
8v01d
Рет қаралды 1,6 М.
MAX msp 7: Sending data from arduino into Max
15:35
Programming for People
Рет қаралды 51 М.
My First DIY Instrument Was a FAILURE
6:17
Sound Simulator
Рет қаралды 2,4 М.
Getting Started with Raspberry Pi, Pure Data and AudioInjector
18:00
How to Connect a Potentiometer to the Daisy (DaisyDuino)
12:48
Electrosmith
Рет қаралды 2,7 М.
A Beginner's Guide to Microcontrollers
15:18
Electronic Wizard
Рет қаралды 33 М.
How to Create Generative Ambient Music in Pure Data!
9:33
Sound Simulator
Рет қаралды 35 М.
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 353 М.