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

Search:

Type: Posts; User: emmanuel63

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Polyphonic tracking... This is very challenging....

    Polyphonic tracking... This is very challenging.
    I had quite good result with the AccurateFFTInterpolator object. Here is a link :...
  2. Hi, I use 4 low pass filters. All the filters...

    Hi,
    I use 4 low pass filters. All the filters are fed with the audio input signal.
    first filter : fc = 300
    second : fc = 500
    third : 800
    forth : 1200 (for example).

    The output of the filters...
  3. Thank you. You are right, an external comparator...

    Thank you.
    You are right, an external comparator would probably do the job.
    I need to filter the audio signal before measuring frequency. I need to "slice" the signal into 4 bands, from 200 hz to...
  4. You're right, I don't need to transmit the block....

    You're right, I don't need to transmit the block. I will change that.

    I have improved my code and it's working well now. Basically, here is my method :
    - I first initialise a sample counter
    - I...
  5. Hi, Thank you for your suggestions. Here is a...

    Hi,
    Thank you for your suggestions. Here is a first attempt :

    #include "zero_pitch.h"

    void zero_pitch::update(void) {
    int16_t *p;
    audio_block_t *block;
    block = receiveReadOnly(0);
    ...
  6. zero crossing audio object for frequency detection

    Hello,

    I want to mesure as fast as possible the frequency of a sine.
    The audio library already provides objects for pitch tracking, but they have some latency due to buffering.
    Since my signal...
  7. Finally, I used Faust language to add...

    Finally, I used Faust language to add band-limited oscillators.
    Faust can run on Teensy. It is really worth giving a try...
    Emmanuel
  8. How do you do that ?

    How do you do that ?
  9. triangle & sawtooth oscillators : how to deal with aliasing ?

    Hello,

    I noticed a lot of aliasing with the triangle & sawtooth oscillators, especially with high pitch notes. Is there a way to improve or smooth this waveforms ?

    Thanks,
    Emmanuel
  10. Replies
    9
    Views
    744

    Hi Paul, Hi musicians, Here is a description...

    Hi Paul,
    Hi musicians,

    Here is a description of my chord player.

    I am musician and composer. I play brass instruments and guitar. When composing, I often start with layering some chord...
  11. Replies
    9
    Views
    744

    Hi Paul, Sure ! I can write a description about...

    Hi Paul,
    Sure ! I can write a description about it.
    Basically, the hardware is made with 128 DIY FSRs. I make them with Velostat.
    The code detects when a FSR is hit, analyse the force, and...
  12. Replies
    10
    Views
    590

    Absolutely. For instance, I have a pot that...

    Absolutely.
    For instance, I have a pot that returns 0.25 ; 0.5 ; 1 ; 2 ; 4 ... This result is stored in osc1_oct variable. The multiplication fréquence * osc1_oct allows you to shift the frequency...
  13. Replies
    10
    Views
    590

    Yes I made some tests. FFT is faster, but it is...

    Yes I made some tests. FFT is faster, but it is not optimised for complex sounds. For instance, for the flute FFT is OK. But results are totally wrong for the trumpet. It is always about...
  14. Replies
    10
    Views
    590

    I publish the main code here ...

    I publish the main code here
    https://forum.pjrc.com/threads/60516-need-help-with-audio-latency-and-noteFreq-object?p=240326#post240326

    I call notefreq1.available() and rms1.available() without...
  15. Here is the main code (a readable version) : ...

    Here is the main code (a readable version) :


    void input_follower() {

    //peak detection
    if (rms1.available()) {
    input_level = rms1.read();
    }
  16. you did 90% of the work ;)

    you did 90% of the work ;)
  17. If I have to sell it, it's going to be very...

    If I have to sell it, it's going to be very expensive !! I am kidding of course ;)

    The code wouldn't help anybody because there are a lot of variables that refer to hardware : multiplexers, pots,...
  18. Replies
    10
    Views
    590

    Thanks for your suggestion. Yes I will share the...

    Thanks for your suggestion.
    Yes I will share the code. I have to reformat it or you won't be able to understand it. Basically, i have adapted the examples coming with the audio library. Nothing new !
  19. Replies
    10
    Views
    590

    5 times faster .... That's good news. I am going...

    5 times faster .... That's good news. I am going to investigate this right now !
  20. Replies
    10
    Views
    590

    [queued] Notes to Waves

    Hello,

    Here is a fun project I would like to share with the community. It is a basic 3 oscillators synth plus an input follower stage. You can plug in a microphone and convert dynamics and notes...
  21. Hi Duff, Here is a small video to present the...

    Hi Duff,

    Here is a small video to present the result. It is working. There is still some latency but it is "playable" on stage. Strong filtering helps to get a better tone detection and feedback...
  22. Hi Duff, Yes I do some filtering. I wanted this...

    Hi Duff,
    Yes I do some filtering. I wanted this project to work on stage, so one big issue was feedback. Filtering helps a lot with feedback. The idea is to use the builtin SGTL5000 equalizer. It is...
  23. That's fine. I'll stick to that. The flute is...

    That's fine. I'll stick to that.

    The flute is monophonic. It can play very fast. 8 notes per second is common.
  24. I was not clear, sorry. I mean when the flute...

    I was not clear, sorry. I mean when the flute player plays low pace tunes, the latency is note a problem. But when he plays high tempo melodies, with a lot of notes, then the latency becomes a...
  25. Hi Duff, Thank you for answering. I use Teensy...

    Hi Duff,
    Thank you for answering.
    I use Teensy 3.6 + audio shield.
    I have set AUDIO_GUITARTUNER_BLOCKS to 3. That's the minimum for the range of the flute.
    Latency is low, but when playing fast,...
  26. need help with audio latency and noteFreq object

    Hello,

    I have build a synth that use an envelope follower to trigger notes. The prototype gets the envelope of an acoustic instrument (a flute and a trumpet in my case), analyse the frequency of...
  27. Hello, I have finished my project. It's working...

    Hello,
    I have finished my project. It's working pretty well. Almost every note of the flute is correctly analyzed. But I am still fighting with latency. I have set AUDIO_GUITARTUNER_BLOCKS to its...
  28. Replies
    0
    Views
    158

    biquad filters - how to ?

    Hello,
    I am working on an audio project that require to filter (reject) precisely some frequencies. I try to make a notch filter with an ajustable notch frequency and a sharp slope. Is it possible ?...
  29. Thank you for your answer. And thank you for this...

    Thank you for your answer. And thank you for this tool which is really amazing. I managed to reduce the latency by setting the AUDIO_GUITARTUNER_BLOCKS to a very low value. I think that will work for...
  30. noteFreq object - frequency detection speed ?

    Hello,

    I am using the noteFreq audio object to detect musical notes during a live flute performance. It works very well, but I am looking for a way to reduce latency to a minimum.
    I have edited...
  31. I have read this page many times, but it is still...

    I have read this page many times, but it is still confusing for me. These concepts behind the code are very new to me and I admit I can be slow too...
  32. Hello, I tried both ways : using the queue...

    Hello,
    I tried both ways : using the queue object, and editing an existing audio object.
    First method works, but it is quite difficult for me to use (I am still at the beginning of my learning...
  33. There is one point I don't understand in your...

    There is one point I don't understand in your code. Why do you divide AUDIO_BLOCK_SAMPLES by 4 ?

    Emmanuel
  34. Thanks Paul. I'll try both path. I think I...

    Thanks Paul. I'll try both path. I think I understand now Franck's code. I am going to try it. It seems pretty straight forward. Then I really have to work in depth the subject of creating audio...
  35. That was just the explanation I needed. I think I...

    That was just the explanation I needed. I think I get it now. Thanks for sharing your knowledge. I really need now to refresh my memory about pointers.
  36. Wow... I feel very humble. I must admit I don't...

    Wow... I feel very humble. I must admit I don't understand all of it. I am going do dig it to understand.
    Many thanks
    Emmanuel
  37. Don't worry... I can wait

    Don't worry... I can wait
  38. Franck, Would you give please a piece of code. I...

    Franck,
    Would you give please a piece of code. I am new with tis function and I don't have any clue how to use it.
    Emmanuel
  39. Thanks a lot, that was what I was looking for.

    Thanks a lot, that was what I was looking for.
  40. routing data stream to audio objects of audio lib

    Hello,

    I try to make an audio envelope detector.
    I read the audio signal through an analog input. I add a DC voltage to audio signal to read both positives and negatives values. I use square...
  41. Replies
    9
    Views
    470

    Tanks for the thread, that will certainly help...

    Tanks for the thread, that will certainly help me.
    Envelope audio effect is an ADSR envelope "shaper" and won't work as a detector.

    I have some results using the peak detection object. But even...
  42. Replies
    9
    Views
    470

    Yes, I thought using this object. I wonder if it...

    Yes, I thought using this object. I wonder if it can be fast enough to detect accurately an envelope. I will try.
  43. Replies
    9
    Views
    470

    envelope follower

    Hello,

    I would like to do an envelope follower. The goal is to get the envelope of an audio signal to modulate filters.

    I can't figure out precisely the way to do it. Here are my idea at the...
  44. Replies
    9
    Views
    744

    All keys are touch sensitive. It's made with...

    All keys are touch sensitive. It's made with Velostat sheets. This material is very cheap and the result is surprisingly accurate. Each key work as a shunt mode FSR :...
  45. Replies
    9
    Views
    744

    Hello, The buttons and pots are basic MIDI...

    Hello,
    The buttons and pots are basic MIDI controls you can map to your DAW.
    The hardware ICs are generic multiplexers. They read the 168 keys plus the MIDI controls and commands. MUXs are easy to...
  46. Replies
    9
    Views
    744

    Here are a few pics : 1946119462

    Here are a few pics :
    1946119462
  47. Replies
    9
    Views
    744

    [queued] Easy (lazy) Chord Player

    Hello,

    I am happy to present a MIDI controller I have designed to play chords progressions. It's fun to play and very inspirational.
    You can play chords and bass lines together. The chords choice...
  48. Replies
    6
    Views
    410

    Ok then, I run some tests too. And flash memory...

    Ok then, I run some tests too. And flash memory is MUCH faster.
    I made a little sampler. I can play simultaneously 13 samples. Very reactive, no problems. My samples are around 4 seconds each, 44...
  49. Replies
    6
    Views
    410

    By the way, I don't understand why SPI.begin...

    By the way, I don't understand why SPI.begin causes some problems...
    I am not a guru with coding...
  50. Replies
    6
    Views
    410

    Hi Michael, Thanks for your answer. I manage to...

    Hi Michael,
    Thanks for your answer.
    I manage to make it work with the following code.
    I am now going to test the performances compare to SDcard.
    Emmanuel


    #include <Audio.h>
    #include...
Results 1 to 50 of 70
Page 1 of 2 1 2