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

Search:

Type: Posts; User: josechow

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Alot of nonsense work for a small victory... ...

    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...
  2. Further troubleshooting, being verbose to help...

    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...
  3. Yup, I think you are right. The sending teensy...

    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...
  4. Hey rcarr, thanks for the reply. I did some...

    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...
  5. Replies
    14
    Views
    7,150

    Hmm... I send 260 bytes of data from one teensy...

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

    My serial1.c tx and rx serial buffers are both...

    My serial1.c tx and rx serial buffers are both 512 bytes, and I don't have any problems. Not sure about serial6?
  7. (Solved) Teensy 3.2 with audio, serial, and ili9341 touchscreen hangup problem

    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...
  8. Successfully employed one of the fonts using the...

    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
  9. Yeah, I had a problem with browser history when...

    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...
  10. Simulating ili9341_t3: request help with drawChar()

    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...
  11. 10498 Picture Description 1. Audio Source 2....

    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:
    -...
  12. I can confirm, this is true. Pumped in a...

    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...
  13. I will try that then and avoid the DMA stuff for...

    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...
  14. Thank you for your reply, however my main reason...

    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...
  15. fitty feet (50ft)

    fitty feet (50ft)
  16. Solved: I2s to Serial through DMA with bidirectional serial traffic

    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...
  17. I ended up burning up a couple of the outputs...

    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)
  18. Soft Start Circuit, review and critique requested

    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...
  19. Replies
    7
    Views
    2,214

    I should have phrased it better. But Epyon and...

    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...
  20. Replies
    7
    Views
    2,214

    Thank you so much... Sincerely, thank you for the...

    Thank you so much... Sincerely, thank you for the experience and knowledge!
  21. Replies
    7
    Views
    2,214

    Coding structure and guidance

    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...
  22. Absolutely not! I've seen a couple of your posts...

    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...
  23. Maximum baud of AltSoftwareSerial with other serial communication hardware present

    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...
  24. Thank you!

    Thank you!
  25. I found this link to a similar question, after...

    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...
  26. Teensy Audio Shield Capacitor's are not polarized? Right?

    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...
  27. Schematic building tips, tricks, and tools. How do you manage the chaos?

    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...
  28. Thanks Paul! Always insightful and then some.

    Thanks Paul! Always insightful and then some.
  29. Just verifying that Audio library does not conflict with analogwrite

    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...
  30. Like this Ben? 7304 I should have uploaded...

    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.
  31. DAC it out to an amplifier. I would run the...

    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...
  32. Yeah... for what ever reason I thought it was the...

    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...
  33. Teensy listen to audio shield without controlling it

    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....
  34. Replies
    38
    Views
    13,497

    Oops... Forgot to mention that step...

    Oops... Forgot to mention that step...
  35. So I figured out that the random transition was...

    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...
  36. Changing TLC5940 library to facilitate higher frequency PWM

    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...
  37. Replies
    38
    Views
    13,497

    From your example, it doesn't seem as though you...

    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...
  38. Replies
    35
    Views
    5,970

    hmm, I haven't had that error, but I have had...

    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...
  39. You are welcome, just trying to contribute. ...

    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...
  40. [SOLVED] filter declaration must be of an even number

    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...
  41. FIR filter doesn't work after using TFilter design tool

    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...
  42. TFilter link is broken. (Audio design tool Description for FIR filter)

    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....
  43. Replies
    0
    Views
    1,143

    Audio samples dc offset

    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...
  44. Replies
    38
    Views
    13,497

    I have not used notefreq(), but I do know there...

    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...
  45. Replies
    1
    Views
    1,324

    Audio System Design Tool Typo

    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...
  46. Replies
    8
    Views
    1,812

    fixed. Below is my example code showing how I...

    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...
  47. Replies
    8
    Views
    1,812

    Here's the full code with the Audio object...

    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...
  48. Replies
    8
    Views
    1,812

    To which one where you referring? The ADC object...

    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...
  49. Replies
    8
    Views
    1,812

    After a little more digging into the Audio...

    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,...
  50. Replies
    8
    Views
    1,812

    From what I read in multiple of Pauls posts is...

    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...
Results 1 to 50 of 64
Page 1 of 2 1 2