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

Search:

Type: Posts; User: bmillier

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Hi Frank: You are welcome! Some on the forum are...

    Hi Frank: You are welcome! Some on the forum are really good at math, some at programming. I'm good at circuit design, and I have a 'scope!
    Good to see that you solved the crackling problem. I see...
  2. Yes- I didn't change the wavetable audio object's...

    Yes- I didn't change the wavetable audio object's code. I just point the routine to my SRAM array instead of the constant array in Flash that the object normally uses (in the examples). While the...
  3. @ KURTE Re your post #4. That came in while I was...

    @ KURTE Re your post #4. That came in while I was writing the post above. But no, these wavetables are NOT fixed. They are totally different depending upon which voice I load in from the SD CARD. The...
  4. @ KurtE. I finished reading your thread, and...

    @ KurtE. I finished reading your thread, and decided to just put DMAMEM in the declaration line for my large SAMPLE_BUFFER array, and increasing the array size from 95,000 to 120,000. Using just the...
  5. Thanks KurtE for the lightning -fast response. ...

    Thanks KurtE for the lightning -fast response. I'm now looking through the thread you posted above (I do remember seeing something in the T4 Beta thread, but that is soooo long!). Your explanation...
  6. T4- Is is possible to use more than the 1/2 of the SRAM that is tightly coupled?

    In my audio-based program, I use a large RAM array of 32-bit integers, and when I dimension it more than about 95000 (= 380k bytes), the combination of program code (~ 80K), audio library buffers...
  7. I forgot to mention that I am using the Teensy 4.0

    I forgot to mention that I am using the Teensy 4.0
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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,...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    11
    Views
    526

    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
  22. Replies
    12
    Views
    1,735

    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...
  23. Replies
    12
    Views
    1,735

    @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...
  24. Replies
    12
    Views
    1,735

    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" ...
  25. Replies
    12
    Views
    1,735

    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...
  26. Replies
    12
    Views
    1,735

    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...
  27. 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 +...
  28. 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.)...
  29. @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...
  30. 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...
  31. 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...
  32. Replies
    17
    Views
    2,205

    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...
  33. Replies
    17
    Views
    2,205

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

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

    @ 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...
  35. Replies
    11
    Views
    2,006

    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...
  36. Replies
    7
    Views
    1,580

    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
  37. Replies
    13
    Views
    1,802

    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...
  38. @oddson. Yes, that's easier, hadn't thought of it.

    @oddson. Yes, that's easier, hadn't thought of it.
  39. 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
  40. 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...
  41. 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...
  42. 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...
  43. Replies
    131
    Views
    35,226

    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...
  44. 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 ...
  45. 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...
  46. 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...
  47. 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 ...
  48. Replies
    5
    Views
    1,079

    @ Therimingenieur: My keyboards have 12 notes...

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

    @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. ...
  50. Replies
    12
    Views
    2,684

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