It didn't occur to me that you might be using a full size for-real goat skull. If you have something that large, you might need a transducer with more oomph. Maybe something like...
...
Type: Posts; User: chipaudette
It didn't occur to me that you might be using a full size for-real goat skull. If you have something that large, you might need a transducer with more oomph. Maybe something like...
...
I liked the idea of using a loud speaker and simply feeding it your audio. But, you don't really need the full loudspeaker. You can buy just the core transducer part without the cone. Much smaller...
These folks have been working toward 4-in and 4-out over USB...
https://forum.pjrc.com/threads/68747-Teensy-4-1-USB-4CH-IN-2-CH-OUT-Sync-issue
I think that they have both directions working,...
Are you willing to accept the pitch shifting along with the time stretching? Like, if you make the sample longer, the pitch drops proportionally. If so, it's pretty easy.
But, if you want the...
For other people coming to this thread later, I just wanted to be clear...no, the code above is not what sets the order that the calculations are performed. What sets the order ( per post #2 and the...
If all you want is AGC, then the audio processing block that you're looking for is a "compressor". I've always been suprised that there isn't one in the Teensy Audio Library. I'd do one myself, but...
There may indeed be an easier way than my assumption of needing a closed-loop adaptive algorithm. It'd be great if someone else could chime in if they know an easier way. An easier way would be...
The answer to your question depends upon another question: what algorithm would you use to adapt to and cancel the echo?
If you're going to use a traditional algorithm like some version of LMS,...
Using the Teensy Audio Library running on Blackaddr's Teensy-based TGA hardware, I created a 16-band vocoder!
https://www.youtube.com/watch?v=h8BwsMHmm-w
While there is nothing new in making...
The trick with detecting the actual note that I might sing is that the frequency resolution of the detector needs to be way WAY higher.
For detecting which drum sound I was beatboxing, I use...
Thanks for the kind words!
Using the Teensy Audio Library running on Blackaddr's Teensy-based TGA hardware, I created a voice-to-MIDI converter. My goal was to beatbox with my voice to drive my drum machine. It was super fun...
I ended up using the code in post #7 and it worked great on my T4.1.
Thanks for your work!
Is this all the best way of getting a traditional c-style "printf(" to work?
If so, when I copy-paste the code from #8 above, it fails to compile because: 'stdserialReady' was not declared in...
I just tried compiling with DEBUG for the first time. With Teensy 4.1 (Teensyduino 1.54, Arduino 1.8.15), I have no USB serial.
Did the problem described here get fixed? Do I have this same...
I can no longer get the USB Audio to work at any sample rate (in Audacity)...neither 44100 nor 96000. I've tried different USB ports and I've tried rebooting. I've tried enable/disable in Windows...
Cool about the I2S classes!
Yes, I'm using Teensy 4.1.
Chip
So I don't need to do anything to tell the I2S classes that the sample rate is different than 44100? The classes use AUDIO_SAMPLE_RATE to set the mult/div parameters correctly?
Chip
I just tried at 44.1kHz by recording audio from my Tympan via USB to the PC. I used the microphones on-board the Tympan and talked into them. I recorded the audio on the PC in Audacity.
I...
Sweet!
This is probably old news since you appear to have it working, but...
With the Tympan_Library, I write 4-channel WAV files all the time. I always use 16-bit int, but I do a variety of...
I got sidetracked debugging an unrelated Bluetooth issue today. I didn't get to do any USB trials.
Thanks!
Btw, high sample rates might not be relevant for audible audio but the high sample rates are very helpful when exploring ultrasound (mice, rats, bats) or when delightfully mis-using the...
Hi Frank,
I need my hand held a bit on this. I'm only used to installing the core stuff from the Teensyduino installer.
To try your stuff, do I need to download your whole repo and drop it on...
Installed Arduino 1.8.15 and then installed TD 1.54. no installation problems.
I compiled a complex sketch for T4.1 (Tympan RevE) using my floating point audio library which uses a the new SD...
Since someone brought up MTP, it'd be great if the Teensyduino's experimental MTP support could be switched to a real Serial (per the MTP library's readme) rather than the emulated serial that comes...
I forgot to mention that I did a blog post discussing my latency measurements and the impact of these different system settings. You might be interested:
...
Some of us have done extensions to the audio library in order to support floating point math, instead of just the fixed point math used by the Teensy audio library. In some of these libraries, the...
And I can vouch for Blackaddr's Teensy-based Guitar Audio Shield. It's fun!
There are several other folks who have done this, so you could look at their solutions.
The OpenAudio library and Tympan_Library both derive from my way of extending the teensy audio system to...
Seems to work great!
Thanks!
Is there a notional schedule for releasing 1.54? It's been brewing since October...
The switch to the Greiman SD is such a game changer. It's so much better than the kludge that I (and my users)...
This is so nice and tight! It doesn't seem to work for Teensy 4, however (I get negative values). Is there any easy mod to get it to work for both T3 and T4?
Chip
Thanks for the info.
When i followed your instructions, just after installing the PlatformIO extension, it said that it needed Python. I followed the instructions (such as they were) and chose to...
The TI codec I'm most familiar with is the AIC3206. TI divides the technical details between the datasheet and the "Application Reference Guide". The details about the decimation filter (ADC) and...
In the audio codecs from TI, the DAC's reconstruction filter is usually a similar length to the ADC's decimation filter. So, the latency is similar through the DAC and through the ADC.
These...
Funny, I thought that the main benefit of FIR was linear phase. If one wanted a minimum phase filter, yeah, you can also do that as an FIR, but you could use an IIR and it'd be more computationally...
Ah, thanks for the clarification!
>>> the Teensy 4.x shall be considered as not having RTC user memory
Does this mean that the RTC on Teensy 4.x doesn't work? Or, maybe you mean that RTC does function on T4.x but that it's not...
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...
So excited!
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...
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...
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?
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...
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...
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...
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...
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...
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! ...
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...