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

Search:

Type: Posts; User: caleb

Search: Search took 0.00 seconds.

  1. Yup, that's pretty much what I ended up doing. ...

    Yup, that's pretty much what I ended up doing.

    Thanks, -C
  2. I should have known you'd have an easy way to do...

    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 ;-)
  3. Ah! Thanks for the reply. Sounds about as...

    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,...
  4. HOWTO develop teensy framework in structured manner?

    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...
  5. Just realized, this is also a problem with tdm2. ...

    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
  6. input_tdm bug: every other sample on odd channels is swapped

    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...
  7. Replies
    24
    Views
    5,935

    I'm working on this right now too :-) Though...

    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...
  8. Patches for running USB audio at other audio rates (8000, 16000, 32000, 48000, etc)

    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...
  9. Hi there, I've been developing with the...

    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...
  10. Replies
    36
    Views
    16,073

    Hi there, Just to make things even easier, I...

    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...
  11. Replies
    16
    Views
    6,488

    Here's a modified version that can simulate...

    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...
  12. Replies
    16
    Views
    6,488

    Yes. I just typed that pseduo-code off the top...

    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...
  13. Replies
    16
    Views
    6,488

    Oops, posted too soon by accident: By the way,...

    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...
  14. Replies
    16
    Views
    6,488

    By the way, did you consider generating a sine...

    By the way, did you consider generating a sine wave with a phasor?
  15. Replies
    16
    Views
    6,488

    I checked your sine table, and at exact multiples...

    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...
  16. Replies
    16
    Views
    6,488

    Okay, I measured the IMD using the built-in...

    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......
  17. Replies
    6
    Views
    2,157

    FYI, I just created a little patch that seems to...

    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
    ...
  18. Replies
    16
    Views
    6,488

    Duty cycle isn't critical (sort of). If it's 66%...

    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...
  19. Replies
    16
    Views
    6,488

    No, really, the codec sees MCLK independently of...

    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...
  20. Replies
    16
    Views
    6,488

    Well, just look at the trace I posted. Count the...

    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.
    ...
  21. Replies
    6
    Views
    2,157

    Thanks, -Caleb

    Thanks,
    -Caleb
  22. Replies
    16
    Views
    6,488

    Teensy Audio: MCLK is not stable

    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...
  23. Replies
    6
    Views
    2,157

    Audio tool generation bug: renaming nodes

    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.
    ...
  24. Replies
    1
    Views
    1,262

    Website bug: bugzlilla link forbidden

    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...
Results 1 to 24 of 24