er..ok I answered my own question. I realised that I was allocating too many blocks in AudioMemory() which was eating into RAM2. When I reduce i get:
FLASH: code:125376, data:21580, headers:8688 free for files:7970820
RAM1...
My advice and experience: One +5V power supply for the Teensy (or Teensys) is the better solution. Use the 3.3V pin on the Teensy only in an emergency.
It has turned out that the Teensy Biquad filter is, unfortunately, not suitable for modulation. The filter produces clicking noises when the cutoff frequency is changed or modulated slowly.
I am now reverting to the proven StateVariable filter...
I had the same exact issue with the PCM5102A.
In most of my processing I use floats that I translate into int16 and insert in AudioPlayQueues -> AudioOutputI2S.
I have created a small utility NoiseShaper object that does quantification error...
A quick update...
Jeannie_2 is now drawing some nice-looking filter curves :)
I still need to adjust the grid line relative to the cutoff frequency. The "12dB" button allows you to switch the filter from 24dB to 12dB, or vice versa.
Jeannie_2...
Hi there 🖐️
There was a minor issue with the PCM5102A DAC being used—the same one found in the Jeannie_1. When a sound decayed during the "Note Off" phase, a faint click could be heard at the very end (see the first image). The root cause lies in...
I'm working on a polyphonic synthesizer project using a Teensy 4.1 and a PCM5102a DAC (the small cheap purple boards from AliExpress). I noticed a slight tick / pop at the beginning of each note when using a slow attack / release. The volume of...
Yes. The trick with the noise worked. I added an AudioSynthNoiseWhite to the output mixer with the lowest amplitude of (1.0f/32768.0f)
Lin envelope
Exp envelope
Perhaps it is possible to trick the DAC chip and inject a small amount of noise (one bit) at the output. This would prevent analog muting within the DAC chip. :unsure:
PCM5102A analog mute function
'The PCM510xA has a zero-data detect function...
I tested it with another synthesizer. The noise pulses are similar. On the DeepMind 6, there is too much noise, but it is still discernible.
Another Teensy Synthesizer
DeepMind6 Synthesizer
I tested both AudioEffectEnvelope and AudioEffectExpEnvelope. Both behave identically and generate a small impulse at the end. However, this could also be caused by the input on my mixing console with 12 Channels fom Behringer.
Perhaps someone...
I was mistaken. The XSMT pin controls the mute function. When the pin is set from Low to High, the chip enters unmute mode.
The disturbance pulse is then generated by switching off the envelopes :unsure:
I think I've found the problem. The DAC chip (PCM5102A) features a soft-mute function that can be activated via the XSMT I/O pin. This function causes a small transient spike when the DAC chip enters mute mode. I will set the pin to High.
DAC...
been working on the patch conversion and loading. Small side quest means my envelopes now have curves and can be updated whilst playing.
All this is supposed to be done on my own project once I get through this training project 🙈 but loving the...
I used Claude to examine the source code and then asked it to return a version that I could use but added options to change the linearity and be allowed to change all values whilst active. So at one point it’s perfectly linear and other values...
@h4yn0nnym0u5e
I used your code in my first project, `Jeannie_1`. You can only set the Attack phase from linear to exponential; Decay and Release are always exponential.
I would like to use one linear and one exponential envelope. Paul's envelope library is linear. The envelope by Jonathan Oakley (h4yn0nnym0u5e)
How did you modify `effect_envelope.cpp` and `effect_envelope.h` to get the sustain update working?
@flok if you have difficulty finding what you need in the EU, ProtoSupplies.com does have many international customers in the EU, including the Netherlands that order from us using package forwarding services which work very well. You can find...
Small update..
The bargraph display and Voices LED are functional. The bargraph display on the screen shows the envelope contour of each individual voice. The LED display is coupled to the NoteOn and NoteOff signals and indicates the current...
Since my goal is to be able to play live as much music as I can, I implemented advanced arpeggiator and split keyboard feature and multi-timbrality.
I also worked on some recreation of famous Solina String Ensemble sound.
A little demo is here.
Here it comes more demonstration of my Polyphonic Aftertouch sensitive keyboard and Teensy-based synth. This time recreating opening sequence of Chariots of Fire by Vangelis. Except for the piano, all sounds are coming from my DIY Teensy-based...
OK, after many days of work, I have finally achieved the point where I have my keyboard with polyphonic aftertouch connected with fancy LED lights, ribbon controller, Teensy based synth and 800x480 LCD display all working together. And I am...
Since there are so many synth projects on this forum, yet just a few talk about controllers for synths, I would like to introduce you to one of the projects I've been working on for some time... and I'm trying to motivate myself to finish it...
I am unable to change the `envelope.sustain` in Paul's audio library in real time. The AI suggested this solution to me, but unfortunately, it doesn't work. The only thing that works is a brief `envelope.noteOff` followed by `envelope.noteOn`...
Hallo..
In planning and testing: Jeannie_2, featuring 12 voices, a biquad filter with Low Pass, High Pass, Band Pass, Notch, Low Shelf, and High Shelf modes, and adjustable filter slope.
The two numbers above the envelope curve are the...
If you are experiencing USB power issues on Teensy 4.1 and Teensy 4.0, use an external +5V power supply connected to the Teensy Vin pin. However, be careful: the USB Vin wire must then be cut with a utility knife (see image). Do not overload the...
In my TeensyMIDIPolySynth (TMPS), I have implemented a 3-voice 12-poly synth. The audio portion runs on a T4.0 (overclocked at 816MHz with no additional cooling, hovering at or below about 50 degrees C & staying just under 95% loaded when all...
Superbooth in Berlin :)
I actually thought I had gone a bit overboard with Jeannie—three microcontrollers and 28 LEDs. But the Swedes can do even better :love::love::love::love:
A whopping twelve microcontrollers for 1,500 euros.
Link ...
I have set the resolution for the envelope controls to 0-255. Internally, the values are scaled up to exponential values of 0-11880ms for the audio envelopes using a formula.
// calc expo value ---------------------------------------------
float...
I'm not using CS handling for the query (I don't have any more free lines) and am using the interrupt signals from the MCP23017. As soon as an interrupt signal from an MCP23017 arrives at the Teensy, I read the 16-bit GPIO register and mask the...
Lots of helpful information there. Addressable LEDs are a new one to me.
MIDI output is via USB, the rest of the 'magic' was achieved as follows:
24 pins for the encoders.
1 analogue pin each for the 12 way switches which are wired with...