• biocrust

    Hello! I am pretty new to Pd and have some background in modular synthesis, less so in programming, so I apologize if this specific question has a simple answer, but I have really been banging my head against a wall with this.

    Essentially I have an external device, connected to my computer via USB, that is sending voltage input data about 10 times per second. I've confirmed that it works as intended, and I can even get Pd to print these values, but I'm having a lot of trouble using these values. I think I have a blind spot somewhere around the scale or something...

    The full setup:

    • External device: an Adafruit Feather M4 Express, running CircuitPython code. This device sends a signal that varies between 0-3.3V.

    • In Pd: [comport /dev/ttyACM0 115200] is bringing in the data from that device.'

    • If I print directly from the [comport], it's printing numbers ranging from 10-60. Still not sure why that's different from the 0-3.3V I see when I print in the python code editor.

    • I am using the Automatonism library of modules. I have a simple patch of a BASIC-OSC, connected to a LP Filter, connected to VCA, connected to Maestro4 (Mixer) connected to [dac~].

    • The goal is for the output from this external device to control the Frequency Modulation on the BASIC-OSC. So far it has no effect.

    • I've tried: connecting the [comport] output directly to FM, routing it through S&H first, using the simple math objects to divide the output from [comport] by 6 and subtract 5 (in an effort to get the numbers to a range of -10 to 10), and a longer sequence of objects suggested by GitHub Copilot involving [route], [scale], [pack], [line], and some more math. None of these produce a discernible effect.

    • Along each of these troubleshooting attempts, I connect the output to OSCILLOSCOPE (or [print] if it's a data output) to check what's going on. The oscilloscope consistently does not show any fluctuation, but [print] continues to print a series of variable values.

    I really appreciate any suggestions! Like I said I've been struggling to get this working for a while and I am not sure what I'm missing.

    If it helps to upload screenshots or the patch, I can do that too.

    Thanks!!!

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!