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're very welcome! It would seem...

    Hi Frank: You're very welcome!
    It would seem like you must have a bad Teensy Audio shield. It definitely should work with the audio shield mounted directly onto the T3.6 via short headers. I assume...
  2. Hi Frank: Since I wasn't the one who wrote the...

    Hi Frank: Since I wasn't the one who wrote the code, I neglected to think about 1) the filter mask has to be the same size, mono or stereo and 2) that the memory was in 2 distinct blocks (although I...
  3. Hi Frank: Yes, I thought you were really...

    Hi Frank: Yes, I thought you were really interested in the SDR filters, and was a bit surprised when you drifted into the guitar cabinet simulation aspect of it. The fact that the guitar IR files...
  4. @Frank. Congratulations- looks like you solved...

    @Frank. Congratulations- looks like you solved all of the issues, except the one you need for SDR.
    I wondered if you were planning on embedding this routine into a Teensy Audio library object, like...
  5. Hi Frank: You've been busy! I loaded your...

    Hi Frank: You've been busy! I loaded your program, using the default IR file and adding a few lines to handle the SGTL5000 that I use. The measured latency is 15 ms, which is perfectly fine for an...
  6. Hi Frank: That explains a lot. I'm not sure that...

    Hi Frank: That explains a lot. I'm not sure that the sample guitar IR file that I have will work as a minimum phase IR. If it does, I'm wondering why it would have worked with the conventional...
  7. Hi Frank: Did you get my Conv. filter routine...

    Hi Frank: Did you get my Conv. filter routine from me directly (or thru forum) or did you get it from my Github page? There is one sample impulse file on the github page. It is in the standard IR...
  8. Hi Frank: Yes- you get one or the other. Looks...

    Hi Frank: Yes- you get one or the other. Looks like with no shifting you get great results- just like I do with my original convolution library object. However, when I use my latest routine (code...
  9. Hi Frank: Pls ignore my last comment about my...

    Hi Frank: Pls ignore my last comment about my signal generator providing a better sine wave source than the Sinewave object. It does, of course, but by the time it goes through the SGTL5000 ADC at...
  10. Hi Frank: 1) I tried the 7-term B-H mask. It...

    Hi Frank:
    1) I tried the 7-term B-H mask. It may have changed things but I couldn't detect any difference.
    2) I was wondering why you were interested in higher # of taps, as I thought you were...
  11. @Frank: I decided to hook up my test equipment...

    @Frank: I decided to hook up my test equipment and try out your new routine. The latency is 16.4 ms @ SR 48000 - regardless of the FFT size, as you mentioned. To compare directly against my...
  12. @ Frank: Congratulations! That didn't take you...

    @ Frank: Congratulations! That didn't take you too long to "zero in" on the right code. Speaking of zeros, it's funny how we sometimes forget that, in general, arrays use zero-based indexing! The 32...
  13. Frank- thanks for the prompt response. I hadn't...

    Frank- thanks for the prompt response. I hadn't yet examined your new code, so its good that you mentioned that you've re-written it to handle two discrete channels.
    While I understand the basic...
  14. @Frank: I must have accidentally "unsubscribed...

    @Frank: I must have accidentally "unsubscribed from this thread, as I didn't get any email alerts and just happened to run across your newest posts today. Before commenting on your remarks, I'll...
  15. 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...
  16. 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...
  17. @ 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...
  18. @ 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...
  19. 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...
  20. 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...
  21. I forgot to mention that I am using the Teensy 4.0

    I forgot to mention that I am using the Teensy 4.0
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. 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,...
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. 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...
  34. 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...
  35. Replies
    11
    Views
    606

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

    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...
  37. Replies
    12
    Views
    1,815

    @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...
  38. Replies
    12
    Views
    1,815

    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" ...
  39. Replies
    12
    Views
    1,815

    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...
  40. Replies
    12
    Views
    1,815

    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...
  41. 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 +...
  42. 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.)...
  43. @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...
  44. 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...
  45. 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...
  46. Replies
    17
    Views
    2,253

    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...
  47. Replies
    17
    Views
    2,253

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

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

    @ 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...
  49. Replies
    11
    Views
    2,046

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

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