Can you use a USB midi dongle connected to the host? This will show up as an available USB MIDI device to JUCE, then talk to the Teeny over the usual MIDI connectors.
Example USB midi dongle
MIDI circuits with...
There is a way to restructure the metadata in a fairly backwards compatible way. I tried this out and it it worked on my setup.
1) Modify the audio_block_t to contain (int16_t*) instead of a fixed array (int16_t)....
The aversion to memcpy is every single word copied takes multiple CPU instructions from the various load-stores. At 44 Khz, you're talking a couple hundred thousand instructions per second for a single stream. If you...
Thanks WMXZ for taking the time to read and comment, the help is appreciated.
I looked over the output_i2s.cpp, you're right WMXZ, the output_i2s.cpp creating a local 32-byte aligned i2s_tx_buffer for DMA. It uses...
I don't think you're missing anything. Memory comes down capacity, latency and throughput (let's ignore power for now). So I guess it comes down to how much of your customer base needs something better than QSPI to...
ISSI is probably the cheapest alternative (well, a little bit cheaper than Cypress) ignoring all the Chinese-only market stuff. You can get 64Mbit for about $5 USD in production quantities. Would I recommend it being on...
FORM FACTOR - keeping the T3.6 form factor would be great
RAM - adding a big chunk of reasonably fast ram would be ideal. A single HyperRAM chip on board would be my suggestion in 64Mbit or 128Mbit variety. This will...
Once again, thanks for your time Paul.
- just to be clear, please note my suggestion is the AUDIO_BLOCK_SAMPLE sized audio data buffers (audio_block_t.data) must be be 32 BYTE aligned for DMA, not 32-BIT aligned.
...
Hi Paul, thanks for the reply. I've looked at the cache functions in quite some detail as I've been investigating this issue for about 2 months so I'm happy to wait a few more weeks. I've also had about half a dozen...
Any developers who contributed to the Audio library or DMA development care to comment on this? I'd like to get some validation or discussion before submitting a bug report on github.
Once again, in summary it's not...
I've been looking at lot at the T4 memory structure lately as i've been having problems with cache coherency.
@defragster, perhaps you can clear up any misconceptions.
I'm pretty sure the TCM (FlexRAM) is not...
You can also use SPI ram for delay. My audio board uses 4Mbit chips. One of these chips gives about 6 seconds of single-channel delay, the equivalent of 2048 audio blocks. You can use the SPI interface directly (like...
Cool! In order to use the built-in allocate() and release() functions (which would let you avoid implementing a pool manager) you must inherit the AudioStream class, otherwise you'll need to hack the code out in a...
Okay, I was able to reproduce this issue with the Teensy Audio Shield. Maybe someone with a working Teensy 4.0 and audio shield using LINE IN left can give this a try?
The sketch is written to send audio to/from the...
After months of struggling to get DMA SPI memory working with the T4 OCRAM I think I finally found the problem, and I think it's in AudioStream.h. Basically, I'm getting audio buffer corruption when the Audio buffer...
I'm not sure how you could possibly think you got scammed. Mixed signal (analog and digital) design is tough, period. The built-in ADC is not intended for high quality audio applications like guitar effects, it's only...
The schematic is available for free in the datasheet found on the product page. You are welcome to take a look at the preamp and analog power design for use in your own circuit.
My TGA Pro audio shield has everything on board, ready to go, no soldering needed. Properly designed power and layout to isolate the analog from the digital stuff as much as possible. It recently sold out but I'll have...