Search results

  1. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    Cool! Thanks for sharing :) How is it working for you? Could you share a photo of your build?
  2. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    I reordered the audio object creation order to match the order in which the data is processed: https://github.com/phjanderson/TeensyMixSynth/commit/0b3eb75d559e609a226740926d4647afba0173d1 First the central LFO, then the voices, followed by chorus and mixers and finally the i2s1 output. There...
  3. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    I modified the code to look at these values. It will only process incoming MIDI from USB host devices as "controller data" if idVendor and idProduct match those of the Akai MIDImix. In my case I have both the MIDImix and a Nektar SE25 connected to the USB host through a hub and the SE25 is now...
  4. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    Thanks for the tips! Will look into it later on. No access to a computer and the teensy at this moment.
  5. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    What are you using to play notes? It responds to notes coming in from the hardware MIDI input (from a MIDI keyboard for example) or the USB MIDI connection to a PC (running a DAW for example). I should add links to the example code to test these as well. Will do that later as I do not have...
  6. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    Indeed! I see they inherit these from the USBDriver parent class. I guess what I was hoping to find at that time is to be able to influence what USB device is assigned to which variable: static MIDIDevice_BigBuffer usbHostMidi1(usbHost); static MIDIDevice_BigBuffer usbHostMidi2(usbHost)...
  7. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    Thanks! Your projects are truly a marvel! I looked at several of them in the past. Thanks for sharing them! The main goal of building it with the MIDImix is to have many controls and have every aspect of the voice directly accessible without any menus. I originally wrote code for a much more...
  8. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    I think those kind of controllers make an interesting combination with Teensies and such. Saves a lot of work compared to building your own controls. Particularly good for lazy people like me ;) The nice thing about the MIDImix is that you get quite a lot of controls in a reasonably small...
  9. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    I took these waveforms from AKWF-WaveForms. His README.md mentions: All samples are resampled From D2+2 (which equals 600 samples) to 256+1 Samples for use on the Teensy 3.1. These audio waveforms have a period of 256 points, plus a 257th point that is a duplicate of the first point. This...
  10. phjanderson

    TeensyMix Synth - DIY 8 Voice Synthesizer

    Hi guys, I finally managed to finish and release my DIY synthesizer project, hope it is of use or inspiration to anyone! TeensyMix synth is an 8-voice polyphonic synthesizer based on the Teensy 4.1 development board. It is designed to be an easy build with just an LCD display and a digital to...
  11. phjanderson

    Slight tick / pop at the start and end of a sound using a PCM5102a DAC (with workaround)

    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 the each oscillator is relatively low because it's...
  12. phjanderson

    Restarting (the phase of) an oscillator

    The oscillators AudioSynthWaveform and AudioSynthWaveformModulated in the Teensy Audio library currently lack to ability to restart oscillators (setting the phase_accumulator to 0). This feature is important for multi-oscillator synthesizers. There has been some discussion about this in this...
  13. phjanderson

    Teensy 4.1 I2C issues when using Audio

    Great to hear this, thanks! I will try it later on, I changed all my project code to teensy4_i2c so I need to change everything back again to test it out. Unfortunately I have some other projects I have to work on at this moment, so it may take a while.
  14. phjanderson

    Teensy 4.1 I2C issues when using Audio

    Thanks! :D
  15. phjanderson

    Teensy 4.1 I2C issues when using Audio

    @h4yn0nnym0u5e: I can confirm that your patch, combined with checking the error returned by TwoWire::endTransmission(), solves the issue. Without the patch, TwoWire::endTransmission() will end up in a continuous error 4 "we lost bus arbitration to another master" state. What is next, a pull...
  16. phjanderson

    Mixer with more than 4 channels

    Just out of curiosity: why is there an AudioMixer4 but not an AudioMixer8 or more? I know that multiple AudioMixer4s can be chained to effectively create more channels. But the ability to use an AudioMixer8, for example, instead of 3 chained AudioMixer4s would result in cleaner application code...
  17. phjanderson

    Teensy 4.1 I2C issues when using Audio

    Sure, I created a new quick & dirty program (using PlatformIO) to contain the minimum amount of code to reproduce the problem. main.cpp contains: #include <Arduino.h> #include "USBHost_t36.h" #include <array> #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include...
  18. phjanderson

    Teensy 4.1 I2C issues when using Audio

    Thanks for the swift reply! Do you have any idea why the Audio and I2C code together could cause hangs? And why sandwiching the I2C calls between AudioNoInterrupts() and AudioInterrupts() could be solving the problem? In an attempt to further analyse the problem, I switched Wire.h over to...
  19. phjanderson

    Teensy 4.1 I2C issues when using Audio

    I'm trying to build a synthesizer using a Teensy. My current test setup consists of: Teensy 4.1 M5Stack 8Angle (8 potentiometers, 1 switch and 9 RGB leds through I2C) M5Stack 8Encoder (8 rotary encoders, 1 switch and 9 RGB leds through I2C) 20x4 char LCD connected through I2C using a level...
Back
Top