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

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 33

  • @AntonSoederberg
    @AntonSoederberg Год назад +5

    I'm teaching at a sound art seminar in Sweden using what I'm learning from your RUclips 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 Год назад +1

      @@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!

  • @Visualatrix
    @Visualatrix 10 месяцев назад +1

    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  10 месяцев назад

      I'm happy to hear that! Thank you for the encouraging words!

  • @Soarin_Altiss
    @Soarin_Altiss 2 года назад +2

    I was literally searching for something like this yesterday for a project, so thank you! 🙏🏽

  • @Daruma_Studio
    @Daruma_Studio Год назад +1

    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 2 года назад +1

    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_ 2 года назад +1

      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  2 года назад +1

      I definitely need to look into this. I always wanted to try out OSC communication for something like this.
      Thanks!!

  • @hannesbrugger3765
    @hannesbrugger3765 Год назад +1

    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!!

  • @igon388
    @igon388 2 года назад +1

    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  2 года назад +1

      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!

  • @TheOleHermit
    @TheOleHermit 2 года назад +1

    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  2 года назад +1

      It sounds like you're getting more powerful with every new update! Looking forward to it as always.

  • @TcheezSandtwich
    @TcheezSandtwich Год назад +1

    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: ruclips.net/video/AbvaTdAyJWk/видео.html
      I'm active on the forum, so I'll get to your question as soon as possible!!

  • @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?

  • @eliyahumedia
    @eliyahumedia 3 месяца назад +1

    what is cyclone? is it a library? how do you use it in Pure Data?

    • @SoundSimulator
      @SoundSimulator  3 месяца назад

      [cyclone] is an external library. I explain more about it in this video ruclips.net/video/VYWQaqf6yL0/видео.html

  • @tannsanndforever7444
    @tannsanndforever7444 Год назад +1

    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 8 месяцев назад

      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 8 месяцев назад

      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

  • @joshuaa.c.newman7430
    @joshuaa.c.newman7430 8 месяцев назад

    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 Год назад

    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  Год назад

      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.

  • @anacarolina6643
    @anacarolina6643 4 месяца назад

    this works with the image? if I want to put a image move?

  • @takayoshinakano122
    @takayoshinakano122 Год назад

    I see "bsd_path", what should I do?

  • @bariscanbilgin
    @bariscanbilgin 2 года назад +1

    🍀♥️