Thank you for setting this up, so far I couldn't write something like this for my own. Your code does show this works. This is pretty much what my main program is doing except with a lot of MIDI and...
Type: Posts; User: i2sflew
Thank you for setting this up, so far I couldn't write something like this for my own. Your code does show this works. This is pretty much what my main program is doing except with a lot of MIDI and...
Sorry I have very little time to work on my project, so I'll try to setup another program which reproduces the problem when I have time.
I'll try with a better description:
I can alter the...
Hi everyone,
23509
above you see my basic setup. I am trying to regulate amplitude by the mixer gain setting instead of the oscillators. However if the envelope has already started and the gain...
In that case I might be better and cheaper off to order the audio shield. I wanted to save some money by using the class D I already have and maybe learn something about audio op amps on the way.
...
I was hoping that would take care of itself with the opamps relatively low BW.
The above hints already helped a lot!
I altered the schematic this way for the first stage:
23327
The noise has gotten less and as long as the input amplitude is attenuated enough there is no...
Ok, so my main two objectives with this are:
1. convert the differential MAX98357A output to single ended, to drive either headphones, or an external amplifier by AUX.
2. boost the low...
Hi everyone,
I am trying to build a Line-Out from my Teensy Synth. Since I am using a MAX98357A module for audio output, I can't use that to connect it to an external amp or line-in on a pc.
I...
Thanks, some very nice info in this thread. I'll see if I can make it work, and at least get some better low freq response than this old bluetooth speaker.
Haha well I think we have gone from one extreme to the other now. I guess I'd like to settle in the middle somewhere. I want to build a synthesizer some time, with a full range of keys and about the...
Never heard about that, that's a freaky concept! But I'd also like to have the pure sine waves come out in the end and get rid of those pesky overtones.
Oh so for proper bass I need to match...
@Paul sounds affordable, but still 80€ is not an investment I'd make any day. Something to consider for a future synthesizer project, which might have more oomph!
@jonr I'm thinking about adding a...
Yeah the speaker is about 2". Maybe for this project I'll stick to converting the differential output to single-ended then and stick to my normal standing amp, although that's not made for very low...
Hi everyone,
I am building a synthesizer with the Teensy 4.0 and the audio library. So far this has been delightfully accessible and I am liking the results. I ordered a MAX98357A Class D Amp to...
Oh, how stupid! Sorry for thinking this was a problem with the library, and thank you for fixing my code!
Thanks in advance.
Easiest way to induce the behaviour is setting a Terminal to 921600 and sending 0xFF 0x03 0x15 0x00 0x00. This should freeze the Teensy and in the case of hterm cause the...
I reduced the setup to the following, to reduce the likelihood of it being a lack of resources:
23025
The problem still persists. I have no idea what could be causing this, since I can alter the...
I'm using a Teensy 4.0. CPU load seems to be ok, and it seems to be tied with the signal amplitude as well? When I am playing sounds with lower amplitude it shows a load of about 3 %, when using the...
Yeah, the assumption that more memory would help is what I had earlier. In the uploaded code I upped the memory as well to very high levels in the hopes to get things working again.
Using...
Could it be that some objects aren't meant to have too many outputs? Right now I am having the same problem when trying to change my LFO frequency, which is used for frequency modulation of the main...
229892298822987229902299122992229932299422995
For some reason it would not let me upload voices.hpp so here are the contents of that:
#ifndef VOICES_HPP
#define VOICES_HPP
#include...
Sure I could give you the complete code, althoug still very bare and unfinished. How would I upload the files?
Hi,
I'm trying to control the shape of the modulated waveforms by using a DC block connected to the second input and changing the amplitude values on the fly, by serial commands. However using the...
Hi,
I am trying to implement audio objects like the modulated waveforms. However I am seeing the way to control the variable triangle waveform is by using the audioConnection types and connecting...
Thanks, for the info, I didn't know any of that.
Maybe I should just switch over to the Teensy Audio library after all for my synthesizer, since my own code reaches its limit with 6 voices with 2...
I am very interested in this, and would like to dive a bit deeper if you don't mind, since I would like to optimize my synthesizer program as well.
I looked into the synthesizing function for the...
I was only intending to use DMA to write the same values for my second channel, since I only really need mono. That way I have twice the time to generate another sample. Generating more samples is...
Yeah, this was just to confirm, that a write to the reg would result in any sound at all. That's why I think it has to do with the DMA transfers.
I am wondering if my i2s_tx_buffer setup is correct....
I just tried the simpleDrum example, which worked fine. Really loud and clear sounds!
I think it might have to do with the DMA transfers to the I2S DR. I put a digitalWrite into the isr and could...
Thank you both for your support!
i tried to implement the parts I needed:
void initI2S(void)
{
dma.begin(true); // Allocate the DMA channel first
configI2S();
Thank you very much. Something like this explanation was something I was hoping to find earlier. You'll find a little higher up, that I am using a Teensy 4.0.
So it seems that writing my calculated...
Okay, I must have missed something skimming through the modules functions.
I am trying to use 48 kHz with a Teensy 4.0 since I am trying to interface with another controller instead of an I2S audio...
Yeah, I thought I could work with output_i2s, but that also seems to be very integrated with the other audio library functions. Every interaction with the libarary requires audio blocks and altering...
Hi everyone,
I want to port an existing synthesizer project from STM to the Teensy. Looking at the Audio library it seems to be very powerful, but in general very restricted in itself.
I'd like...