Alot of nonsense work for a small victory...
Went backthrough and read all the audio stuff and interrupt common notes.
I had IntervalTimer, for my main audio collection ISR to default interrupt...
Type: Posts; User: josechow
Alot of nonsense work for a small victory...
Went backthrough and read all the audio stuff and interrupt common notes.
I had IntervalTimer, for my main audio collection ISR to default interrupt...
Further troubleshooting, being verbose to help reason through my thought process (may be wrong).
Wrapping the audio_queue.getBuffer() with audio_queue.available(), prevents the sketch from...
Yup, I think you are right.
The sending teensy is checking queue1.available() every 100uS. So an audio packet is arriving up to 100uS late sometimes, assuming all other timing operations the same...
Hey rcarr,
thanks for the reply. I did some testing with that assumption, and it holds. I did have the code after the serial reads, but I had to take care of timing correctly and account for...
Hmm... I send 260 bytes of data from one teensy 3.2 to another to transmit audio data on serial1 for real time audio transfer.
I can't be much more help unless you post code.
My serial1.c tx and rx serial buffers are both 512 bytes, and I don't have any problems. Not sure about serial6?
Hey All,
System Overview: Teensy 3.2 connected to SGTL5000, ili9341 touch screen display, and RS-485 on TX1/RX1 for audio retrieval and playback
Problem: Hang up of audio library when calling...
Successfully employed one of the fonts using the Adafruit font library
10808
A bunch of missing functions and descriptions, but it is working. Uploaded here just in case I lose a copy.
10809
Yeah, I had a problem with browser history when you told me the steps I was used to. I thought the layout changed on the forum when in actuality it was Chrome just being stupid and not loading the...
Hey All,
I am working on a ili9341_t3 port into Excel in VBA. I was tired of dreaming up the layout and uploading each time, so I wanted to preview the displays I built with the library before I...
10498
Picture Description
1. Audio Source
2. Recording Teensy - Push queue samples over Serial1
3. Playback Teensy - Receive queue samples over Serial1
4. Audio Output
Important Notes:
-...
I can confirm, this is true. Pumped in a sinuisoid on one teensy, serial over, and the output on the other teensy didn't show any drops or duplications or phase cut-ins when I looked on my scope. I...
I will try that then and avoid the DMA stuff for now. I have had success with lower frequency bidirectional (around 4800 baud), but I haven't tried pushing the speed. I really do need to send some...
Thank you for your reply, however my main reason for going to digital transmission is because the power and ground connection between the two teensy's is very very noisy causing cross talk on the...
fitty feet (50ft)
10381
Above is my top level physical layer. In essence, I want to DMA 2 bytes of separate memory data + 31 samples of 16bit audio from the SGTL5000, push it to the serial bus at 1M Baud through...
I ended up burning up a couple of the outputs somehow, and I gave up on it. I moved over to the PCA9685 which is more of what I was looking for (voltage control vs. current control)
So I did a simple LTSpice simulation of a reverse polarity and soft-start setup that I would like to implement. Can anyone find any fault in the following design?
V(n002) blue = Input voltage 24v...
I should have phrased it better. But Epyon and Michael got what I was getting at. It was more of an approach kind of thing. I have never learned or was taught how to organize or manage multi-platform...
Thank you so much... Sincerely, thank you for the experience and knowledge!
Hey all,
So I have a very interconnected system that tosses information back and forth between two teensy 3.2's, an arduino nano, and several peripherals. Is there an easy way to manage the chaos...
Absolutely not! I've seen a couple of your posts about DmxSimple. I was thinking of using mathertel's library since I saw you posted a request to fork the library and implement other chipsets. So I...
Hey all,
This is a paper verification I would like to understand before I go ahead and test. I am working with an atmeag328.
So I would like to perform serial communication between multiple...
Thank you!
I found this link to a similar question, after some digging... though it didn't answer the question.
https://forum.pjrc.com/threads/27128-Teensy-Audio-board-ADC-DAC
I intend to feed a 6v dc...
I have never seen a polarized surface mount capacitor that wasn't marked, but based on the schematic there is a 2.2uF polarized capacitor between left/right channel to LINEINL/LINEINR to the SGTL5000...
Hey all,
So I am curious as to how everyone manages the chaos when making schematics before going to laying out traces. Obviously small resistor networks and simple circuits don't require much...
Thanks Paul! Always insightful and then some.
Using the Teensy 3.2
So I know there is an analogRead and Audio library conflict. In reference to page 649 of the K20P64 manual, this is due to conflicting ADC setup requirements for each, I am...
Like this Ben?
7304
I should have uploaded this before. I need the interconnecting cable to minimize the number of chords between the two controllers.
DAC it out to an amplifier. I would run the analog signal the entire way instead of digital, but in parallel with the audio line is power and i2c lines for other communication needs; So I get a dirty...
Yeah... for what ever reason I thought it was the same as I2C. I forgot what speeds are involved here. The work around I suppose would be an FFT on the incoming data and send the bin values over I2C...
Hey,
So I was wondering if it is easy to setup an external teensy 3.2 to listen to the audio shield's digital audio data while the audio shield is being controlled by another teensy 3.2....
Oops... Forgot to mention that step...
So I figured out that the random transition was due to the DC, or "dot correction" constant current sink looking up values in accordance with the DC register that wasn't already coded (this is...
Hello,
So. I have been doing some digging in the TLC5940 library and I wanted to pop the hood on the library and get faster pwm frequencies.
I have modified the configuration to accept a 16mhz...
From your example, it doesn't seem as though you have enough time to do this determination reliably and within the constraints of the perceivable human reaction time. From my research and what I can...
hmm,
I haven't had that error, but I have had the "untrusted program" while INSTALLING teensyduino as well as "unsigned driver" when getting the driver installed. I had to do a bunch of...
You are welcome, just trying to contribute.
Also, I posted this question and solved it this morning, but the TFilter requires an even numbered filter array from the various tests I did. Could you...
Used the default example and just started cutting down the number of sample points and it turns out odd number of filter elements caused failures. Re-ran the tfilter design tool and added 1 to the...
Code below works for pass thru, and compiles for implementing the low pass filter, but does not output anything on the dac or respond to serial. I am at a loss. Does the filter need to be of a...
Link was broken for the FIR filter description which points to the TFilter design tool. Points to an appspot address that says "Sorry, nothing at this URL".
I believe this is the correct one....
Is there a burried function somewhere in the Audio library to bring out the value of the DC offset? Or modify it?
Right now, I have to read the average value over the entire block of samples, and...
I have not used notefreq(), but I do know there are quite a few algorithms out there that do it; it mainly depends on your needs. As WMXZ said, there is a nice link to the discussion with almost...
Hi,
Just a small note. The Flange description in the audio system design tool has one of the methods labeled "modify" when it should be "voices". Just a small thing I noticed. If I had the coding...
fixed.
Below is my example code showing how I grabbed the AUDIO library data using bufferRead() and I processed the data using AMDF (autocorrelation magnitude difference function) and HPS...
Here's the full code with the Audio object commented out. Uncommenting it back into the code you'll see a funny thing happen with the samples in the "All reduced time operations" if statement of the...
To which one where you referring? The ADC object running in conjunction with the AUDIO library or my soon to be revision? I can concatenate the relevant pieces if you want to try it. Ill upload that...
After a little more digging into the Audio library I found that I could grab the DMA data directly in chunks using readBuffer()
uint16_t buffer[256];
memcpy(buffer,...
From what I read in multiple of Pauls posts is that the Audio Library is hardcoded to 44.1 kHz. (and it seemed pretty harder to change since everything was designed around that number).
Well...