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

Search:

Type: Posts; User: joaotragtenberg

Search: Search took 0.00 seconds.

  1. Yes Frank! Its amazing. Thank you so much for...

    Yes Frank!
    Its amazing. Thank you so much for your collective effort!
  2. This version doesn't need any scope and is almost...

    This version doesn't need any scope and is almost effortless...
  3. Nice, thank you!

    Nice, thank you!
  4. Great Paul! Thank you!

    Great Paul!
    Thank you!
  5. Duff, I made another system for measuring latency...

    Duff, I made another system for measuring latency on teensy! Now instead of having to use a logic analyser you can just use another teensy!

    Here are the codes (I'm using teensyduino 1.31 now):
    ...
  6. And just for the record, the error message on the...

    And just for the record, the error message on the analyze_fft256 class persists...



    /.../Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Audio/analyze_fft256.cpp:33:13: warning: 'void...
  7. It works with an audio block as low as 32...

    It works with an audio block as low as 32 samples.
    It gives an annoying beep with the audio block on 16 samples. It only starts after pressing the button that plays the sample
  8. Nice Paul, didn't see your fast reply! it...

    Nice Paul,
    didn't see your fast reply!
    it worked perfectly, thank you!
    much more elegant than my crappy solution.
  9. I have fixed it hardcoding (hammering my head...

    I have fixed it hardcoding (hammering my head against the code)
    in the play method of the AudioPlayMemory class I added a simple "length *= 2;" line




    void AudioPlayMemory::play(const...
  10. Hello Frank! I found out that the timbre isn't...

    Hello Frank!
    I found out that the timbre isn't changing at all... I saw a spectrum of each one and I couldn't note a change...
    The only problem is that when I set the Audio Block to 64 samples, the...
  11. Yes, this would lower latency and jitter to half...

    Yes, this would lower latency and jitter to half (3.1980,726)ms. But if what I was saying was done, the jitter would always be the size of a Sample Period (1/44100 = 22,6us) But if it isn't possible...
  12. I used the samples in the Audio library tutorial,...

    I used the samples in the Audio library tutorial, loaded in flash. (Part_2_03_Samples): AudioSampleKick, AudioSampleSnare and AudioSampleTomtom.
    a huge difference in timbre...
  13. Yes Paul, I was thinking it out better and it...

    Yes Paul, I was thinking it out better and it would be ugly... the sampling rate would no longer be constant and there would be a variation in the frequencies and durations of the sounds already...
  14. PaulStoffregen, Would it be possible to...

    PaulStoffregen,
    Would it be possible to interfere with the orderly manner the timer re-feeds the audio block? To maybe call a method that restarts instantly the filling up of the audio buffer, so...
  15. Great Frank! It is a lot better! But there are...

    Great Frank!
    It is a lot better!
    But there are still some error messages:



    /.../Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Audio/analyze_fft256.cpp:33:13: warning: 'void...
  16. Teensyduino v1.30 And in the code I didn't use...

    Teensyduino v1.30

    And in the code I didn't use the square wave, I used the DC object. And for the switch-button, I used a simple circuit with a 10k resistor between one electrode of the button and...
  17. �� I will do that, hope it works!

    ��
    I will do that, hope it works!
  18. The exact procedures i used was described in the...

    The exact procedures i used was described in the first post of this thread.
    I used a logic analyser and with their software there is a tool to measure time difference between two onsets.
  19. Thanks, I'll try that. Hope it works... Do I...

    Thanks, I'll try that. Hope it works...
    Do I maintain the "#" before "AUDIO_BLOCK_SAMPLES*2" ?
    What does that # mean?



    I am not complaining about latency at all... anything below 10 ms has...
  20. I have tried lowering the AUDIO_BLOCK_SAMPLES...

    I have tried lowering the AUDIO_BLOCK_SAMPLES from 16 up to 128 and it is impressive how the latency and jitter get down to 1ms when around the Audio Block of 16 samples. it seems to raise...
  21. Nice Paul! I'll try that out... see if I can...

    Nice Paul! I'll try that out... see if I can improve this latency issue...
    do you have any idea of how to get a lower jitter? Did you understand why the DAC got a higher latency than the SGTL5000? ...
  22. I read that the audio interrupt occurs every 128...

    I read that the audio interrupt occurs every 128 samples, is there a way to lower the buffer size?
  23. Latency and Jitter values for Teensy 3.2 DAC and for the Audio Board's i2s

    I have just performed some simple tests with Teensy to measure the minimum latency the board could give between a controller's input and a sound output.
    The procedure is simple: I put a button on a...
  24. As simple as that... thank you, it worked

    As simple as that...
    thank you, it worked
  25. DAC on Audio System Design Tool not working

    Hello, I am trying to use the DAC output on the teensy 3.2 and did not have success using it with the Audio System Design Tool.
    It worked well with the analogWrite() method. I ran the "Simple DAC...
  26. Nice, Thank you. hope this works. And what...

    Nice, Thank you.
    hope this works.
    And what about the alternative line out pins?
    how can I use them?

    Are the line out pins also biased in 1.6V? Is there a way to have the sound output to go...
  27. And one onther issue: how can I make those five...

    And one onther issue:
    how can I make those five pins of the Audio Board Of Line out (2 left, 2 right, 1 gnd) work? Is there an option to activate them?
    I get sound from the 3.5mm but not from these...
  28. Joining GND and VGND for latency test

    Hello,
    I want to run a test to measure in a logic analyser or oscilloscope the latency of the teensy+audio board. My test consists of a simple code with one button that when pressed inputs a 3.3V...
  29. Putting Formulas in HTML format on Audio System Design Tool

    Hello Paul,
    don't know if anyone has answered the question you put on the Audio System Design Tool Documentation about how to put mathematical formulas on HTML on the AudioFilterStateVariable...
Results 1 to 29 of 30