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

Thread: Tempo LED and AudioSynthWaveform

  1. #1

    Tempo LED and AudioSynthWaveform

    I want to have a LED indicate tempo generated by a LFO.

    The AudioEffectEnvelope object has isSustain() so something similar like:
    if(AudioSynthWaveform.isPositive){
    digitalWrite(LED, HIGH);
    }else{
    digitalWrite(LED, LOW);
    }

    Is it possible to read the value of the AudioSynthWaveform object?

  2. #2
    I was just trying to figure this out in another thread.

    I don't have any leads based on poking around in the waveform object, just wanted to say it's something I'm interested in as well.

    Anyone have any ideas?

  3. #3
    I just attach an AudioAnalyzePeak object and toggle the LED based on a threshold.

  4. #4
    Thanks kallikak, I'll try that.

Posting Permissions

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