Keep MIDI.read() in your loop and work more on optimising your OLED code. That's where the problem is.
If updating a portion of the screen only instead of a clear and full update makes no...
Type: Posts; User: kallikak
Keep MIDI.read() in your loop and work more on optimising your OLED code. That's where the problem is.
If updating a portion of the screen only instead of a clear and full update makes no...
You're thinking of the "unconditional contour" option on the MemoryMoog. It's not common, but an interesting option nevertheless - kicking off a cycle from a trigger rather than following a gate.
The help for the USB output object says this:
"USB input & output does not cause the Teensy Audio Library to update. At least one non-USB input or output object must be present for the entire...
I have a very simple example here LFO Modulation that might help.
It has an LFO modulating both an oscillator and a filter with an independent amount control as well. It doesn't use an envelope,...
And now version 2.
28420
28421
I don't understand why you would think I do - I explicitly stated that interrupts are better and more elegant.
But from your comments it seems like you are new to this, so I tried to address some...
Some thoughts:
- memory is a non-issue for this application
- interrupts are more efficient and more elegant to implement than polling (what you are calling the digital pin method, but both...
You can daisy chain 8 MCP23017s off one i2c bus, giving 128 (interrupt capable) digital pins.
That would support 64 encoders (if you're not using switches).
And the Teensy 4 has 3 I2C busses,...
Your circuit is fine and won't damage the Teensy.
it's very easy to get pins 4 & 5 mixed up on the DIN - that's what I'd check closely. Specifically - make sure you are viewing the connector from...
I put together a Eurorack 4-operator FM voice using parts of the Dexed audio library object.
28146
Because I wasn't trying to recreate a DX7, I dropped various things (like the LFO, pitch...
I have just returned to this and your code looks very promising, so I had a go with the Audio Library object version.
I am using a Teensy 4.1 and the problems I describe occur with both the audio...
Thanks for spotting that - fixed. :-)
Sample and hold on an input noise signal is great for a rhythmic random cut-off changing, or for "robotic" sound effect pitch jumps.
This app let's you play around with both:...
I tried a few places - setup() was too late. Even startup_late_hook() was too late.
No one has any suggestions for how this might be manageable via software on powerup?
My thinking now is a supervisor chip like a MIC803 connected to the reset pad is the best option - just a bit...
Hi,
I think I've got a situation where the external power into my Teensy 3.2 is marginal at startup. Let me explain the context and I'd be glad to hear any suggestions for things I can do in code...
Must have been just working too late. :-)
It's all good now - and proving a lot of fun.
I must say I'm very happy with my first use of the T3.2. Small, fast, and with a DAC! Glad to be able to...
Thanks for that. I did try the dc option with some success. I didn't think of using a queue, so I'll try that too. There seemed to be some glide in the steps so maybe the queue option will be...
Hi,
I had some spare space in my Eurorack and decided to make a little drum machine to fill it.
I used a Teensy 3.2 with samples and a LED matrix as the primary control for connecting beats to...
Organise and optimise your code, and never use delay (except possibly in setup code).
That will make it much easier to work with.
For example, lot's of places arrays could be used to avoid the...
Look a bit more at the envelope object. You can set the timings for the stages. If sustain is set 0, then you don't even need to worry about the precise time of calling noteoff(), but you could use...
Use the DC offset function.
I definitely hope it helps people get started - and helps them understand things within a broader context.
Much of what I wrote I already knew, but there were still a good few places where I...
I've always been into teaching and have written a lot of things for learning maths, so given the fun I've had (re)learning synthesis, coding with web audio and building synthesiser tools with Teensy,...
I haven't run into any difficulties dynamically creating and patching audio objects, but I just do it once at startup - I don't change the connections arbitrarily during the lifetime of the program....
If you mean you want to learn about the electronics of the analog synth, and build things with a Teensy to interface with it, I'd recommend the Moog Werkstatt.
If you want a straightforward...
This looks very cool. Thanks for posting.
I've been looking at the Korg Opsix - seems they've really thought out the interface well. It's quite difficult to make FM synthesis immediate in the...
I'd also like to encourage this.
I love the multitimbrality of the Blofeld, but it's hard to do sound design with so few knobs, so I used a Teensy 4 and a number of port expanders/MUXes to make a...
What you can emulate is the experience of creating sounds with those synths. It definitely won't sound the same, but the experience can still be worthwhile.
For example, I think the website...
I've put together some documentation for this now (having a few "early adopters" have a go at building one certainly puts a bit of pressure on to sort stuff out. :) )
A User Guide describing the...
Have a look at the SparkFun hookup guide for the 74HC4051 - it's the same thing except only 8 lines (and hence only 3 address pins).
...
If you look at the encoder matrix at the top left, there is a select encoder to select a row and then 4 encoders to change values. The upper value in each case is changed by rotation, and the lower...
I've progressed from the prototype stage to what I think is a shareable version. Putting together a webpage now with details.
It fits nicely in the enclosure I chose, and it's nice to have the...
Just realised there is an error in the triangle calculation in the code I posted earlier.
The triangle wave only has the odd harmonics, so need to make a small change as follows:
...
...
I've added some extra functionality to my synth - I used the spare memory to add some basic 808 style drum sounds (bass, 3 toms, snare, and open and closed hi-hat). After trying out a few...
Thanks for posting this.
It's a nice little demo and just what I needed to show someone. Porting to my LCD was trivial and saved me heaps of time. :-)
I agree. It would be great to have the aliasing issues actually addressed in the library, but the wavetables are easy and a big improvement.
Despite saying above that it wasn't a priority, I...
Yeah - the aliasing is a pain.
At the moment I generate wavetables for sawtooth, square and triangle waves using a modification of some code from the forum (see below), but I intend to refine...
Hello.
I thought I'd share a project I've been working on for the last 2 months - A subharmonic synthesiser and polymetric sequencer with Teensy 4 and audio library inspired by Euclidean Rhythms,...
Got it working. The defines are a bit broken, so it's not just a matter of removing the #if 0, but it's not much more than that. I can't be sure that there aren't any other side-effects, but it...
Well I'll certainly try re-enabling FTM3 this evening when I get home. Fingers crossed it was just commented out for testing... :-)
That code snippet looks odd - seems to imply FTM3 is disabled?
But the README says:
"1 FTM with 4 channels (on teensy 3.6, only FTM0 and FTM3 are possible. on teensy 3.2, FTM0 only). All others...
I believe pin 34 is E25, and from the library info:
"The pair (hsync_ftm_num, hsync_ftm_channel_num) defines the pin generating Hsync signal. Look at teensyduino's teensy3/core_pins.h file,...
Hi,
I am using the uVGA library with a Teensy 3.6, and all worked fine with the default settings. But for port-related reasons, instantiating the uVGA object using (hsync_ftm_num,...