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

Search:

Type: Posts; User: tele_player

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    34
    Views
    557

    By itself, 10 ohms would limit the current to...

    By itself, 10 ohms would limit the current to 500ma, assuming 5v supply. But it is part of a pi filter to condition the power supply.

    The $3 PJRC kit takes care of this. Great value.
  2. Replies
    34
    Views
    557

    Assuming the sparse PT8211 datasheet applies -...

    Assuming the sparse PT8211 datasheet applies - are you using the recommended resistor and caps for the power supply?
  3. Replies
    34
    Views
    557

    I've only used PT8211 on Teensy 3.x and 4.0,...

    I've only used PT8211 on Teensy 3.x and 4.0, always 3.3V - but these questions come to mind

    'they keep burning up' - smoke? or just stop working?
    What's connected to the output of the PT8211?...
  4. Replies
    6
    Views
    144

    Fragmentation is a different issue from...

    Fragmentation is a different issue from imbalanced new/delete and malloc/free. And dynamic memory is handled by the library, not GCC itself.

    Yes, fragmentation can be an issue, but sloppy...
  5. Replies
    6
    Views
    144

    I wonder if it’s really necessary to create all...

    I wonder if it’s really necessary to create all the AudioConnection objects that way? I think you could create an array of pointers:

    AudioConnection *cables[16]; // 16, for example

    And create...
  6. This might seem pedantic; I prefer the term...

    This might seem pedantic; I prefer the term 'precise'. :)

    @neurofun suggested the following, to create an array of 4 objects of type AudioSynthwaveform
    AudioSynthWaveform* waveform = new...
  7. I’m suspect your array initializers made copies...

    I’m suspect your array initializers made copies of the AudioSynthWaveform objects.
    I’d try using pointers, or maybe references.

    I just checked - arrays of references aren't allowed in C++. So,...
  8. Replies
    17
    Views
    770

    Raspberry Pi 3 was also a 64 bit CPU, like...

    Raspberry Pi 3 was also a 64 bit CPU, like raspberry pi 4. Raspbian OS is still 32 bit, I think.
  9. Update: I examined my EX-P a bit more closely,...

    Update: I examined my EX-P a bit more closely, and found a schematic online (which only shows the circuit in the OTHER position).
    18665

    So - with the limit pot at minimum, it's effectively out of...
  10. re: the M-Audio EX-P The article linked below...

    re: the M-Audio EX-P

    The article linked below mentions:



    Anyway, for this application, just leave the switch in the OTHER position, and set the limit knob to the full anti-clockwise position...
  11. Replies
    34
    Views
    557

    Of course, the purple boards sound better.

    Of course, the purple boards sound better.
  12. Replies
    34
    Views
    557

    Funny! I almost wrote exactly that a little while...

    Funny! I almost wrote exactly that a little while ago!
  13. It doesn't seem like a reasonable limit, to me. ...

    It doesn't seem like a reasonable limit, to me.

    What DAC is being used?
  14. Replies
    34
    Views
    557

    Yesterday, I received 6 of the untested PT8211/T4...

    Yesterday, I received 6 of the untested PT8211/T4 boards Paul linked in post #2, and a few days ago, got 6 PT8211 kits from PJRC.
    Today, I assembled two PT8211 for T4.

    Both work fine for me.
  15. Replies
    10
    Views
    168

    Understood - but I still wonder if the original...

    Understood - but I still wonder if the original program behaves differently on these sequences.
  16. Replies
    10
    Views
    168

    It’s been years since I had to dig deep into I2C,...

    It’s been years since I had to dig deep into I2C, and then it was work, so I used a Beagle protocol analyzer - very handy.

    But I wonder, have you monitored the same transaction using kito’s...
  17. Yes, but to do USB host correctly and supply DC,...

    Yes, but to do USB host correctly and supply DC, you need something like tpd3s014, as used on Teensy 3.6. Teensy 3.6 works fine as host for my Arturia Keystep.
  18. How to invert the pedal polarity: analogRead...

    How to invert the pedal polarity:

    analogRead returns 0-1023 , right?

    uninverted = analogRead(A10) / 8;
    inverted = (1023- analogRead(A10)) / 8;
  19. Are you referring to the D+ and D- pads on the...

    Are you referring to the D+ and D- pads on the underside of the board? Those are for the USB HOST port, not connected to the micro-USB connector.
  20. Unrelated to LED problem, but I’d use two local...

    Unrelated to LED problem, but I’d use two local variables to eliminate unnecessary calls to analogRead().
  21. Replies
    3
    Views
    170

    I wonder why you chose Teensy 4.0, instead of a...

    I wonder why you chose Teensy 4.0, instead of a MCU that has Bluetooth support? I think I'd try an ESP32 first. What am I missing?
  22. Replies
    87
    Views
    1,156

    Comments are good. Comments that state the...

    Comments are good. Comments that state the obvious just add clutter. It's a fine line.

    The loop in your NoteOff() function should terminate on first match:



    // Function named NoteOff,...
  23. Some controllers have encoders. Example: Arturia...

    Some controllers have encoders. Example: Arturia Minilab.

    There are tricks to writing code for encoders to change the increment based on the speed at which you turn.

    Finally, if the goal was...
  24. Replies
    5
    Views
    455

    Thanks for responding - I'll try some newer code.

    Thanks for responding - I'll try some newer code.
  25. Replies
    34
    Views
    557

    I’m familiar with OSHpark , I bought a purple T4...

    I’m familiar with OSHpark , I bought a purple T4 from them, but never any bare boards. Mail is fast from Oregon to Northern California.
  26. Replies
    5
    Views
    455

    Latest update... My first attempt at...

    Latest update...

    My first attempt at MicroDexed with T4 (using PT8211) worked great, except for occasional glitches in the audio, which I suspect were caused by my sloppy wiring between T4 and...
  27. Replies
    34
    Views
    557

    Interesting, that detail isn’t on the OSH Park...

    Interesting, that detail isn’t on the OSH Park page for the item, and makes a big difference.

    I've already built several of the 3.x PT8211 boards, I wish I'd left one unassembled. But that's OK,...
  28. Replies
    10
    Views
    219

    I haven't tried it, but the PJRC documentation...

    I haven't tried it, but the PJRC documentation for SPI suggests using transactional configuration:

    https://www.pjrc.com/teensy/td_libs_SPI.html

    I'm sure it's also possible to use one SPI bus...
  29. Replies
    34
    Views
    557

    Thanks Paul! I just wish it was cheap, like...

    Thanks Paul!

    I just wish it was cheap, like the ones on your site.
  30. Replies
    34
    Views
    557

    PT8211 Audio Kit for T4

    Is there any plan to produce a board for this?
  31. Replies
    87
    Views
    1,156

    Interesting, I never investigated extending the...

    Interesting, I never investigated extending the GUI.
  32. Replies
    87
    Views
    1,156

    Wcalvert: in your stuff, have you come up with...

    Wcalvert: in your stuff, have you come up with something better than cascaded 4channel mixers to handle many voices?
  33. Replies
    87
    Views
    1,156

    Strictly speaking, a double is a floating point...

    Strictly speaking, a double is a floating point number. But in C and C++, a float is a lower precision FP number than a double.
  34. Replies
    87
    Views
    1,156

    I’m thinking out loud here... Wouldn’t it be...

    I’m thinking out loud here...

    Wouldn’t it be clearer if you wrote a class which encapsulates a voiceless ? oscillators,, amps, filters, envelopes? While the setups produced by the online tool are...
  35. Replies
    11
    Views
    404

    Got it. I completely missed TX6 and RX6 when I...

    Got it. I completely missed TX6 and RX6 when I looked at the board picture on my phone...
  36. Replies
    11
    Views
    404

    How are the pins used? Software serial...

    How are the pins used? Software serial asynchronous? Something else?
  37. Replies
    13
    Views
    265

    oops, redundant

    oops, redundant
  38. Can you be specific? What program ran and...

    Can you be specific? What program ran and displayed on serial monitor? What program didn’t work?
  39. Replies
    14
    Views
    209

    I realized that after reading #10, then looking...

    I realized that after reading #10, then looking at the code.

    Well, AudioAmplifier transmits nothing if mult==0.
    But, AudioMixer4 will call transmit() if there is input on any channel, regardless...
  40. Replies
    14
    Views
    209

    I don't expect that anything you can do with the...

    I don't expect that anything you can do with the level controls on a mixer object will affect CPU utilization of anything before or after. Maybe I'll test it to satisfy my curiosity.
  41. Replies
    14
    Views
    209

    I haven’t looked at audio library source code,...

    I haven’t looked at audio library source code, but I would be surprised if turning down a mixer before a reverb has any effect on the reverbs cpu utilization .
  42. Replies
    14
    Views
    209

    "what would be the best way to bypass the reverb...

    "what would be the best way to bypass the reverb or the "noteFreq" module to reduce CPU usage? "

    Does bypass using a mixer reduce CPU usage?
  43. Replies
    10
    Views
    208

    8 channels 12 bit (two bytes, unless data is...

    8 channels
    12 bit (two bytes, unless data is packed)
    10khz sample rate

    8*2*10k=160k

    Definitely agree, it’s worth some easy testing.
  44. Replies
    10
    Views
    208

    I just want to point out that in the original...

    I just want to point out that in the original post, you mentioned storing 12-bit data sampled at 10Khz, and now in post #4 mention that it is 8 channels.
  45. I googled ‘Arduino key matrix example’ , and the...

    I googled ‘Arduino key matrix example’ , and the top hit was an article which explains it clearly:
    https://www.baldengineer.com/arduino-keyboard-matrix-tutorial.html
  46. Replies
    87
    Views
    1,156

    For that you’ll need to test if voice is active,...

    For that you’ll need to test if voice is active, but in the release phase.
  47. Replies
    87
    Views
    1,156

    There are certainly variations possible in a note...

    There are certainly variations possible in a note stealing scheme: Oldest note, oldest note in release phase, same note # as new note... maybe others.

    But they’ll probably all need oldest note as...
  48. Replies
    87
    Views
    1,156

    You will need to implement voice stealing in your...

    You will need to implement voice stealing in your onNoteOn function. If an idleVoice is not found for the incoming note, find the oldest note that is playing, shut it off, give the newly freed voice...
  49. Pots always have limited turns, most are less...

    Pots always have limited turns, most are less than 360 degrees, and some are 10 turn and more, for special applications requiring fine adjustment.

    Digital pots is a misnomer sometimes used to...
  50. The link in post #19 is for encoders, not pots....

    The link in post #19 is for encoders, not pots.
    These will work:
    ...
Results 1 to 50 of 93
Page 1 of 2 1 2