Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: i2sflew

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    423

    Thank you for setting this up, so far I couldn't...

    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...
  2. Replies
    6
    Views
    423

    Sorry I have very little time to work on my...

    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...
  3. Replies
    6
    Views
    423

    Audio Library Mixer Gain bug?

    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...
  4. Replies
    13
    Views
    614

    In that case I might be better and cheaper off to...

    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.

    ...
  5. Replies
    13
    Views
    614

    I was hoping that would take care of itself with...

    I was hoping that would take care of itself with the opamps relatively low BW.
  6. Replies
    13
    Views
    614

    The above hints already helped a lot! I altered...

    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...
  7. Replies
    13
    Views
    614

    Ok, so my main two objectives with this are: ...

    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...
  8. Replies
    13
    Views
    614

    very noisy differential amp setup

    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...
  9. Replies
    14
    Views
    507

    Thanks, some very nice info in this thread. I'll...

    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.
  10. Replies
    14
    Views
    507

    Haha well I think we have gone from one extreme...

    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...
  11. Replies
    14
    Views
    507

    Never heard about that, that's a freaky concept!...

    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...
  12. Replies
    14
    Views
    507

    @Paul sounds affordable, but still 80€ is not an...

    @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...
  13. Replies
    14
    Views
    507

    Yeah the speaker is about 2". Maybe for this...

    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...
  14. Replies
    14
    Views
    507

    Improving low frequency sound

    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...
  15. Replies
    14
    Views
    751

    Oh, how stupid! Sorry for thinking this was a...

    Oh, how stupid! Sorry for thinking this was a problem with the library, and thank you for fixing my code!
  16. Replies
    14
    Views
    751

    Thanks in advance. Easiest way to induce the...

    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...
  17. Replies
    14
    Views
    751

    I reduced the setup to the following, to reduce...

    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...
  18. Replies
    14
    Views
    751

    I'm using a Teensy 4.0. CPU load seems to be ok,...

    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...
  19. Replies
    14
    Views
    751

    Yeah, the assumption that more memory would help...

    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...
  20. Replies
    14
    Views
    751

    Could it be that some objects aren't meant to...

    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...
  21. Replies
    14
    Views
    751

    229892298822987229902299122992229932299422995 ...

    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...
  22. Replies
    14
    Views
    751

    Sure I could give you the complete code, althoug...

    Sure I could give you the complete code, althoug still very bare and unfinished. How would I upload the files?
  23. Replies
    14
    Views
    751

    Changing DC level freezes Teensy

    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...
  24. Replies
    1
    Views
    179

    Software control of AudioConnection types

    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...
  25. Replies
    22
    Views
    1,016

    Thanks, for the info, I didn't know any of that....

    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...
  26. Replies
    22
    Views
    1,016

    I am very interested in this, and would like to...

    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...
  27. Replies
    22
    Views
    1,016

    I was only intending to use DMA to write the same...

    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...
  28. Replies
    22
    Views
    1,016

    Yeah, this was just to confirm, that a write to...

    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....
  29. Replies
    22
    Views
    1,016

    I just tried the simpleDrum example, which worked...

    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...
  30. Replies
    22
    Views
    1,016

    Thank you both for your support! i tried to...

    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();
  31. Replies
    22
    Views
    1,016

    Thank you very much. Something like this...

    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...
  32. Replies
    22
    Views
    1,016

    Okay, I must have missed something skimming...

    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...
  33. Replies
    22
    Views
    1,016

    Yeah, I thought I could work with output_i2s, but...

    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...
  34. Replies
    22
    Views
    1,016

    Setting up custom I2S communication

    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...
Results 1 to 34 of 34