I deleted the copies added to the sketch and downloaded them afresh.
Compiles fine now! Must have accidentally edited something on the sketch.
False alarm. Apologies! Cheers for the reply (again!)
Hi folks
I recently added Jonathan Oakley's effect_expenvelope .cpp and .h files to the Audio Library.
https://github.com/h4yn0nnym0u5e/Audio/tree/features/expEnvelope
I'm trying to compile using Arduini 1.8.19 and Teensyduino 1.56 and the...
Managed to resolve this after all!
Instead of using tft.fillScreen, I saved every data point to a huge array and then redraw it all in the background colour.
Wish I'd tried this weeks ago. No loss of timing or envelope oddities.
Anyway - thanks...
I've had a play, added some instrumentation pins and fixed a few bugs:
the incremental screen clearing was wrong - you had increasing sizes of sub-area (N*LY/10), as well as changing positions. That resulted in longer clearing times than...
Thank you again for spending time looking into this for me. I would never have thought of some of the ideas you've suggested for checking the code, and I've learned a lot just from seeing the changes you made.
I compiled your code tonight, and...
Hi h4yn0nnym0u5e
I've made further investigations and made the following changes to the code:-
- Replaced the piezo trigger with a simple trigpushbutton.risingEdge() check on an input pin, triggered with a 3.3V input ('trig_pin') to eliminate...
So ... I don't have a piezo sensor, so I can't usefully compile and try your sketch. If you can simulate the piezo in a way that reproduces the issue, that would be helpful. I also don't happen to have the ILI9341_t3n library installed -...
Thank you for your suggestions - much appreciated. You've given me a lot of ideas to investigate. I'll do as you suggest and scope a spare pin to monitor the key points in the code.
Thank you for your reply and advice. I found a workaround for the original issue, but I want to try and understand what might have caused it since I am still learning about the Audio Library (and C/C++ in general).
The project uses a...
Hallo everybody :)
The new DIY synthesizer "Jeannie 2" is in development. Its bigger, it will feature a 3.5-inch touchscreen display and a variety of waldorf encoders, knobs, and buttons for operation. Jeannie 2 will be eight-voice polyphonic...