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

Search:

Type: Posts; User: chipaudette

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    631
    Views
    57,578

    I've had this new MTP code working for a few...

    I've had this new MTP code working for a few weeks now. Such a fantastic upgrade!

    I'm curious, though...is there a way that the Teensy knows that the PC is connected via USB? Is there a call to...
  2. Replies
    106
    Views
    12,629

    So excited!

    So excited!
  3. Replies
    30
    Views
    808

    One of the benefits of the current in-the-browser...

    One of the benefits of the current in-the-browser approach is that the user doesn't need to download or install anything. They just open the link in the browser. That's a really nice feature. I...
  4. Replies
    185
    Views
    10,469

    Echo'ing what WMXZ already said, my main issue is...

    Echo'ing what WMXZ already said, my main issue is that emulated serial doesn't work outside of the Arduino Serial Monitor that is my biggest issue.

    Additionally, I also have a problem caused by me...
  5. Replies
    14
    Views
    441

    You're running with a lot of audio objects. ...

    You're running with a lot of audio objects. Might you be running out of CPU?

    Which teensy are you using? And, when you asked what the memory usage was, did you also ask what the CPU usage was?
  6. Replies
    185
    Views
    10,469

    And, any chance of the non-emulated MTP Serial...

    And, any chance of the non-emulated MTP Serial option (direct from the WMXZ repo) being folded into Teensyduino instead of the emulated serial? There are certain serial interactions that break when...
  7. Replies
    185
    Views
    10,469

    What is the thinking on a release date for 1.54...

    What is the thinking on a release date for 1.54 (not beta, but actual release)?

    The inclusion of the Greiman SD in teensyduino is a game changer for me with my Tympan stuff. It's a huge leap...
  8. Replies
    631
    Views
    57,578

    Thanks for the extra work. No need to check my...

    Thanks for the extra work. No need to check my example (unless you are interested) as it worked well enough for my needs. I was sharing it in case others had similar problems.

    But, now that...
  9. Replies
    631
    Views
    57,578

    When I was trying to get it to work, I did try...

    When I was trying to get it to work, I did try turning USE_EVENTS to zero. It didn't seem to work...but I was having multiple issues, so USE_EVENTS not solving my problem was probably my fault and...
  10. Replies
    631
    Views
    57,578

    I'm trying to use the latest WMXZ MTP library...

    I'm trying to use the latest WMXZ MTP library with Teensy 3.6 and Teensy 1.54 Beta5 (with Arduino 1.8.13). The included example sketch mtp-test.ino won't compile. After a whole bunch of repeated...
  11. Nice catch! I didn't realize that the N_k was...

    Nice catch!

    I didn't realize that the N_k was the *time*-domain window used in computing the DFT. I incorrectly assumed that it was the frequency window used for frequency-bin summing. Ooops! ...
  12. So, yeah, if one is looking to see how many bins...

    So, yeah, if one is looking to see how many bins one should sum together, that equation shuffles around to be:

    N_k = (Q * f_s) * f_k [*** EDIT: WMXZ noticed my obvious math error! See his...
  13. Isn't logarithmically increasing bandwidth (to...

    Isn't logarithmically increasing bandwidth (to follow logarithmically increasing center frequencies) the same as constant Q? Or am I misunderstanding constant Q?

    I characterize the FFT approach...
  14. Their algorithm looks buried in WebAssembly, so I...

    Their algorithm looks buried in WebAssembly, so I can't see what's going on.

    Did I simply miss their algorithm? Or can WebAssmebly be decompiled into something human readable?
  15. The number of bins that you sum will be...

    The number of bins that you sum will be proportional to your center frequency. So, at G3, you might have just the one bin. At G4, you'd sum 2 bins. At G5, 3 bins. etc. That's how one can...
  16. While we do all agree that the FFT approach is...

    While we do all agree that the FFT approach is probably superior to a bank of 96 parallel filters, do be aware that the FFT approach more clearly exposes the inherent trade between frequency...
  17. Replies
    13
    Views
    926

    Personally, I like using Arduino/Teensy to *add*...

    Personally, I like using Arduino/Teensy to *add* functionality to old synths.

    Back when I got my Korg Polysix, they were pretty undesirable and inexpensive due to the leaking battery problem...
  18. I think that I found the issue. The OCT version...

    I think that I found the issue. The OCT version of AudioOutputI2S gave me an important clue...

    Here is the quad version:



    #if 1
    memcpy_tointerleaveQuad(dest, src1, src2, src3, src4);...
  19. Sweet guidance. Will do!

    Sweet guidance. Will do!
  20. Hi Paul, Yeah, I saw that. When I copied that...

    Hi Paul,

    Yeah, I saw that. When I copied that into my Float32 extension of this class, and adjusted all the data types, it doesn't work on T4. It successfully works fine on T3.6 and sounds fine....
  21. AudioOutputI2SQuad and memcpy_tointerleaveQuad

    I'm trying to understand the interleaving that is done with the audio samples in the AudioOutputI2SQuad class. Looking at the isr() method, I see that it calls the memcpy_tointerleaveQuad, which is...
  22. If you're using a teensy 3.5 or 3.6 (and possibly...

    If you're using a teensy 3.5 or 3.6 (and possibly T4.x), you can use one of the floating-point versions of the teensy audio library from the community. There are several out there.

    The two that...
  23. Replies
    20
    Views
    1,210

    Paul's comments about price are spot on. Once...

    Paul's comments about price are spot on. Once you add all the features that you really want (a better audio codec, extension for more channels than stereo, audio jacks, BT module, LiPo recharging, a...
  24. I, too, have seem massive variation in write...

    I, too, have seem massive variation in write times to the SD card. It seems to depend a lot on the SD card itself. It is also affected by how they are formatted.

    So, after a bunch of experiments...
  25. CPU Cycle Counter Formula in AudioStream

    I love how the Audio library lets you see what fraction of the processor is being consumed by different blocks in your audio processing chain. But, in looking at the formula, I don't understand how...
  26. Replies
    7
    Views
    585

    The OpenAudio library is a collaboration between...

    The OpenAudio library is a collaboration between me and Bob Larkin. Since I don't recognize the file "DSP_Teensyduino_32.h", I'm assuming that it's something that Bob added. If it fails to compile...
  27. Replies
    7
    Views
    585

    Formant shifting and pitch shifting are indeed...

    Formant shifting and pitch shifting are indeed different things. My links are for formant shifters that work in the frequency domain. They move the amplitude of the FFT bins up or down but leave...
  28. Replies
    7
    Views
    585

    Moving all the formants up and down isn't...

    Moving all the formants up and down isn't particularly difficult...if you've already got a frequency-domain processing algorithm stack going. Getting the round trip FFT/IFFT processing needed to...
  29. Replies
    4
    Views
    425

    If you're going to try to implement...

    If you're going to try to implement frequency-domain noise reduction, be aware that the Teensy 3.2 will probably not be fast enough to do a round-trip FFT->IFFT in order to do the frequency-domain...
  30. Replies
    12
    Views
    817

    Github (or similar) is definitely the way to go. ...

    Github (or similar) is definitely the way to go. If you've never used a version control system before, it's not a trivial thing to get into, but it is totally totally totally a skill worth having.
    ...
  31. Regarding SD recording, you can use the Tympan...

    Regarding SD recording, you can use the Tympan software library with anyone's hardware, as long as it is a Teensy 3.5 or Teensy 3.6. The library is a floating point extension of the Teensy Audio...
  32. Regarding the Tympan, it already has the Teensy...

    Regarding the Tympan, it already has the Teensy 3.6 built into it. We buy the Teensy 3.6 bootloader from Paul (the maker of Teensy) and use the same processor and all that. Therefore, it *is* a...
  33. While the Teensy Audio Shield is amazing for its...

    While the Teensy Audio Shield is amazing for its price, there are alternatives if you want better performance...

    * Blackaddr has his "Teensy Guitar Audio Shield". IMO, it sounds much better than...
  34. Replies
    32
    Views
    2,029

    Oh, so we *are* talking about frequency domain...

    Oh, so we *are* talking about frequency domain processing. When I measured FFT vs FIR based processing on the T3.6 using the ARM CMSIS Float32 library, FIRs are more efficient up to around 96...
  35. Replies
    32
    Views
    2,029

    I'm a bit confused by your statement "in order to...

    I'm a bit confused by your statement "in order to substitute the standard FIR filtering with convolution filtering". When convolution is done in the time domain, convolution *is* FIR filtering,...
  36. Replies
    32
    Views
    2,029

    To partly answer my own question, I know that...

    To partly answer my own question, I know that long FIR filters can have a role in creating reverb/echo effects. For example, if you want to go out and actually measure the reverb/echo in a real...
  37. Replies
    32
    Views
    2,029

    Regarding this side-track about super-long...

    Regarding this side-track about super-long FIRs...why would someone want a 65536-tap FIR for audio processing? Even running at a 96 kHz sample rate, this gives a resolution of about 1.5 Hz (or maybe...
  38. Replies
    18
    Views
    2,012

    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...
  39. 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...
  40. Replies
    19
    Views
    1,113

    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...
  41. Replies
    19
    Views
    1,113

    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...
  42. 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...
  43. 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...
  44. 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...
  45. 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...
  46. Second attempt at attaching pics... 20351 ...

    Second attempt at attaching pics...

    20351

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

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

    20336

    20337
  48. 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...
  49. 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...
  50. 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...
Results 1 to 50 of 290
Page 1 of 6 1 2 3 4