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

Search:

Type: Posts; User: bmillier

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. This is how I would wire the MUX chips 28902 ...

    This is how I would wire the MUX chips
    28902

    Without writing out all the code, here is how to do it (this is not the full program)


    int MUXCHIPNUM = channelNumber/8;
    int MUXCHANNEL...
  2. If only certain pots affect the others, it’s...

    If only certain pots affect the others, it’s possible your program is inadvertently activating more than one 4051 at a time. The 4051 Inhibit line has to be high to disable the 4051. So, when you...
  3. Hi. The banggood encoder is BG404113352. Costs...

    Hi. The banggood encoder is BG404113352. Costs about 35 canadian dollars. I really liked the large knurled knob and spinner. Reminds me of high end ham radio transceiver frequency dials. The review...
  4. hello. You didn’t mention if size and price was...

    hello. You didn’t mention if size and price was important. I find that the small Bourns REs, while they have detents, you can’t feel them. But, they are only $2 and noisy. The teensy encoder library...
  5. Hi Jan: I gather you are also interested in...

    Hi Jan:
    I gather you are also interested in other MCUs beyond the Teensys. Are you saying that you have gotten line in and line out working simultaneously. That is what I couldn't achieve and...
  6. Hi Frank: Thanks for setting me straight on this....

    Hi Frank: Thanks for setting me straight on this. That's how I had remembered things- it was only when I saw another post that I thought differently. Seems like the dedicated ADC (PCM1808) is better...
  7. Frank- I see where I mistakenly thought you were...

    Frank- I see where I mistakenly thought you were Frank DD4WH again. Sorry for the confusion.
  8. Hi Frank: I was just re-quoting an earlier post...

    Hi Frank: I was just re-quoting an earlier post in this thread- I only have the SGTL5000 on the Teensy Audio board and I certainly had the problem using that codec. If you don't get it with the T.I....
  9. Hi Ron: Are you saying that you have both the...

    Hi Ron: Are you saying that you have both the Teensy and the Audio adapter mounted separately and hooked up with wires or are they stacked? If the former, the earlier Audio adapter will work fine...
  10. Hi Derek (and Frank) : Excellent work on this...

    Hi Derek (and Frank) : Excellent work on this advanced SDR Audio object for Teensy. Frank (DD4WH) and I had a string of posts about the "twin peaks" problem a year back. While we knew it was a...
  11. Replies
    7
    Views
    1,922

    Thanks Chip. That's what I figured. I am using...

    Thanks Chip. That's what I figured. I am using the T4.1 and could see that the full F.P. audio library wasn't adapted to T4.x yet.

    DD4WH and I have written floating point Convolution FIR filters...
  12. Replies
    7
    Views
    1,922

    Chip: pardon me for butting in on this thread-...

    Chip: pardon me for butting in on this thread- following is an issue I opened on the OpenAudio GitHub site:
    Great work on this F.P. audio library, Chip.
    I'm using Arduino 1.8.9 and Teensyduino...
  13. Replies
    148
    Views
    63,201

    Good to hear. Its an easy mistake to make, since...

    Good to hear. Its an easy mistake to make, since the SGTL5000 codec on the Teensy Audio shield has its I2S pins labelled incorrectly. i.e. input to the SGTL5000 goes to its TX pin, and data out of...
  14. Replies
    148
    Views
    63,201

    @manatee. I know that I've had the PT8211 working...

    @manatee. I know that I've had the PT8211 working with Teensy 4 using the Audio lib's PT8211 output object. I am not at my computer, but try putting the PT8211's Din on Teensy io pin 7, not 8. IO07...
  15. Replies
    148
    Views
    63,201

    @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.
  16. Replies
    148
    Views
    63,201

    @ 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...
  17. @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,...
  18. @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...
  19. 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...
  20. 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...
  21. @ 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...
  22. @ 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...
  23. 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...
  24. 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...
  25. I forgot to mention that I am using the Teensy 4.0

    I forgot to mention that I am using the Teensy 4.0
  26. 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...
  27. 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...
  28. Replies
    11
    Views
    3,188

    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
  29. Replies
    12
    Views
    5,337

    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...
  30. Replies
    12
    Views
    5,337

    @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...
  31. Replies
    12
    Views
    5,337

    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" ...
  32. Replies
    12
    Views
    5,337

    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...
  33. Replies
    12
    Views
    5,337

    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...
  34. 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 +...
  35. 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.)...
  36. @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...
  37. 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...
  38. 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...
  39. Replies
    17
    Views
    4,821

    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...
  40. Replies
    17
    Views
    4,821

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

    That was fast- instant feedback :)
    Aren't forums great!
  41. Replies
    17
    Views
    4,821

    @ 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...
  42. Replies
    11
    Views
    4,400

    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...
  43. Replies
    7
    Views
    3,499

    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
  44. Replies
    14
    Views
    4,044

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

    @oddson. Yes, that's easier, hadn't thought of it.
  46. 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
  47. 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...
  48. 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...
  49. 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...
  50. Replies
    148
    Views
    63,201

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