Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • grinch's Avatar
    Today, 02:12 AM
    Yeah I was already thinking of trying this. Got a couple Teensy 4.0s in the mail, and I'm going to see if it works any better once I switch them out. I've been looking on github for the Teensy4 core equivalent of...
    9 replies | 108 view(s)
  • grinch's Avatar
    Yesterday, 04:36 AM
    This is the case. I set my interval timer priority to 0 in order to ensure it is completely sample accurate. I'm not exactly sure how this interacts with other timer priority stuff, but it is the highest priority that...
    9 replies | 108 view(s)
  • grinch's Avatar
    05-26-2020, 09:31 PM
    Hey all, this is mostly working well, but I'm experiencing an issue with dropped audio frames. Would be incredibly helpful if y'all were able to advise. Made a post about it here: POST
    13 replies | 221 view(s)
  • grinch's Avatar
    05-26-2020, 09:28 PM
    I'm really hoping Paul or someone else with in depth knowledge of the audio library can weigh in on this. My code is doing a multithreaded thing with two layers of interrupts, and I'm thinking that the dropouts may be a...
    9 replies | 108 view(s)
  • grinch's Avatar
    05-26-2020, 09:25 PM
    Hmmm... tired that out, doesn't seem to have much effect. When I compiled as debug there was a lag before dropouts started occurring but then they come back at the same rate as before. Was worth a shot though.
    9 replies | 108 view(s)
  • grinch's Avatar
    05-26-2020, 04:24 AM
    Here is the Max Patch I am using to test this. It sends a constant value of 8.0 / 32767.0 out of the left audio channel, which gets read as 0B00001000 in binary on the Teensy end, which corresponds to the 4th pin of my...
    9 replies | 108 view(s)
  • grinch's Avatar
    05-26-2020, 04:06 AM
    Hi, I am working on a Teensy 3.6 audio project where I am controlling an array of shift register outputs via a USB audio stream from Max/MSP. I've written a custom object to transfer the data from audio frames to the...
    9 replies | 108 view(s)
  • grinch's Avatar
    05-23-2020, 10:12 PM
    Actually working quite well now. The digitalWriteFast() function helped a ton. Removed a bunch of wobble from the waveform. I'm also calling the latch write first thing in my output function, so that it calls...
    13 replies | 221 view(s)
  • grinch's Avatar
    05-23-2020, 07:09 AM
    So I actually got a dirty proof of concept version of this working using a circular ring buffer and the IntervalTimer object. I've got a custom output object written that copies incoming audio blocks to an array, which...
    13 replies | 221 view(s)
  • grinch's Avatar
    05-23-2020, 12:00 AM
    I don't think DMA will work for my specific application. While there may theoretically be a way to hook up DMA transfers to a SPI buffer, in this case I need to transfer 64 bits at a time, and not have the chip select...
    13 replies | 221 view(s)
  • grinch's Avatar
    05-22-2020, 04:39 AM
    Do all the audio output objects rely on the DMA object interrupt? What would you recommend using as a timing source for an output that doesn't use DMA?
    13 replies | 221 view(s)
  • grinch's Avatar
    05-21-2020, 10:40 PM
    Hi, I am working on a project for which I'd like to write a custom output object for the Teensy audio library (using Teensy 3.6). To this end I have been studying the existing output objects in the Audio Library github....
    13 replies | 221 view(s)
No More Results
About grinch

Basic Information

Statistics


Total Posts
Total Posts
33
Posts Per Day
0.07
Last Post
Dropped Frames Using AudioInputUSB Object Today 02:12 AM
General Information
Last Activity
Today 02:12 AM
Join Date
03-11-2019