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

Search:

Type: Posts; User: fred_france

Search: Search took 0.00 seconds.

  1. Ok thank you for this info. I did not know that...

    Ok thank you for this info.
    I did not know that it was necessary to specify the type of a number on the other hand for a variable it seemed obvious to me
  2. float amplitude = 1.0; float dB = ...

    float amplitude = 1.0;
    float dB = 20*log10(amplitude);
    Serial.println(dB);

    float invertLog = exp10f(((float)dB) / 20.0f);
    invertLog = invertLog;
    Serial.println(invertLog);

    that works well...
  3. I corrected the factor of 2, thank you on the...

    I corrected the factor of 2, thank you

    on the other hand I still can not find the value after convertion:


    float amplitude = 1.0;
    float dB = 20*log10(amplitude);
    Serial.println(dB);
    ...
  4. I don't understand why when I connect the...

    I don't understand why when I connect the waweform object to the peak object, I get 6dB with an amplitude set to 1.0?
    to get the dB, I do:



    wavefom1.amplitude(1.0);
    ....
    while...
  5. how to invert log10 to control waveform amplitude with dB value

    Hello,

    I want to change the amplitude of the waveForm signal from a value in dB.
    I know how to transform the level into dB : 20 * log10 (level * 2),
    but not the other way around.

    example: ...
  6. I try the library fft4096 found here :...

    I try the library fft4096 found here : https://forum.pjrc.com/threads/42221-Audio-Library-and-4096-point-FFT-on-Teensy-3-6
    this seems good to me for my application, I will now think about your advice
  7. thank you I realize that if I want to put 1...

    thank you

    I realize that if I want to put 1 khz roughly half of the screen (x = 320/2 = 160px), the precision will not be good because of the insufficient number of bins (512 for 22Khz, so 23 for...
  8. for the x axis I thought to force the values...

    for the x axis I thought to force the values ​​that interest me in an array because if I use an exponential function to draw the axes because I think that I will not have the precision between 0 and...
  9. display spectrum with logarithmically horizontal scale

    Hello,
    I made my first spectrum analyzer displayed on the ILI9341 using AudioAnalyzeFFT1024.
    I would like to display the frequency axis logarithmically.
    Here, for example, are the graduations:
    0...
  10. thank you for your comments. here is the wiring...

    thank you for your comments.
    here is the wiring that works for me.

    (I did not use the T_IRQ pin)

    I used the libraries: ILI9341_t3.h and XPT2046_Touchscreen.h

    #define TFT_DC 3
    #define...
  11. thanks for your reply. Good news therefore for...

    thanks for your reply.

    Good news therefore for the Reset pin, a saved pin!

    First learning tests (as a reminder I am a beginner):
    TFT_CS = pin 0
    TFT_DC = pin 3
    TOUCH_CS = pin 1
    with the...
  12. good idea the multiplexer. What is the tft reset...

    good idea the multiplexer.
    What is the tft reset pin used for? because I see that it can be connected directly to 3.3v which saves a pin.

    a solution to gain pins would be to deport the commands...
  13. I will try several wiring to operate the SD card,...

    I will try several wiring to operate the SD card, the touch screen, the audio card and the screen.

    To see more clearly with the use of pins, I made a diagram for myself, I will complete it with...
  14. Hello, I just received the ILI9341 and would...

    Hello,

    I just received the ILI9341 and would like to connect it to the Teensy 4.0 with the Rev D audio adapter.
    I tried without the audio card, respecting the wiring indicated on PJRC, it works...
  15. thanks for these links! in fact I also want to...

    thanks for these links!

    in fact I also want to also measure the sound insulation of windows, doors, discover the world of acoustics and Teensy.
    It's more about discovery and learning than a real...
  16. Replies
    25
    Views
    759

    Where can I find your project on github ?

    Where can I find your project on github ?
  17. I don稚 think I need phase information (I知 a...

    I don稚 think I need phase information (I知 a newbie, i知 not shure of what I can do with phase information)
  18. Replies
    25
    Views
    759

    great project, I like it, it gives me new DIY...

    great project, I like it, it gives me new DIY ideas :)

    can the code be visible?
  19. Replies
    25
    Views
    759

    awesome ! :) is this ESP on the last video?...

    awesome ! :)

    is this ESP on the last video?
    is the audio stream coming from wifi?
  20. Replies
    25
    Views
    759

    OK, I haven't tried it yet (I'm getting the TFT...

    OK, I haven't tried it yet (I'm getting the TFT this weekend).
    thank you for your advice

    so if I summarize, it is not possible to replace the SPI BUS with a radio solution, but for a small volume...
  21. Replies
    25
    Views
    759

    you're right, the screen is to small, max 320...

    you're right, the screen is to small, max 320 bins in landscape format (1 bin= 1 pixel)
  22. Replies
    25
    Views
    759

    for the test results yes it should work, but for...

    for the test results yes it should work, but for the FFT (spectrum analyzer), I don't know if it is possible to send on the air the 512 bins values ​​very quickly to display them on the TFT?
  23. Replies
    25
    Views
    759

    the sensor is the microphone, if it is possible...

    the sensor is the microphone, if it is possible to deport it and send the audio stream by air? (without going through a wireless microphone system but with a module that integrates well with the...
  24. Replies
    25
    Views
    759

    it is not an economic problem (the TFT costs 5...

    it is not an economic problem (the TFT costs 5 dollars in china), but rather ergonomic.
    If I want to take measurements on the Teensy, it is convenient for me to have the result several meters away
  25. Replies
    25
    Views
    759

    ok I understand, maybe that's why I can't find a...

    ok I understand, maybe that's why I can't find a screen of this size with an I2C bus

    I'm afraid of having to directly link the TFT to the teensy
    unless I'm wrong but no protocol will be as fast...
  26. Replies
    25
    Views
    759

    what is the speed of what part?

    what is the speed of what part?
  27. I am building a speaker frequency response...

    I am building a speaker frequency response analyzer, so I generate sounds (20hz to 20khz) in the loudspeaker to be tested, and I measure the signal level with the microphone.
    So I need to filter the...
  28. my code allows only 513 taps, can you show me...

    my code allows only 513 taps, can you show me yours ?
    thanks
  29. Replies
    25
    Views
    759

    deport TFT from Teensy

    Hello,

    My plan is to deport the TFT display to make the screen universal for various applications.

    23211

    The connection between the Teensy and the screen could be by radio or by wire link.
    ...
  30. With convolution ?

    With convolution ?
  31. thanks for your help i finally found the...

    thanks for your help
    i finally found the convolution filter with more coefficient and steeper slopes
    https://github.com/bmillier/Teensy-FFT-Convolution-Filter
  32. Replies
    14
    Views
    559

    yes I saw that there is a lot of electronic...

    yes I saw that there is a lot of electronic diagram with the op amps, I will look at that.

    thank you all very much for your help and your time
  33. Replies
    14
    Views
    559

    Thank you for your answers is it not possible to...

    Thank you for your answers
    is it not possible to reduce the processing time of 2.9 ms by reducing for example the bandwidth? (for example: 200hz- 2khz instead of 20hz-20khz)?
  34. thank you for your reply my experiences (see...

    thank you for your reply

    my experiences (see my thread) show that there is indeed a synchronization to be done.
    Indeed, when I go through "amp1" and "amp2", the sync seems to be made between the...
  35. Replies
    14
    Views
    559

    By connecting the two channels of the...

    By connecting the two channels of the oscilloscope on L and R of line Out, it works well, the signals are well opposite at 180 ー (see the image below)

    23182

    But if I plug in the oscilloscope...
  36. Hi enphoti i have a similar project...

    Hi enphoti

    i have a similar project (https://forum.pjrc.com/threads/65777-invert-phase-audio-signal?p=266086&posted=1#post266086), but it doesn't work for the moment;

    Did your code finally...
  37. Replies
    14
    Views
    559

    23180 ok, now can you tell me : - where i...

    23180

    ok, now can you tell me :
    - where i connect my audio signal (sinusoidale 1khz with an external generator) : left or right or both line in ?
    - where i connect my oscilloscope : left or...
  38. Replies
    14
    Views
    559

    I understand the 1st line connection, but I知 not...

    I understand the 1st line connection, but I知 not sure for the 2nd : what is ォ*I*サ on the 2nd line ?
    (Sorry I知 a newbie).

    I only have one audio source (microphone or low frequency generator)
  39. Replies
    14
    Views
    559

    if I understand correctly, I put an audio object...

    if I understand correctly, I put an audio object (microphone), connected to a delay object, then then two mixers?
  40. Replies
    14
    Views
    559

    invert phase audio signal

    Hello,

    I would like to reverse the phase of the audio signal (180 ー) to experiment around the cancellation of sounds.

    I tried with a mixer to set the gain to -1 (i tried too with the amp), but...
  41. yes this is the first thing i tried but after i...

    yes this is the first thing i tried but after i tried a 250 array that didn't work .. has anyone tried?
  42. ok, i understand, thank you. is it possible to...

    ok, i understand, thank you.

    is it possible to increase the number of taps ? (more than 200), i've tried in filter_fir.h to set 400 instead 200, but it doesn't work with arrays with more than 200...
  43. Thank you for your answers. I tried...

    Thank you for your answers.

    I tried differently with another software "rePhase" more complete and easier to use

    This software gives me coefficients in float.
    To process these floats on the...
  44. FIR filter with Teensy 4 + audio adapter

    Hello,

    I am a beginner in the world of Teensy, and I bought a version 4.0 + the audio adapter.
    I want to experiment audio filters (bandpass, high pass, low pass).

    For this, I want to use an...
Results 1 to 44 of 47