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. @Pete: Good observation. I modified this demo...

    @Pete: Good observation. I modified this demo program from Frank DD4WHs original program. In it he defines BUFFER_SIZE = partition size, which is 128. For some reason I removed that line- probably...
  2. @ Frank. Thank you- I'm pleased it ran nicely for...

    @ Frank. Thank you- I'm pleased it ran nicely for you too. I couldn't find the mods mentioned above on my Github site, under Pull requests or Issues. Then I went to your site and found them. The...
  3. @ Frank. Thank you- I'm pleased it ran nicely for...

    @ Frank. Thank you- I'm pleased it ran nicely for you too. I couldn't find the mods mentioned above on my Github site, under Pull requests or Issues. Then I went to your site and found them. The...
  4. Replies
    137
    Views
    35,786

    @manatee. Thanks. For those uses I think you’ll...

    @manatee. Thanks. For those uses I think you’ll be fine. I bought 10 of the PT8211 from China for just a few dollars- before I realized i could get the little PT8211 board from Paul at PJRC.
  5. Replies
    137
    Views
    35,786

    @ manatee. I use the PT8211 in some audio...

    @ manatee. I use the PT8211 in some audio projects, but I haven't had time to re-program the Teensy to try DC out to be sure. However, I am sure they will work fine for LFO use. Looking at the PT8211...
  6. Thanks Frank. I saw the minimal phase FIR filters...

    Thanks Frank. I saw the minimal phase FIR filters in your example code, but didn't know if you needed a lot of computing power on an external PC to generate them. I'll look forward to your comments...
  7. Library Code for the uniformly-partitioned FFT convolution filter/cabinet simulator

    Hi Frank: I have uploaded this library code to my Github site, in its own folder:
    https://github.com/bmillier/FFT-Convolution-Filter-Uniformly-partitioned/blob/master/README.md

    I took your...
  8. Hi Frank: I just replaced all of the code...

    Hi Frank: I just replaced all of the code inside the "i" loop in my complex multiply routine by the following:
    ptr1 = ptr_fftout + k512;
    ptr2 = ptr_fmask + j512;...
  9. @Led. Here is something I've had to do at times...

    @Led. Here is something I've had to do at times when things go astray. In the sketch folder, delete everything but the .ino file, including those _vm and release folders and VMs project files. Then,...
  10. @ Frank. You may be right. But I am doing the...

    @ Frank. You may be right. But I am doing the same 8 operations at once in the "i" loop. The difference is that you do this
    accum[i2] += fftout[k][2 * i + 0] * fmask[j][2 * i + 0] -...
  11. @ Frank. Thanks. I have made more progress. I now...

    @ Frank. Thanks. I have made more progress. I now declare the fftout array in the main program, as DMAMEM, and just pass a pointer into the audio library. So, I can now make the impulse longer, like...
  12. @ highly Neither Frank nor I are using TDM...

    @ highly Neither Frank nor I are using TDM I/O. We're both using the standard (stereo) I2S interface- in his case a PCM1808 ADC and separate DAC, and I'm just using the Audio shield. When I run...
  13. @LEd Have you posted this on the Visual Micro...

    @LEd Have you posted this on the Visual Micro forum? Whenever I have had an issue where the Arduino IDE/Teensyduino would compile a program properly, and VM wouldn't (usually after a VM and/or...
  14. Hi Frank: Over the weekend I adapted your U.P....

    Hi Frank: Over the weekend I adapted your U.P. convolution code into a Teensy Audio library. It seems to work identically. However, in class libraries, you can't declare an array in DMAMEM. Also, in...
  15. For what it's worth, I am using VS2019 16.3.5...

    For what it's worth, I am using
    VS2019 16.3.5
    VM 1909.27.0
    Arduino 1.8.9
    Teensyduino 1.47

    and everything works fine with both T3.6 and T4. I doubt the problem crops up due to your using VS...
  16. 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...
  17. 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...
  18. 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...
  19. @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...
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. @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...
  27. @ 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...
  28. 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...
  29. @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...
  30. 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...
  31. 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...
  32. @ 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...
  33. @ 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...
  34. 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...
  35. 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...
  36. I forgot to mention that I am using the Teensy 4.0

    I forgot to mention that I am using the Teensy 4.0
  37. 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...
  38. 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...
  39. 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...
  40. 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...
  41. 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,...
  42. 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...
  43. 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...
  44. 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...
  45. 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...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. Replies
    11
    Views
    650

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