Take a look at this:
Anti Alias filters on SGTL5000 (pjrc.com)
Type: Posts; User: AlanK
Take a look at this:
Anti Alias filters on SGTL5000 (pjrc.com)
Hi Anna,
That sounds reasonable for that chip.
If you want a faster response then you need to look at the thermal setup - using the thermal pad on the chip and perhaps forcing air past it if...
Hi Anna,
How long is it taking to fully change temperature?
All the best,
Alan
Hi,
You should be able to use the calcBiquad function here:
Audio/control_sgtl5000.h at master · PaulStoffregen/Audio · GitHub
Hi Ben,
I've used JLCPCB for PCBs. They are very good value and I've never had any problems with quality. The minimum order quantity is 5. I've used EasyEDA (online) for design - it's relatively...
Hi,
The five values you pass to sgtl5000_1.eqBands must all be between -1.0 and 1.0. You can set all five gains using that command - or you have the option of using sgtl5000_1.eqBand to change any...
Hi,
Take a look at the example
EXAMPLES|TEENSY|USB_MIDI|InputFunctionsComplete
It should help you,
All the best,
Alan
Thanks Paul,
That's great. I'll give it a try soon when I get time,
All the best,
Alan
Hi,
Could this file system be made to operate with multiple flash chips on SPI, each with individual CS pins? That would be very useful for some audio applications.
Hi,
That does seem to be a fairly robust way of doing it - well done!
So, if for sample n, you compare the sign of the sum of d(n-9) to d(n-5) with the sign of the sum of d(n-4) to d(n), where...
Hi,
Fitting a straight line to the slope of your curve is similar to fitting a quadratic to the data - they will give very slightly different results but the difference will be negligible.
Fitting...
I use EasyEDA. It was recommended to me by a colleague with lots of experience, and I've had no problems with it.
Hi Steve,
I'm using those boards but with hardware SPI. Are you sure that board will work with a 3.3V supply? I'm using 5V. Have you checked what the voltage is at the 3.3V output on the breakout...
Here's one suggestion. This
int n = 7-ceil(log10(data));
sprintf(dn, "%.*f",n, data);
will convert 7 significant figures, which are all that are accurately stored in a float, but will include...
Hi,
You'll find code to calculate biquad filter response here:
https://forum.juce.com/t/draw-frequency-response-of-filter-from-transfer-function/20669/2
Hi,
This is just a suggestion - I haven't tried it. The AudioOutputUSB object doesn't cause the library to update, but adding the AudioInputI2S does so that's why that version works. Perhaps the...
I got one of these:
https://lcsc.com/product-detail/RAM_Lyontek-Inc-LY68L6400SLIT_C261881.html
from LCSC. On paper, it looks suitable, but I haven't tested it yet with a Teensy 4.1. I hope to do...
Hi Chris,
I have it working with two flash chips using SPI (using pins 6 and 10 for chip selects), implemented in the simplest brute force way. To play raw files simultaneously from both, I've...
Hi,
The Micron N25Q00AA 1Gb flash chip stated to work with SerialFlash appears to be obsolete. I can confirm that the newer Micron MT25QL01GBBB1EW9-0SIT also works
Hi Ricardo,
Yes. For example
int x = GPIO6_DR;
All the best,
Alan
Hi,
The list below has the Teensy 4.0 pins and the corresponding registers and bit numbers. The registers are 32-bit. A read from GPIO6_DR will get all 32 bits but only 12 of them correspond to...
Thanks Chris,
I'm using a Teensy 4.1, so there are three SPI busses available. I'll try with two flash chips on two busses and see if I can get that to work - I'll let you know if I've any success,...
Hi Chris,
I'm trying to do the same thing using a Teensy 4.1. I have two flash chips on the SPI bus, have copied raw files to both, can play from both separately, but my attempts so far at playing...
Sorry for posting to the wrong place. It happens in Chrome (Version 84.0.4147.105 (Official Build) (64-bit)) and in Edge (Version 84.0.522.52 (Official build) (64-bit)). The problem is not with...
Hi,
There's a minor bug in the design tool. If, for example, you drag on one Mixer, and then copy and paste that Mixer, the two are named Mixer1 and Mixer2. If you then drag on another mixer,...
Hi Paul,
Thanks for clarifying that,
All the best,
Alan
Hi Paul,
I didn't - it was working with AUDIO_BLOCK_SAMPLES set to 32 on a 4.0 using an audio shield for output. I've been working on other aspects of my software, and have moved to a 4.1 -...
Hi,
Could the fixing of USB Audio for Teensy 4.x have introduced a problem when
AUDIO_BLOCK_SAMPLES is changed?
Hi,
I had reduced AUDIO_BLOCK_SAMPLES to 32 previously to reduce latency in an audio project and it worked perfectly (and significantly reduced the latency). That was using a Teensy 4.0 with audio...
I agree - there are lots of potential problems. The speed of sound in air is highly temperature dependent, so you'll have difficulty getting accuracy of +/-1mm over a 20cm range for that reason alone...
Hi,
What about having a single tone produced at A, a second tone at twice that frequency produced at joint 2 (or some other fixed distance from B), with both synchronised, and a microphone at B? Use...
Hi,
I don't have the answers to some of your questions, but, with a Teensy 4.0, I can reliably send 18 byte chunks 50,000 times per second over Serial USB. My data is coming from an external ADC...
Hi,
Look here and here for the answer and how you might extend it if you want
Sorry,
You didn't say you were using an LC - you can't use name.c with it. Try looking at this thread - it seems to give a solution. I've no experience with the LC so I can't do much more than point...
Look at the thread here
Hi,
Try adding
Serial.setTimeout(1);
after Serial.begin.
Could it be left flexible enough so that two flash (or two PSRAM) chips could be recognised?
Hi,
At what rate do you want to transfer data, and how are you receiving it on your PC? I have an application
, for example, that transmits serial data from a Teensy 4.0 over USB at roughly 200...
Hi,
There's a similar thread here that may help you. What I would advise you to do is first try things the easiest way using the audio library to play samples directly from the SD card. If you find...
Hi,
I haven't seen them, but I presume that, because of the duplication, most of the pogo pins could be 0.254 apart. Only two would have to go to pads that are adjacent. I don't know how long the...
Hi,
I would expect you to get the same result as before -
45.0001182 or
45.0001183. You won't do any better than that if you convert the result to a float.
If you need more accuracy that that,...
Hi,
Round-off errors in floats limit the accuracy to roughly seven significant figures - not seven decimal places
Yes, the upper 16 bits of GPIO6_DR are mapped to pins 19 (bit 16), 18, 14, 15, 40, 41, 17, 16, 22, 23, 20, 21, 38, 39, 26 and 27 (bit 31) on the 4.1.
Hi,
I've used a HC-05 connected to a Teensy 3.6 and powered directly from VIN (5V). The logic pins are 3.3 V. Some HC-05 modules have a button for forcing them into AT mode - that will make life...
Thanks for clarifying that. I'm thinking about accessing those pads using pogo pins - I have two 1Gb flash chips but they are SOIC-16.
All the best,
Alan
Hi,
A SOIC-8 chip is quite easy to solder - but I would recommend getting a magnifier if you don't have one. I can do it despite shaky hands and bad eyesight!
When I said layered sounds, I meant...
Answering your original question, I would advise you to first convert the sound files to RAW format (you could use Audacity, for example). RAW files don't have headers so it will be easier for you to...
Hi,
The three RAM/flash chips Paul has tested all have 1.27 mm pitch as far as I can tell. Is that the pitch for both sets of pads?
Hi,
If you use a flash memory chip soldered onto the Audio board (i.e. using SPI) then, from experience, you should not have a problem playing enough simultaneous samples for a drum machine using...
Hi PDOS,
Sorry for giving wrong information. I'm not in a position to check my original setup at the moment - it's in my office and I can't go there,
Good luck