I'm building an effects device with Teensy4.0. I want to control Teensy4 FX parameters via I2C. A Teensy4.1 controls the FX parameters via I2C and supplies the audio signal to the Teensy4.0 via I2S. I have Teensy4.1 as the I2C master and...
Just implemented a new tap_tempo function which can be called via MIDI clock callback, footswitch or something else.
Here is a short sample of delay synced to a drum track with MIDI clock sent via USB:
Another interesting feature is if just a...
The Jeannie synthesizer kit is sold by exploding-shed. If you only need the circuit boards, you can get them from me.
Link: https://www.exploding-shed.com/tubeohm-jeannie/100352
Jeannie Case here...
My best RiseTime with Teensy4 and parallel GPIO Output is 960ps. Square frequency is 100KHz and CPU 600MHz.
I have connected four GPIO outputs in parallel via 51R resistor.
My code..
// 100KHz Square signal on Teensy4 with 4 Outs
const int...
The ATmega328 has no CLKO, it will accept an input clk into XTAL1 pin, limit 16MHz. There is no system clock output. You can generate 8MHz on some of the GPIO pins using suitably programmed PWM.
150MHz is a lot, more than is sensible for...
My best result was with a 50 ohm series resistor and a 50 ohm coaxial cable. Oscilloscope input impedance of 50 ohms.
Set GPPIO output impedance on Teensy4
// 50MHz Puls signal on Teensy4
const int my_pulse_pin = 22;
void setup()
{...
For this sort of signal speed a low-impedance probe might be the best option, basically a 10:1 probe with 500 ohms input impedance and using 50 ohm setting at the scope. High impedance probes are capacitive-dividers at the top end of their...
Thanks Paul for your Tips.
My 150 MHz signal with an Rigol MSO5104 (hacked to 350 MHz). I set the probe to x10 to make the measurement more precise.
Code:
const int my_pulse_pin = 20;
void setup()
{
pinMode(my_pulse_pin, OUTPUT)...
Nice Jeannie project. I also had the idea of using the Teensy 4.0 for digital effects. But the question is, can you clone the beautiful effects from the FV-1 with the Teensy 4.0?
My prototype schematic is finished. One or two things will definitely change. For example, the decision as to which effect module will be used in the Degenerator2 isn't quite clear yet. But the time will come, and the idea will come ;-) With that...
Just wanted to report back that the code works. Thanks!
I removed the fade in Audacity, so I removed setLoopStart() and setLoopFinish() aswell.
When I extend the crossfade, the loop is almost inaudible.
Hello friends :)
The first circuit diagrams from Degenerator2. Circuit diagrams for the MCU, power supply, MIDI, and display are coming soon.
The control panel consists of seven ATiny404 modules. Each module has an analog input for four buttons...
But..there is something wrong with your calculation for the sample rate :unsure:
// map analog input 0-1023 to 0.5-3.0 pitch
double getPlaybackRate(int16_t analog) { //analog: 0..1023
return ((analog / 1023) * 2.5) + 0.5;
This is my...
The test was successful. Teensy plays the sample :)
This my code..
#include <Arduino.h>
#include <Audio.h>
#include <SD.h>
#include <TeensyVariablePlayback.h>
// GUItool: begin automatically generated code
AudioPlaySdResmp playSdWav1...
You still need to set the loop_type :unsure:
In the loop_type.h define this..
typedef enum loop_type {
looptype_none, // 0
looptype_repeat, // 1
looptype_pingpong // 2
} loop_type;
play sample..
float rate =...
My Led panel..
My Teensy code..
// LED driver
// Pin connected to ST_CP of 74HC595
int latchPin = 30;
// Pin connected to SH_CP of 74HC595
int clockPin = 31;
// Pin connected to DS of 74HC595
int dataPin = 32;
// Pin connected to OE of 74HC595...
Ok. I think it's the problem comes from the +3.3V supply voltage from Teensy Board. The Teensy gets its +5V supply voltage on pin Vin (yellow curve). After 15ms, the TLV75733P chip on the Teensy switches on the +3.3V supply voltage on the 3.3V...
It's clearly due to my power supply in the DIY project.
1st image shows a 4.7K pull-up on Teensy4.1 pin 29 with +5V and +3.3V from the Teensy.
2nd image shows a 4.7K pull-up on Teensy4.1 pin 29 with +5V and +3.3V from the DIY project's power...
As I suspected, it's the power supply. My test power supply delivers a stable 5V supply voltage immediately after switching off from standby. The voltage regulator on my DIY board takes a few milliseconds to adjust the voltage from +12V to +5V...
Mmmm :unsure:
I've now used a Teensy4.0 board and am getting different results. Since the Teensy4.0 doesn't have pin 29, I used a different pin 2 with an external 4.7K pull-up connected to +3.3V from the Teensy. The signal is almost identical...
I can't explain it either. The pull-up resistor is connected to a separate 3.3 volt line. Perhaps that's the cause. I supply the entire circuit with +12V. The Teensy is supplied with +5V via a switching regulator. I generate the +3.3V using a...
Init the light shown on my Synth project..
There are 24 status LEDs in different colors for the 24 keys. These are controlled by three 74HC595 slide switches. For some keys, the LEDs are not yet wired.
pinMode(29, INPUT_PULLUP);
pinMode(29, OUTPUT);
digitalWriteFast(29, HIGH);
4.7K and I also tried different pins on the Teensy and always tested in connection to the gate input of the 74HC595.
Measured here with 4.7K pullup on the Teensy pin...
pinMode(29, INPUT_PULLUP);
pinMode(29, OUTPUT);
digitalWriteFast(29, HIGH);
The oscilloscope shows the voltage rise of the supply voltage (blue) and pin 29 (Gate 74hc595) on the Teensy4.1 (yellow) during power-up.
The gate pin on the 74HC595...
Hallo Teensys..
I had a similar problem. I'm using three 74HC595s on the Teensy4.1. During power-up, the 74HC595 outputs had random values, and some LEDs were lit. Solution: I connected the gate pin of the 74HC595 to a Teensy control line using a...
All buttons are illuminated! Below the mod control is the fixed control for filter resonance.
With the buttons Mod 1-4 a different modulator source can be selected and controlled with the Modulation controller.
A sign of life...
I think I'll choose a dark blue as the background color for all the LEDs on the LED ring, and change to orange when I turn up the volume.