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

Search:

Type: Posts; User: chipaudette

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    785

    You said that you wanted to be able to change the...

    You said that you wanted to be able to change the block size...

    In my Float32 extension of the Audio library (for our "Tympan" project), I made the blocksize adjustable. While I did not make the...
  2. The existing envelope class is written for fixed...

    The existing envelope class is written for fixed point math (as is the rest of the audio classes), which makes it hard for me to see what it's doing. It also makes it hard for a person like me to...
  3. Replies
    5
    Views
    222

    If you use a regular delay with a fixed dealt...

    If you use a regular delay with a fixed dealt time (like is currently in the library) you would get a more 'analog-style' delay if you could smoothly vary / modulate the sample rate of the whole...
  4. Replies
    5
    Views
    222

    The short answer (which is not helpful) is that...

    The short answer (which is not helpful) is that you can do anything you want...but it could take a lot of development and effort.

    The longer answer is that you could modify the delay class to...
  5. Hi folks, As usual, that version of my float32...

    Hi folks,

    As usual, that version of my float32 library isn't updated very often as all of my active development is in the Tympan repo:

    https://github.com/Tympan/Tympan_Library

    The Tympan...
  6. Thanks, everyone for the suggestions and the...

    Thanks, everyone for the suggestions and the photos. With this help, I got it to work!

    I disconnected my wiring for Pin6 and made my wiring look more like Paul's. Digital values were clearly...
  7. Both boards now have their 10K resistor removed. ...

    Both boards now have their 10K resistor removed. Sadly, I'm still not able to get the 2nd audio board to acquire audio. :(

    20406

    Any other suggestions for something that I can try?

    Or, if...
  8. Thanks for all the deep digging! I did remove...

    Thanks for all the deep digging!

    I did remove the one board's 10k resistor and it didn't work. I'll try removing the other board's resistor. Good idea. Sadly, I'm separated from my hardware and...
  9. Second attempt at attaching pics... 20351 ...

    Second attempt at attaching pics...

    20351

    20352
  10. For those more visually-inclined, here are the...

    For those more visually-inclined, here are the mods described in another form:

    20336

    20337
  11. Teensy 4.1 and 4-channel audio (AudioInputI2SQuad)

    I'm still trying to get my T4.1 (beta) to do 4 channel audio using two of the RevD Teensy Audio Shields. I'm successful in getting audio output of the system, but I can't seem to get audio into the...
  12. Signals with a wider bandwidth will definitely...

    Signals with a wider bandwidth will definitely help improve your resolution. But it might make detection harder (as a human trying to see what's going on while debugging).

    What would really help...
  13. This is a question of resolution vs accuracy. ...

    This is a question of resolution vs accuracy. Having a higher sample rate will give you an answer with more decimal places (ie, higher resolution), but those extra decimal places are not reliable or...
  14. If your target signal is only 210-310 Hz,...

    If your target signal is only 210-310 Hz, sampling at 400 kHz does not get you better accuracy. For any reasonable signal-to-noise ratio, you're not going to do better than 1/2 to 1/4 of a...
  15. I made a Mixer8 and offered a Pull Request to...

    I made a Mixer8 and offered a Pull Request to Paul. In the pull request, I also added the Mixer8 to the Audio GUI.

    Of course, he may decline to accept the pull request as he might prefer to...
  16. Agreed, audio library. Also, consider using...

    Agreed, audio library.

    Also, consider using the teensy audio shield.

    Also, if you've never done it before, don't underestimate the challenge of learning the signal processing to actually detect...
  17. Replies
    320
    Views
    39,978

    It would be fantastic if it could be pulled into...

    It would be fantastic if it could be pulled into cores.

    I often help other people develop custom (open source) data acquisition systems using teensy. They really want to be able to pull the data...
  18. Replies
    6
    Views
    199

    Yes they are part of teensyduino. Just add to...

    Yes they are part of teensyduino. Just add to the top of your code

    #include <arm_math.h>

    As for learning how to use them, you don't have to prototype your use of vector math operations in your...
  19. Replies
    6
    Views
    199

    IMO, you should always first write your code...

    IMO, you should always first write your code yourself without using the CMSIS libraries. Only when you get it working should you introduce the CMSIS functions so as to (maybe) accelerate things.
    ...
  20. Replies
    797
    Views
    33,813

    Using the Teensy 4.1, I just tested quad audio...

    Using the Teensy 4.1, I just tested quad audio out using the two Teensy Audio Shields. Success!

    Interestingly, I was not able to get it to work using flying leads. I had to stack the boards...
  21. If you're not an expert, you're going to want to...

    If you're not an expert, you're going to want to switch to away from the fixed-point filters (and other math) used in the audio library. You'll want to use floating point.

    My Tympan library is...
  22. As for the two channels, this is going back to my...

    As for the two channels, this is going back to my recommendation that you measure the time of the transmitted pulse as well as the time of the received pulse. You had expressed some confusion over...
  23. Regarding the I2S output, I find that the system...

    Regarding the I2S output, I find that the system never operates quite right if I don't have any audio output specified. So, even if I'm not listening to the audio output, I still connect it.

    You...
  24. If the FFT isn't going to work for you, then you...

    If the FFT isn't going to work for you, then you can cascade a few IIR (biquad) filters.

    19990

    You'll need to configure each biquad filter by issuing commands in your setup() function. You'll...
  25. Increasing your frequency to 20 kHz will only...

    Increasing your frequency to 20 kHz will only improve your resolution if you were to move beyond your FFT approach. Unless you're lucky enough to have crazy-high signal to noise ratio, your...
  26. I just looked at your code. It looks like your...

    I just looked at your code. It looks like your tone pulse is 50 milliseconds long?

    If so, that's 2205 samples assuming that you're running at the standard Audio Library rate of ~44100 Hz. ...
  27. How long is your tone pulse? Presuming it is...

    How long is your tone pulse? Presuming it is more than one cycle long, that's going to set your resolution (besides the fft length) not your operating frequency. To get your operating frequency to...
  28. I was intending to imply that the filters be done...

    I was intending to imply that the filters be done in software via the biquad class in the audio library. Definitely not hardware. It requires real skill and/or money to get a good, tight bandpass...
  29. Replies
    2
    Views
    107

    Hi, I helped write that driver. I wrote it...

    Hi,

    I helped write that driver. I wrote it because I helped make the Tympan, which is an open source audio processing platform that is a teensy 3.6 at its heart combined with a AIC3206,...
  30. Replies
    39
    Views
    5,229

    Because I didn't know any better, I have also...

    Because I didn't know any better, I have also done the hack of renaming all the classes. What a pain! There has to be a smarter way!

    I'm very interested to hear how other people have dealt...
  31. The reference manual for the processor is not...

    The reference manual for the processor is not helpful...because the missing piece of information is which Teensy pins (which I2S lines) are used by the I2S_quad class. That's the part I can't figure...
  32. Thanks for the quick reply! Where do I learn...

    Thanks for the quick reply!

    Where do I learn which pins the i2s_quad class uses when using with teensy 4? The example sketches (when I looked) provide no hookup guidance.

    Or, to ask a maybe...
  33. Hi! Has anyone had any luck getting I2S quad...

    Hi!

    Has anyone had any luck getting I2S quad to run on the Teensy 4?

    Last fall, I2S_quad wasn't supported yet on the T4, but the T4 was brand new so that's totally understandable! I also see...
  34. Replies
    31
    Views
    1,560

    Oh, and I was surprised by the concern over what...

    Oh, and I was surprised by the concern over what to do about resampling WAV files that are in 44.1kHz when you want them to be in 48 kHz. I mean, resampling is noble, but the current audio library...
  35. Replies
    31
    Views
    1,560

    Based on all the great info here on the forum, my...

    Based on all the great info here on the forum, my floating-point re-write of the Audio Library has both a user configurable sample rate and a user configurable block size (less than or equal to 128)....
  36. Replies
    24
    Views
    1,109

    Frank, Since you've already got your code on...

    Frank,

    Since you've already got your code on GitHub, you can serve it live straight from GitHub using the "Pages" feature of GitHub.

    For example, I've got a floating-point fork of the Audio...
  37. Replies
    24
    Views
    2,067

    Yes! MTP! Chip

    Yes! MTP!

    Chip
  38. My code for computing the IEC1672 coeff is here:...

    My code for computing the IEC1672 coeff is here:

    https://github.com/Tympan/Tympan_Library/blob/master/src/utility/FreqWeighting_IEC1672.h

    And here:
    ...
  39. Replies
    83
    Views
    14,944

    Has there been any success in getting quad I2S...

    Has there been any success in getting quad I2S (quad for both inputs and for outputs) working with Teensy4? If so, has it been folded into the Audio library yet?

    (I tried searching the forum, but...
  40. Replies
    320
    Views
    39,978

    I support KurtE's desire to make a version that...

    I support KurtE's desire to make a version that is more Arduino-like. There is a difference between (1) being able to be compiled in the Arduino IDE and (2) being in the style and typical practices...
  41. Replies
    21
    Views
    3,295

    Definitely still paying attention to this! ...

    Definitely still paying attention to this!

    Thanks for the update,

    Chip
  42. Replies
    320
    Views
    39,978

    @WMXZ, I just got Chris's usb_desc.h entries...

    @WMXZ, I just got Chris's usb_desc.h entries working with your MTP library with SdFat-beta (as you describe) with your example sketch on a T3.6.

    I get both the SD card to appear in Windows *and*...
  43. Replies
    320
    Views
    39,978

    Has anyone been able to get the yoonghm MTP code...

    Has anyone been able to get the yoonghm MTP code to work recently?

    I'm on Arduino 1.8.10 and Teensyduino 1.49. I downloaded the latest Grieman SdFat (not the beta) to go with the yoonghm MTP...
  44. Replies
    320
    Views
    39,978

    So, if we're not overwriting the Teensy3...

    So, if we're not overwriting the Teensy3 usb_desc.h, we're going to get emulated serial, not real serial, right?
  45. Replies
    320
    Views
    39,978

    Also, for use with Teensy 3.6, I assume that I...

    Also, for use with Teensy 3.6, I assume that I copy the "copy-of-core" files over to the Teensy3 core?

    Assuming that this was the right thing to do (and after making the other changes that you...
  46. Replies
    320
    Views
    39,978

    >> Latest version is on GitHub...

    >> Latest version is on GitHub https://github.com/WMXZ-EU/MTP_t4

    Does this generate an emulated serial port or a real one? Browsing the code it seems to generate an emulated one...please correct...
  47. >> I'm an acoustics professor and consultant, and...

    >> I'm an acoustics professor and consultant, and have several Class 1 SLMs and calibrators at my disposal.

    Great! I have this kind of equipment, too. With this equipment, I thought that...
  48. However it is that you implement the software for...

    However it is that you implement the software for your sound level meter, the hard part (IMO) is calibrating the device. There are many choices:

    * You can decide to use a single-point pure-tone...
  49. I'm part of the team that makes Tympan...

    I'm part of the team that makes Tympan, which at its heart is a Teensy 3.6 with an audio codec (and bluetooth module, and LiPo battery plus charger circuit). I did a single-channel and two-channel...
  50. Replies
    1
    Views
    169

    Personaly, I always disable that ADC filter as I...

    Personaly, I always disable that ADC filter as I find that it adds unacceptable noise to the system. See my post on this issue here:
    ...
Results 1 to 50 of 250
Page 1 of 5 1 2 3 4