PD to C - Electro-Smith Daisy

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 39

  • @liamorourke9685
    @liamorourke9685 Місяць тому +1

    This looks really good. Can I ask... how would this work with regards to software licensing and possible redistribution? Obviously PD itself is on BSD license but once you have compiled for daisy (I am guessing this would be a .HEX file or similar) there is no longer access to the source/ patch.
    Thanks for the tutorial 🙂

    • @Wasted-Audio
      @Wasted-Audio  Місяць тому

      We don't use any PD source code. The internal Heavy static C library is likewise BSD licensed. Any user generated code is licensed as the user wants using the "copyright" argument.
      Of course if you base your patch on patches and abstractions that are not freely distributable that makes you liable. The conversion of source patch-code and it's associated legality is quite a grey area. Personally we only include such patches if they are liberally licensed (MIT/BSD/ISC/CC0 etc.)

  • @alexandersousa6728
    @alexandersousa6728 6 днів тому +1

    thanks a bunch this was super helpful!

  • @PlanetBayto
    @PlanetBayto 2 місяці тому

    I'm trying to compile a very simple delay effect using plugdata 9.0 flashed to daisy patch. I do not hear any delay effect. my patch uses adc~ & dac~ objects as start & end points in the patch. All objects are "compile mode safe". but i cannot get sound out of my daisy patch. Also its seems when I compile I am only able to generate a bin file followed by using the online daisy programmer since it seems flashing doesn't work. I definitly have my daisy in DFU mode prior to flash attempts.

    • @Wasted-Audio
      @Wasted-Audio  2 місяці тому

      Which compile mode are you using? With delays you will likely at least need big or huge modes and even more likely use an extended linker. Right now this means using the custom linker option and then use the SDRAM for the dynamic table. You can get the SDRAM linkers from `Documents/plugdata/Toolchain/etc/linkers/` directory (we will include them as a compile option again in the future).

  • @danielllermaly8782
    @danielllermaly8782 3 місяці тому

    Thank you very much for the video!
    I am trying to load an example, but in the PlugData board selection menu the Seed option does not appear, only pod, init, simple, etc.
    It will be an error in the installation

    • @Wasted-Audio
      @Wasted-Audio  3 місяці тому

      The Seed is not a valid device yet. You will need to create a custom board.json that defines a hardware setup built around the Seed.
      Check out this Wiki page (and link to examples at the bottom) for more info: github.com/electro-smith/DaisyWiki/wiki/Pd2dsy-JSON

  • @235_10
    @235_10 12 днів тому +1

    This is great! Looking forward to a custom json video!

    • @Wasted-Audio
      @Wasted-Audio  12 днів тому

      Something is brewing, but it shouldn't be too simple nor too complex.
      Any suggestions other than some knobs/switches? :)

    • @alexandersousa6728
      @alexandersousa6728 11 днів тому +1

      @@Wasted-Audio I am trying to get a light dependent resistor to control the pitch of an oscillator using the daisy seed. Anything similar to that would be awesome!

    • @Wasted-Audio
      @Wasted-Audio  10 днів тому

      @@alexandersousa6728 That should be relatively easy, considering it's just a resistor.
      Any example that uses a potentiometer should be able to be replaced with an LDR.

    • @235_10
      @235_10 6 днів тому

      ​@@Wasted-Audio funnily enough, I was digging through some of the documentation trying to figure out how to write custom json for my simple fix board, and then I saw the "simple" option in the dropdown, only to realize all the work had already been done... Is everything in the pd2dsy library supported, like encoders, LEDs, etc?
      It would also be cool to see a video on how to interface with other things, like SPI bus or I2C. I'm eying some projects that use an MPR121 capacitive touch sensor, and I'm curious if it's possible to interface with that (especially if there's a way to use existing C / C++ libraries like the one from adafruit)
      I'm also finding a lot of cool things with the plugdata UI (which is amazing, btw) and I'm starting to wonder what other keyboard shortcuts and workflow tricks I'm missing (eg dropping a command block onto an existing patch to "splice" it into the patch is a huge time saver). It would be cool to see a video overview of all the great features.
      Thank you!!

    • @Wasted-Audio
      @Wasted-Audio  6 днів тому

      @@235_10 This is a lot of questions at once!
      The "Simple" is a basic board aimed at the Synthux Academy projects, it is still missing a lot of components and we want to expand it to cover a very basic/simple project. Any feedback is appreciated.
      pd2dsy is not a library and it is not supported. Do you mean json2daisy? (which is being used under the hood)
      Mpr121 sensors are supported and work reasonably well.
      It is not possible to use other c/c++ libraries.

  • @jonwtr
    @jonwtr 7 місяців тому +2

    Excellent info for anyone interested in this workflow.

  • @MarvinLloyd
    @MarvinLloyd 5 місяців тому +1

    Thank you for the great tutorial! I have a question: Would this approach also work with other devices/platforms like the Befaco Lich/OWL?

    • @Wasted-Audio
      @Wasted-Audio  5 місяців тому +1

      Getting the OWL toolchain integrated with plugdata is being planned.
      Unfortunately when I was working on it last year my OWLv2 board got fried and this work got stuck.
      Since then I got a v3 board and we hope to continue with it this year :)

  • @FotisandStuff
    @FotisandStuff 7 місяців тому +2

    Well done, bro!!!

  • @AndyNicholson
    @AndyNicholson 7 місяців тому +2

    excellent vid bud, keep them coming :)

    • @Wasted-Audio
      @Wasted-Audio  7 місяців тому

      Yes yes, thinking about the next one! :)

  • @returnofthemilk
    @returnofthemilk 2 місяці тому +1

    Marvellous.

  • @HeeBeeGeeBee392
    @HeeBeeGeeBee392 12 днів тому

    If the background blooping was meant to be distracting and annoying, it succeeded.

    • @Wasted-Audio
      @Wasted-Audio  12 днів тому

      I'm sorry, should we do our videos without any music?
      Still trying to figure this out.

    • @HeeBeeGeeBee392
      @HeeBeeGeeBee392 12 днів тому +1

      @@Wasted-Audio Personally, I find background music to informational content very annoying. It gives me a headache after a while, which I assume is a neurological effect of having to filter out the "noise". Perhaps some people need distraction to avoid becoming bored, which might be an ADHD issue? I never listened to music while studying as I found that unhelpful. Maybe I'm just bad at multitasking.

    • @Wasted-Audio
      @Wasted-Audio  12 днів тому

      @@HeeBeeGeeBee392 We'll try to find a better balance in future videos. Thanks for the feedback.

    • @HeeBeeGeeBee392
      @HeeBeeGeeBee392 12 днів тому

      @@Wasted-Audio Music that is related to the content is fine, of course. It might just be me that finds this particular background very distracting. Thanks.

  • @JaredOrlicki
    @JaredOrlicki 6 місяців тому +1

    Great tutorial! Answered all of my questions. Time to dig in to the patch init + plugdata! :)

    • @Wasted-Audio
      @Wasted-Audio  6 місяців тому +1

      We finished building two Patch.Init()s the other month. Hope to showcase some nice patches in a future video! :)

  • @_DRMR_
    @_DRMR_ 7 місяців тому +1

    Actually ☝

  • @marekdyjor
    @marekdyjor 25 днів тому

    it's great thing but at last adding shipping cost it cost lots of money :(

    • @Wasted-Audio
      @Wasted-Audio  25 днів тому

      There are some resellers where you can get the Daisy in your area maybe.

  • @rp3058
    @rp3058 6 місяців тому +1

    Thank you!

  • @chillywilson
    @chillywilson 7 місяців тому +2

    Nom nom nom, eating this up.
    Can you do some custom hardware next, like buttons, pots and 9 axis accelerometers?

    • @Wasted-Audio
      @Wasted-Audio  7 місяців тому

      Custom hardware is on the planning! certainly buttons and pots, although for that last one we need to source a `Bno055` first (only 9 axis component currently supported in json2daisy). Which is a tad expensive, or maybe the ICM20948 which is cheaper, but still a bit much.
      We'll probably stick to a bit more basic stuff for the next one :)

    • @chillywilson
      @chillywilson 7 місяців тому

      @@Wasted-Audio ​ I have a couple of the Bno055's, although would it be easier to run the stuff through an atmega and just program the digial ins to the seed with PlugD?

    • @Wasted-Audio
      @Wasted-Audio  7 місяців тому

      @@chillywilsonThe Bno055 is supported in libDaisy and json2daisy (which is used to create the interface with Heavy): github.com/electro-smith/json2daisy/blob/main/src/json2daisy/resources/component_defs.json#L1207-L1310
      How would you want to receive data from the Arduino then?

    • @chillywilson
      @chillywilson 7 місяців тому

      @@Wasted-Audio I was thinking digital in to daisy

    • @WackoPaco
      @WackoPaco 28 днів тому

      @@Wasted-Audio Why isn't a 6 DOF device sufficient? Is it really that important to have magnetic North in the input stream?