Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: silveiraGo

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    486

    Neopixels and encoders

    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...
  2. Replies
    19
    Views
    15,843

    Sorry if this was already said, I just want to...

    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...
  3. I tried doing if(readPointer > length-1) {...

    I tried doing
    if(readPointer > length-1) { readPointer -= length; }
    if(writePointer > length-1) { writePointer -= length; } But, I still just get silence. :/
  4. Hi Paul, thanks for answering. Read pointer is...

    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...
  5. Thank you so much for your answers! This is...

    Thank you so much for your answers! This is really helpful, Iíll try to implement this filter using these calculations. :)
  6. Help for implementing bandlimited waveforms

    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...
  7. Gotcha... biquads are good, but too expensive....

    Gotcha... biquads are good, but too expensive. But I'm still wondering if I can modulate the state variable filter downwards, instead of upwards
  8. Thanks guys. So, it seems that filter control in...

    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...
  9. How to avoid clipping with the filter "AudioFilterStateVariable"

    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...
  10. Thanks Frank! Makes sense now.

    Thanks Frank! Makes sense now.
  11. Problem with encoder library and the audio shield

    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...
  12. Replies
    2
    Views
    1,001

    I know now that the problem is with Audio shield,...

    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...
  13. Replies
    2
    Views
    1,001

    Problem with the Encoder library

    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...
  14. Here are the repository of the files:...

    Here are the repository of the files: https://github.com/silveirago/Band-limited-Sawtooth-wave-form-C-generator
  15. Now we need to find a way to use it with Teensy....

    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...
  16. Band limited Sawtooth wavetable C++ generator for "Arbitrary Waveform" (and its use)

    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...
  17. Replies
    2
    Views
    1,082

    Do you know how can I do that?

    Do you know how can I do that?
  18. Replies
    2
    Views
    1,027

    Thank you for your reply! I will test with...

    Thank you for your reply! I will test with another power supply and the cap and see what happens.
  19. Replies
    2
    Views
    1,082

    Avoiding aliasing

    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...
  20. Replies
    7
    Views
    1,987

    Trying to figure out the same...

    Trying to figure out the same...
  21. Replies
    2
    Views
    1,027

    DAC freaking out with IR distance sensor

    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...
  22. Replies
    0
    Views
    767

    USB stereo output issue

    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...
Results 1 to 22 of 23