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.
Type: Posts; User: tele_player
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.
Assuming the sparse PT8211 datasheet applies - are you using the recommended resistor and caps for the power supply?
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?...
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...
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...
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...
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,...
Raspberry Pi 3 was also a 64 bit CPU, like raspberry pi 4. Raspbian OS is still 32 bit, I think.
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...
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...
Of course, the purple boards sound better.
Funny! I almost wrote exactly that a little while ago!
It doesn't seem like a reasonable limit, to me.
What DAC is being used?
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.
Understood - but I still wonder if the original program behaves differently on these sequences.
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...
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.
How to invert the pedal polarity:
analogRead returns 0-1023 , right?
uninverted = analogRead(A10) / 8;
inverted = (1023- analogRead(A10)) / 8;
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.
Unrelated to LED problem, but I’d use two local variables to eliminate unnecessary calls to analogRead().
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?
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,...
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...
Thanks for responding - I'll try some newer code.
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.
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...
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,...
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...
Thanks Paul!
I just wish it was cheap, like the ones on your site.
Is there any plan to produce a board for this?
Interesting, I never investigated extending the GUI.
Wcalvert: in your stuff, have you come up with something better than cascaded 4channel mixers to handle many voices?
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.
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...
Got it. I completely missed TX6 and RX6 when I looked at the board picture on my phone...
How are the pins used? Software serial asynchronous? Something else?
oops, redundant
Can you be specific? What program ran and displayed on serial monitor? What program didn’t work?
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...
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.
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 .
"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?
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.
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.
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
For that you’ll need to test if voice is active, but in the release phase.
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...
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...
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...
The link in post #19 is for encoders, not pots.
These will work:
...