Hello,
Can I host 2 PT8211 boards on a single Teensy 4.0 using Audio Library for 2 x Stereo outputs?
I thought I read this somewhere but cannot find it today. Is it possible? If there's already a thread or link...
I know the answer will be "it depends", nonetheless what's the nominal current consumption for a Teensy, say a Teensy LC running a simple program and not driving anything as current-consuming as an LED?
I'm looking at...
Yes, I have a timer callback doing this
void timer_handle_interrupts(int timer) {
MIDI.read();
if (CLOCK_RUNNING) {
if (clockFuture > 0 && (micros() - clockFuture) >= CLOCK_LENGTH) {
...
The problem with.a slight lag is this is a looping sequencer and it will never catch up. Device A plays a short loop, device B plays a short loop; either they line up perfectly or it’s unusable. So achieving the...
Based on experimentation and input from forums, a few things have helped in small ways, and it adds up to a decent but not perfect solution.
1) put the MIDI.read() on a Teensy timer and don't be shy about cranking up...
I didn't make this clear enough, sorry. I can read MIDI clocks and run my CR-5000 if it's a basic drum pattern and the MIDI source is really just another drum machine doing nothing but putting out MIDI clock and note on...
I have tried this a few different ways, but never with elapsedMicros(). It just does not work at all. The clock drops, and drops, and drops. I think it's because my test clock source generates a logjam of MIDI garbage...
The electronics for clock IN and OUT are simple, but not consistent.
Generally you can expect a "TTL" level signal to work, meaning logical HIGH is close to 5V and LOW is close to ground.
This means for a Teensy you...
I need this to work consistently if the tempo varies. I need it be handle stop-continue from my master MIDI sequencer. And as I said above, I can't use USB MIDI for this. I must work with legacy MIDI devices.
I wrote this in a hurry!
What I mean more specifically is, MIDI clock was designed to operate at 24PPQN.
I need to drive my Roland CR-5000 drum machine at 24PPQN.
I get a MIDI clock pulse, but how do I turn a...
Hi! How it is done? How do I generate a locked, stable square wave at the same frequency as a stream of pulses coming from MIDI clock? Any references?
Thanks
Thanks MarkT. I have no problem dropping in the 100µF capacitors. But how do I change the sample frequency? I am sampling in loop(), do I need to use a timer?
Thanks all for the input, all! What I found was the clicking/buzzing was greatly attenuated by adjusting analogRead bit depth and resampling. I had resampling at 32 and setting that to 0 cut noise by 3-6 dB to my ear....
Software developer for 25+ years. Electronic music enthusiast. JavaScript "expert". Learned HyperCard on an upgraded Mac 512. Learned C/C++ on the Macintosh II. Learned JavaScript to avoid starvation.
Started single-board computing on the Tessel (1). Then tried Adafruit wearables, then moved to the Arduino Uno, and now very happy with the power of the Teensy platform.