Got it. I completely missed TX6 and RX6 when I looked at the board picture on my phone...
Type: Posts; User: tele_player
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:
...
Encoders have advantages in some situations. For instance, when it will be used for multiple functions, or selecting from a variable length list, or where the value doesn’t matter (like a volume...
Yes, and that's exactly what I thought when he first switched from 3.2 with muxes to 3.5. The confusion came up when he mentioned encoders.
Yes, 3.5 has more I/O than I thought.
Still, I would use pots for this, as an encoder’s position cannot be determined visually. Also, look at the image in the original post. Each knob is marked with...
Just google 'rotary encoder Arduino' and you'll find examples of how to use rotary encoders.
That's not how rotary encoders work. They need two I/O ports, and power or ground. And another port if they also have a pushbutton.
Neither your mux idea, nor your muxless idea, will work with...
I’m confused by ‘digital encoder pot’, but will assume you mean pot. Not to be confused with rotary encoder, (aka quadrature encoder) which uses more pins.
Eliminating the muxes simplifies coding...
I've been thinking of doing something quite like that. The software isn't difficult.
Do you have schematics?
Looks like LEDs are present? Where are they connected?
Are the buttons momentary...
I apologize, you misunderstood my meaning.
I see that you are trying to use frequency detection. But for what purpose? Why is the frequency range 85-400 Hz? What should happen if the sender...
I wonder what is the purpose of this exercise?
Yes, but that's because the built in DAC is 12 bits, and the others are 16. That's not really a qualitative issue. Whatever DAC you use, you need to scale the input to not exceed the number of bits.
The DAC isn’t concerned with how much polyphony is going on.
I made a slight effort to build the dev code, but there's some kind of conflict or dependency, I'll try to figure it out tomorrow.
Just got finished wiring. Works great.
Thanks, Holger!
18218
Yes,, MIDI out using serial is easy, details are on PJRC site.
https://www.pjrc.com/teensy/td_libs_MIDI.html
Dacs aren't an issue for this project, The Teensy Synth series on YouTube uses a Teensy 3.2 and Teensy Audio Shield (which is an external I2S DAC).
For MIDI, it supports both USB MIDI device (Teensy...
Don’t be disheartened, just take it one piece at a time.
Ahh, thanks for the correction, I misremembered.
USB Host firmware for Teensy 4 isn’t ready yet, and involves making connections to pads on the bottom of the board. USB Device isn’t ready, either. Currently, the only way to do MIDI on teensy 4 is...
Teensy 3.6 is more appropriate. USB host, 2 DAC, but it gets a bit involved if you need more than about 3.3 octaves.
Maybe you could sell what you bought?
You described this as a hybrid, but...
I googled ‘teensy MIDI to CV’ and found much information on this topic, including one which uses a Teensy 2 to produce 3 channels of note,velocity and gate/trigger, from USB. If you need DIN midi,...
You should probably clarify what you mean by “analog/digital hybrid synth”.
Ahh, now I understand. I searched the same places...
That device looks perfect. Why do you think it’s unobtanium? It shows 862 in stock, and $22 seems fair.
Maybe you are confused by the US decimal point?
With MAX_NOTES at 128, I can force XRUNS by pressing sustain and playing many notes.
With MAX_NOTES 64, it's much better, I couldn't get any XRUNS.
While all this CPU power is nice, USB Host...
Same here.
I have it at 128 now. It plays fine, though sound gets a bit garbled above about 50-60 notes (using sustain pedal). Release the pedal, everything is back to normal.
I don’t know if anybody else has tried, but yesterday I put MicroDexed on a T4 with PT8211, using DIN MIDI.
600Mhz allows for a large number of simultaneous voices.
Next I need to hook up some...
T4 has 4x as much RAM as T3.6 - so 2.41s limit seems low to me.
Thanks, I got it working.
Snowday, I haven’t had luck finding how to wire up the PT8211 with T4. Can you tell me?
Thanks
I'm new to Teensy, and I'm waiting for my new Rev D Audio Adapter, due in a few days, but meanwhile, I thought I'd try
a PT8211 board that I've used with Teensy 3.2 and 3.6.
Can it work?
...
The teensy4 code is different.
I notice this line in cores/teensy4/pwm.c :
if (cval > modulo) cval = modulo; // TODO: is this check correct?
Without studying this too closely, I'm thinking...
An unsigned 8-bit integer can have a value of 0 to 255
An unsigned 10-bit integer can have a value of 0 to 1023
I would expect writing 256 to a PWM output set for 8-bit resolution would output 0....
@JBeale - do you mean price is proportional to area, or proportional to (area*layers)?