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

Search:

Type: Posts; User: emertonom

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    20,235

    Thanks for the tips! In fact both the mic and...

    Thanks for the tips! In fact both the mic and preamp are now working fine--I just hadn't connected things correctly. Once I corrected it to match the design in the preamp's datasheet, it worked...
  2. Replies
    18
    Views
    20,235

    @JBeale: Duly noted. The crummy power supply is...

    @JBeale: Duly noted. The crummy power supply is just for proof-of-concept testing and experimentation--it offered the dual virtues of "having +/-5v and +/-12V" and "being in the same room." :) ...
  3. Replies
    18
    Views
    20,235

    Also: I'm an idiot--the INA 217 data sheet shows...

    Also: I'm an idiot--the INA 217 data sheet shows the wiring for the mic, both with phantom power (non-electret condenser mics) and without (dynamic mics). Not sure why I forgot about that, because I...
  4. Replies
    18
    Views
    20,235

    Found this blog post:...

    Found this blog post: http://hifiduino.wordpress.com/2012/09/12/teensy-3-0-with-i2s-interface/
    which links to an Application Note: http://cache.freescale.com/files/32bit/doc/app_note/AN4369.pdf
    ...
  5. Replies
    18
    Views
    20,235

    Of course--I'm more than happy to share my code. ...

    Of course--I'm more than happy to share my code. It's nice to hear from someone else who's interested in the same sorts of applications.

    Output isolation is definitely a good suggestion. I'm...
  6. Replies
    18
    Views
    20,235

    As promised, finally, "playback.cpp": ...

    As promised, finally, "playback.cpp":



    #include "playback.h"

    volatile int current_sample;
    int16_t buffer1[MAX_SAMPLES];
    int16_t buffer2[MAX_SAMPLES];
    volatile boolean using_buffer1;
  7. Replies
    18
    Views
    20,235

    Sure, yeah. I know the chip is deprecated, but...

    Sure, yeah. I know the chip is deprecated, but since this is a one-off project, the DIP format seemed extremely appealing to me. I'm not very good at soldering, and the surface-mount components are...
  8. Replies
    18
    Views
    20,235

    Thanks, that was exactly what I needed! Here's...

    Thanks, that was exactly what I needed! Here's my line for NVIC_SET_PRIORITY, since that's not currently implemented in mk20dx128.h:

    #define NVIC_SET_PRIORITY(n, p) (*((volatile uint8_t...
  9. Replies
    18
    Views
    20,235

    Ah! Thanks, I never would have figured that out....

    Ah! Thanks, I never would have figured that out. I'm going to try that out now!
    Thanks,
    -Nick
  10. Replies
    18
    Views
    20,235

    Looking at the WaveHC library from the AdaFruit...

    Looking at the WaveHC library from the AdaFruit Audio Shield, it looks like they got things working pretty well by using double-buffering (one to fill while the other plays, with tiny buffers--only...
  11. Replies
    18
    Views
    20,235

    Teensy 3.0 and audio

    Hi all.

    So, I'm trying to build an audio recording and playback device using Teensy 3.0. I'm pretty new at this stuff--I've been coding for years, but the hardware stuff still kind of feels like...
Results 1 to 11 of 11