Hi,
I just bought a Daisy Patch and I’m trying to write some code.
Where can I find some documentation about the details of how the hardware is “exposed” (in the DaisyPatch object).
For example:
what is the range of values returned by GetKnobValue() ?
how the Control inputs affect the knob values ? (are they independent?)
what is the effect of calling ProcessDigital/AnalogControls ?
what is the difference between the main thread and the AudioCallback process ?
what is the best way to handle audio / control voltages / display / midi ? (e.g. is it ok to handle the display in the audio callback, or is it better to handle it in the main?)
what are the range of values that can be assigend to CV / audio outputs and gates ?
I gave a look at the examples, but it’s not so easy to “reverse egineer” the information, and the library documentation doesn’t provide enough details.
As the ACB returns numbers for the CODEC/audio output, it must finish in time for the next block. The main thread is interrupted if the MCU needs to process audio data.
Usually -1 to 1 (float), but I am not sure about the Patch, sorry.
You are right. The examples are sweet but short. Check out some other projects in the Projects and examples category, and browse around in the forum. And keep asking!
Thank you very much!!! … it seems that I should write a test program (with some output to the display) to see what is going on. If I have enough time I’ll write a quick “cheat-sheet”