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

Search:

Type: Posts; User: bmillier

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. I forgot to mention that I am using the Teensy 4.0

    I forgot to mention that I am using the Teensy 4.0
  2. Problems converting Aud.lib wavetable synth example from FLASh based samples to RAM

    Hi: I'm not having much luck converting the audio library wavetable synth example which stores the sample data entirely in FLASH (i.e. compiled with the program thru .cpp and .h include files for the...
  3. Hi Frank: I have a bit more info about this...

    Hi Frank: I have a bit more info about this filter algorithm. I had earlier said that if I fed on a pulse signal to ONLY left (or right) channel, I got identical outputs on both channels. That's not...
  4. Teensy 4.0 Restore function didn't work until I shorted the PROG pin to ground

    After making changes to an existing program I had written, which used CMSIS routines, I made a programming error after which the T4 swamped the Serial monitor with data. I could no longer re-program...
  5. Hi Frank: I’ll have to look at his code. ...

    Hi Frank:
    I’ll have to look at his code.
    Turns out I was wrong about 1)
    “a->idxmask” refers to the idxmask variable in structure “a” . The expression (k+ idxmask) & idxmask seems strange but...
  6. Hi Frank: 1) k= (k+idxmask) & idxmask - this...

    Hi Frank:
    1) k= (k+idxmask) & idxmask - this can’t be right. Probably you meant
    K= (k-1) & idxmask. - this expession is identical to your alternate if statement construct
    2) is correct as stated,...
  7. Hi Frank: Well, I've made some progress. First, I...

    Hi Frank: Well, I've made some progress. First, I just noticed that if I only feed in 1 channel of the stereo pair, I still get the identical output on both channels. So, I think there is something...
  8. Hi Frank: I looked over your resources link. The...

    Hi Frank: I looked over your resources link. The pseudocode you listed is easier to follow than straight C code. Before proceeding, I have to say that my experience is in electronics first, then...
  9. Hi Frank: I noticed that you were running the...

    Hi Frank: I noticed that you were running the new filtering routine at 48000 SR where I use 44100. But, I changed my SR to 48000, and everything continued to work with no pops/crackles. I don't know...
  10. Hi Frank: I loaded your program into my setup...

    Hi Frank: I loaded your program into my setup and it works. I can set Fhigh at 1000 Hz, and the vocal track coming thru has all the high freqs filtered out. I am assuming that the filter cutoff is...
  11. Hi Frank: I’m surprised your audio board isn’t...

    Hi Frank: I’m surprised your audio board isn’t working with short wires. I’m running at 44100 Hz. I notice that unlike the T3x that the T4 provides exactly 44100- I checked on my freq. counter and it...
  12. Thanks manitou- I could understand the CMSIS...

    Thanks manitou- I could understand the CMSIS math/DSP routines being in RAM, as speed is so important there. I just got my T4 yesterday, so I hadn't considered the fact that ALL of the program, const...
  13. Hi Frank: Good to converse with you again. Thanks...

    Hi Frank: Good to converse with you again. Thanks for trying out my convolution audio lib. routine. I was going to do that as soon as I got the Audio shield hooked up (I was using only a PT8211 I2S...
  14. Hi Frank: Good to see you have tried the...

    Hi Frank: Good to see you have tried the convolution filter on T4. You might recall from another, older thread that I had "wrapped" your convolution routine into an Audio library object...
  15. Replies
    11
    Views
    425

    Quadrapel- I ordered my T4s when Paul announced...

    Quadrapel- I ordered my T4s when Paul announced them last week and they showed up in Eastern Canada today (using the cheap mail shipping option. Regards
  16. Replies
    12
    Views
    1,632

    Hi willie.from.texas Thanks Willie. I...

    Hi willie.from.texas
    Thanks Willie. I re-installed Arduino 1.85/Teensyduino 1.44 fresh into a new folder, performed the instructions that I had earlier used for CMSIS 4.5 (substituting the...
  17. Replies
    12
    Views
    1,632

    @Frank B. Yes, the audio library itself accesses...

    @Frank B. Yes, the audio library itself accesses arm_math.h in folder arduino-1.8.7/hardware/teensy/avr/cores/teensy3.
    My FFT convolution filter is completely integrated into the audio library...
  18. Replies
    12
    Views
    1,632

    Thanks WMXY. I tried this using a folder called...

    Thanks WMXY. I tried this using a folder called src/cmsis/arm_math.h" in my sketch folder, and put arm_math.h and associated files in there. I modified my sketch to #include "src/cmsis/arm_math.h" ...
  19. Replies
    12
    Views
    1,632

    Thanks WMXZ. But, I'm not sure what you are...

    Thanks WMXZ.
    But, I'm not sure what you are referring to when you state that arm_math.h is in the Audio library. In my Arduino 1.8.7/Teensyduino 1.44 (and 1.8.5) the Audio library is in folder...
  20. Replies
    12
    Views
    1,632

    Hi Willie: I am interested in your post-...

    Hi Willie: I am interested in your post- specifically the CMSIS 5.3 part. I am the person who posted the Cabinet Simulation thread on this forum. It used CMSIS 4.5, and I installed the required...
  21. Frank: here is the formula from the K66 datasheet...

    Frank: here is the formula from the K66 datasheet (its in a table, but this is the gist of it):
    **********
    MCLK Divide
    Sets the MCLK divide ratio such that: MCLK output = MCLK input * ( (FRACT +...
  22. Yes, the exact SR doesn't matter of course. This...

    Yes, the exact SR doesn't matter of course. This thread was started by DD4WH in reference to his SDR, which uses the PJRC Audio library (which is based upon standard SRs like 44.1, 48K, 96K etc.)...
  23. @vladn: Looks like you've been pretty busy...

    @vladn: Looks like you've been pretty busy working on this.:) The cross-correlation + 1 sample offset in the ISR, while a workaround, is probably the only easy way to correct the problem.
    While I...
  24. Bob: yes, a little math confirmed that 1 sample...

    Bob: yes, a little math confirmed that 1 sample offset would give about 36 degrees phase shift on a 9.6 KHz audio signal (@ 96 kHz SR)
    To change the SGTL to master means writing some new values...
  25. Bob/Derek. Sounds like you've determined for sure...

    Bob/Derek. Sounds like you've determined for sure that a 1 sample offset can occur randomly. Does this single sample error make enough of a phase difference to cancel out the image rejection feature...
  26. Replies
    17
    Views
    2,156

    I just checked out my browser bookmark for the...

    I just checked out my browser bookmark for the Mackie info I had used.It was from an individual, not Mackie. I was going to send it on to you, but unfortunately the link has expired. I'm lucky it was...
  27. Replies
    17
    Views
    2,156

    That was fast- instant feedback :) Aren't...

    That was fast- instant feedback :)
    Aren't forums great!
  28. Replies
    17
    Views
    2,156

    @ lenogi: I've built a MCU-based transport...

    @ lenogi: I've built a MCU-based transport controller which uses the Mackie control surface protocol. I use Sonar DAW software and it works fine. After I have configured Sonar for a Mackie control...
  29. Replies
    11
    Views
    1,940

    Ross- the Vref pin of the MCU is connected to the...

    Ross- the Vref pin of the MCU is connected to the VDDA pin on the Teensy board itself. The VDDA pin is connected to the onboard 3.3V regulator output thru an inductor (ferrite bead). So, unless you...
  30. Replies
    7
    Views
    1,552

    The 74ls47 will work. It's not the cheapest...

    The 74ls47 will work. It's not the cheapest option, but is Thru hole.
    https://www.digikey.ca/product-detail/en/texas-instruments/SN74LS47N/296-3712-5-ND/377730
  31. Replies
    13
    Views
    1,752

    I have used piezos and FSR for drum triggers....

    I have used piezos and FSR for drum triggers. Piezos are very cheap, sensitive, but act somewhat like a microphone so they are prone to mis-triggers from adjacent drum pads. That can be handled, to...
  32. @oddson. Yes, that's easier, hadn't thought of it.

    @oddson. Yes, that's easier, hadn't thought of it.
  33. If you are still looking to provide a 3.3V logic...

    If you are still looking to provide a 3.3V logic signal to the Teensy LC, you need a bit more than just a diode:

    12674
  34. Oddson is right- the LC uses 3.3V logic- and is...

    Oddson is right- the LC uses 3.3V logic- and is not 5 Volt tolerant, so you are overloading the Rx input. The 470 ohm resistor is limiting the LC input current to some extent, but the Rx input...
  35. I can confirm that the Interval Timer example...

    I can confirm that the Interval Timer example (and my program that uses the interval timer interrupt) work fine with T3.5, Arduino 1.90 Beta31/Teensyduino 1.41-beta2 under Visual Micro Release...
  36. I have just downloaded the necessary Arduino and...

    I have just downloaded the necessary Arduino and Teensyduino install files. It looks like my visual micro (newest release) should integrate with Arduino 1.9. I'll install it tomorrow and see if...
  37. Replies
    131
    Views
    34,924

    I have not found any other audio DACs in SOIC8...

    I have not found any other audio DACs in SOIC8 and DIP8 that are cheap, run on 3.3V, work with PJRC audio library and are still available- if those are the features you are looking for.
    I bought...
  38. Hi Kurt: I'm a bit puzzled at your comment re VM...

    Hi Kurt: I'm a bit puzzled at your comment re VM license expiration. When I started using VM, the basic version was free, but you could buy the advanced version with serial port debugging. I bought ...
  39. Well, that was fast! I had Optimize Faster in VM...

    Well, that was fast! I had Optimize Faster in VM and Optimize Fast in Arduino. Switching VM to Optimize Fast fixed things. I tend to forget looking at these options from project to project, apart...
  40. T3.5 Interval Timer example-OK in Arduino IDE,compiles but doesnt work in VM

    Environment: T3.5 , Arduino IDE 1.8, Teensyduino 1.34, Visual Micro Release 1709.3 (latest)

    My program works fine under the Arduino IDE. It will compile without errors and run, but the Interval...
  41. Thanks so much Luni. After the last Win10 update...

    Thanks so much Luni. After the last Win10 update a few days back, VS/Visual Micro had slowed to a crawl. Before doing as you suggested, I clocked about 60 seconds to initially compile a T3.5 ...
  42. Replies
    5
    Views
    1,068

    @ Therimingenieur: My keyboards have 12 notes...

    @ Therimingenieur:
    My keyboards have 12 notes per octave��
  43. Replies
    12
    Views
    2,655

    @Frank. The Adafruit boards are tiny- 4 channels...

    @Frank. The Adafruit boards are tiny- 4 channels in about 0.6" X 0.6" package. I've used them, but not with O.C. Configuration with the max pull down current of 40 ma that you quote, worst case. ...
  44. Replies
    12
    Views
    2,655

    HI Frank. What about the adafruit ID 757 ? ...

    HI Frank. What about the adafruit ID 757 ? These shift between 5 v and 3.3v and are bidirectional. Your freq requirements are much lower than these are rated for. I've used a Sparkfun equivalent to...
  45. Replies
    7
    Views
    1,465

    @ 1101010. The VGND referee to in this thread is...

    @ 1101010. The VGND referee to in this thread is only used for the headphone common terminal, which is what the original poster was using. In the case of your SLIC, it has a 60k input impedance,...
  46. FWIW, my Sonar platinum DAW software exports WAV...

    FWIW, my Sonar platinum DAW software exports WAV files in two formats: RIFF and Microsoft. A year ago, the Teensy audio library at the time would not play the RIFF version, only the Microsoft (both...
  47. Replies
    7
    Views
    1,465

    Hi Craig. Yes, it would likely have been the...

    Hi Craig. Yes, it would likely have been the scope ground going to the teensy/ audio board GND and the mixer ground, going to the SGTL5000s virtual ground that I would suspect. In your project, does...
  48. Replies
    7
    Views
    1,465

    Hi Craig. The audio boards headphone output has...

    Hi Craig. The audio boards headphone output has its common terminal connected to the SGTL5000s HPVGND pin- which is an audio virtual ground and is normally = 3.3V /2. Presumably your mixer's ground...
  49. I wouldn't say it can't be done, but there would...

    I wouldn't say it can't be done, but there would be a lot of trade-offs in signal quality. Using a teensy 3.6 at 180 MHz clock, my routine uses about 75% of the MCUs computing power every 4th audio...
  50. Replies
    14
    Views
    3,017

    I don't know answers to the issues either of you...

    I don't know answers to the issues either of you may be having, but I have personally connected a PT8211 chip to a teensy 3.2, and used it with the audio library PT8211 output object. I tested it...
Results 1 to 50 of 150
Page 1 of 3 1 2 3