Yup, that's pretty much what I ended up doing.
Thanks, -C
Type: Posts; User: caleb
Yup, that's pretty much what I ended up doing.
Thanks, -C
I should have known you'd have an easy way to do it my friend!
Does it work for cores as well? I suppose I could test it myself ;-)
Ah! Thanks for the reply. Sounds about as ad-hoc as what I was doing :-)
I just found a method with platformio that actually works reasonably well:
I do a clone like you did of the libraries,...
Hi All,
I'm editing and updating code in the teensy framework, fixing buts, etc.
Is there a preferred way to check out all the teensy repos from github, and edit them, rather than use the...
Just realized, this is also a problem with tdm2. updated the pull request to include both tdm, and tdm2.
https://github.com/PaulStoffregen/Audio/pull/428
-Caleb
Hi there,
I found a bug in the Teensy audio library, TDM, where every other sample on odd channels is swapped. That is, on channels 1, 3, 5, 7, 9, 11, 13, 15, the odd and even samples are...
I'm working on this right now too :-) Though making it N channels for rx and M channels for tx. There's no reason to stop at 4. I'm refactoring the code to get rid of all references to 'left' and...
Hi All,
I've created a patch that allows USB audio rate to track the AUDIO_SAMPLE_RATE. This lets you defined AUDIO_SAMPLE_RATE at compile time, and stream USB audio from the computer a rate...
Hi there,
I've been developing with the MIMXRT10xx, and can say with confidence that ERR050101 is an egregious bug in the chip. It's a problem specifically with the 1062 rev A silicon, and ALL...
Hi there,
Just to make things even easier, I just submitted a pull request here that makes it a compiler #define.
https://github.com/PaulStoffregen/cores/pull/199
Also, by editing the...
Here's a modified version that can simulate different fixed point numbers (badly).
from numpy import *
from pylab import *
fs = 44100.0
frequency = 12001 # some oddball frequency not a...
Yes. I just typed that pseduo-code off the top of my head. :-)
Well, in c++, you can make a complex number type that does the complex multiply.
But, a complex multiply goes like this: to...
Oops, posted too soon by accident:
By the way, did you consider generating a sine wave with a phasor?
If you store state as a complex number, then you can simply calculate the next sample my...
By the way, did you consider generating a sine wave with a phasor?
I checked your sine table, and at exact multiples of the fs/256 frequency, it was quite accurate. But I checked with the hires just to see, and the results are virtually identical. Very very minor...
Okay,
I measured the IMD using the built-in sine generators (so I didn't have to use the ADCs -- which are very noisy for my setup... will be a subject of another post), and the results say......
FYI, I just created a little patch that seems to fix the problem for me.
I have not extensively tested it, but it works for my purposes.
https://github.com/PaulStoffregen/Audio/pull/182
...
Duty cycle isn't critical (sort of). If it's 66% high/33% low, that's fine as long as you meet the timing requirements of the chip. It's the timing of the successive rising (or falling) edges that...
No, really, the codec sees MCLK independently of LRCLK. It's MCLK that drives the delta sigma converters, utterly independently of LRCLK. It's MCLK alone that matters here. LRCLK and BCLK can...
Well, just look at the trace I posted. Count the first rising edge in the center of the screen. The next rising edge is at one of 2 locations, either 90ns or 82ns later.
...
Thanks,
-Caleb
Hello,
I love the Teensy audio board (just got it yesterday). However, the audio clock MCLK is not stable, which is the cause of some icky distortion.
7242
In the attached image, you...
Hi All,
Fantasic job on the Teensy and the audio library! This makes my little project super easy!
I just had a report of a bug on the audio tool code generator when I rename the nodes.
...
Hi Paul,
Just reporting a bug in the website: The home page has a link to buzilla to http://pjrc.com/bugzilla/. But if I click on it, it I get a big 'Forbidden' message.
Not sure if this is...