Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Flange Example Sketch extremely noisy(static)?

  1. #1
    Junior Member
    Join Date
    Oct 2017

    Flange Example Sketch extremely noisy(static)?

    I'm playing around with the "Flange" example sketch included in the Audio Library. I'm using a Teensy 3.2, and the audio board, both connected via headers. I've discerned that my hardware should not be the issue, as I get almost completely noise-free line-in streaming when I flash the "Mono pass-through" example sketch (modifying analog to I2S).

    In my trouble-shooting, I also removed all jumper wires, buttons, and pots, to no avail. Yet, when I flash the Flange example sketch I can barely hear the streaming audio over the level of noise present. After scanning the example-sketch code multiple times, (only bypassing the button and volume pot to remove variables) I am still scratching my head what is creating this dreadful static. I know a flanger introduces some static, but I thought the filter would be usable, but I assume I'm doing something wrong.
    Last edited by mcooi77; 11-05-2017 at 12:33 AM.

  2. #2
    Junior Member
    Join Date
    Dec 2019
    I have the same problem as well. I commented out all the Serial.print and processor statistics. When it's in FLANGE_DELAY_PASSTHRU mode (logic 1 on pin 1), the audio is clean. When the flanger is running (logic 0 on pin 1), I hear artifacts. I'm guessing it's discontinuities from missing samples (circular buffer problem?) OR some problem in the math OR something having to do with how the modulation picks samples from the buffers.

    I also get a clean bill of health when running the PassThruStereo hardware test.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts