I have a circuit that uses 4 encoders, on pins
Encoder encoder[encoderN] = {{3, 2}, {5, 4}, {7, 6}, {10, 9}};
It uses the "Encoder.h" library. I'm trying to use some neopixels in the code, but...
Type: Posts; User: silveiraGo
I have a circuit that uses 4 encoders, on pins
Encoder encoder[encoderN] = {{3, 2}, {5, 4}, {7, 6}, {10, 9}};
It uses the "Encoder.h" library. I'm trying to use some neopixels in the code, but...
Sorry if this was already said, I just want to share the way I do it. I don't smooth values, so there's no lag. What I do is set a timer that every time you move the pot the timer starts and you read...
I tried doing
if(readPointer > length-1) { readPointer -= length; }
if(writePointer > length-1) { writePointer -= length; } But, I still just get silence. :/
Hi Paul, thanks for answering.
Read pointer is a float because you interpolate between sample values.
The length of the array is always > 1. So, if the array contains 512 elements, indexing...
Thank you so much for your answers! This is really helpful, I’ll try to implement this filter using these calculations. :)
I came across with a problem that I can't solve and doesn't make much sense to me why it's not working. I implemented a bandlimited sawtooth, using polynomial transition, and it works fine, no...
Gotcha... biquads are good, but too expensive. But I'm still wondering if I can modulate the state variable filter downwards, instead of upwards
Thanks guys.
So, it seems that filter control in the AudioFilterStateVariable goes from the center frequency and above how many octaves it is set in the octave control. Is there a way to tweak the...
Always when the filter frequency goes above a certain value I get a really loud noise, like white noise. When using a waveform to control the frequency I also need to be super careful with the corner...
Thanks Frank! Makes sense now.
I was using the encoder library with no problems, now, every time that I enable the sgtl5000 my encoder start to have erratic behavior, like going backwards or skipping numbers. I believe that the...
I know now that the problem is with Audio shield, with the sgtl5000. If don't enable the sgtl5000 some of my encoder start to have an erratic behavior, like going backwards and jumping to one number...
On Teensy 3.2
I was using the encoder library with no problems, but suddenly they are not working properly anymore. It compiles but I get this big message
In file included from...
Here are the repository of the files: https://github.com/silveirago/Band-limited-Sawtooth-wave-form-C-generator
Now we need to find a way to use it with Teensy. The way you use the Arbitrary Waveform is calling the right array. To do that I created a function that would convert frequency into an index, then...
Hi, Teensy has this amazing audio lib, which we all love, but the fact of not having band limited waveforms was not allowing me to put the board in a real project. So, I've been trying to get around...
Do you know how can I do that?
Thank you for your reply! I will test with another power supply and the cap and see what happens.
So, what are, or is there a way to avoid or decrease aliasing or Teensy 3.2? Please let me know if any of them would work.
- Putting a lowpass after after the wave form. (I already tried with...
Trying to figure out the same...
Hi, something really weird is happening. I have a circuit that works perfectly with audio over usb, with a soft pot and a sharp IR distance sensor, but when I use the DAC (A14) it freaks out. It...
Hi, I can't get a stereo output from my usb port. I don't have an audio shield, so I just tried the DAC, and was trying to get some stereo sounds from the USB. I get all the sounds but mono (USB). I...