Search results

  1. W

    Question about AudioAnalyzeRMS code

    Makes sense. Thanks for the clarification.
  2. W

    Question about AudioAnalyzeRMS code

    Can some one explain this part of code found in the update() function of analyze_rms.cpp: audio_block_t *block = receiveReadOnly(); if (!block) { count++; return; } If I have understood correctly, count is incremented once every time if an audio block is analyzed. It therefore...
  3. W

    Externaly trigger the audio block data aqusition

    Hi, in my project I'm measuring AC voltage among other things using a CS4272 codec. The CS4272 has a crystal attached, so I'm using AudioInputI2Sslave. Everything is working fine and AudioAnalyzeRMS gives me the AC voltage measured at the inputs. I can average the measured voltage. Source of the...
  4. W

    Teensyduino version number available in code?

    Thanks. That's what I was looking for.
  5. W

    Teensyduino 1.59 Beta #6

    This is also my experience. I havn't tried the 2.2.2 Build yet. Coding with the Arduino IDE compared to VSCode is just horrible. So I will try the PlatformIO stuff soon.
  6. W

    Teensyduino version number available in code?

    Is the version number of Teensyduino available somewhere in the code? Something like this: #define TEENSYDUINO_VERSION "1.59.4" Could be useful for debug prints.
  7. W

    Teensyduino 1.59 Beta #5

    It would be nice if you can implement the fix for the CS4272 codec (incompatible-codec-register-settings-in-control_cs4272-cpp). Users of the SuperAudioBoard benefit from this fix as well.
  8. W

    Audio library with CS4272

    The ADC format is also not correct. See here for fixing the register values. Even if the codec works with 24 bits, the 8 LSB will just be truncated be the Audio Library.
  9. W

    Measuring the phase between two sinusoid inputs with AudioAnalyzePhase_F32

    In the example code linked above there are three further examples to configure the AudioAnalyzePhase_F32 object with different filter settings. I've tested these and the results are also strange and unexpected. Changing the frequency of the signals to 1234 Hz has no effect. Does anyone know...
  10. W

    Measuring the phase between two sinusoid inputs with AudioAnalyzePhase_F32

    For my project I want to measure the phase between two input signals. The input signals have a sinusoidal shape and the exact same frequency. The frequency can be in the range from 100 Hz to 10 kHz. The AudioAnalyzePhase_F32 object from the OpenAudio library seems to be perfect for this task but...
  11. W

    [Solved] Incompatible codec register settings in control_cs4272.cpp

    I have a custom board with a CS4272 codec which is configured as clock master. A 24.576 MHz crystal is connected to generate the master clock signal. No problem for now because the Teensy Audio Library provides AudioOutputI2Sslave and AudioInputI2Sslave objects to work as I2S slave. The...
Back
Top