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

Search:

Type: Posts; User: quarterturn

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I re-ordered things to match what the online...

    I re-ordered things to match what the online generator spits out, but this didn't result in a full fix. Now instead of voices always hanging they do so randomly until the same note is played again....
  2. I'm also creating enveloped before waveforms so...

    I'm also creating enveloped before waveforms so it's something to consider. Unfortunately the way I cased my Teensy 3.6 setup precludes being able to keep it plugged into USB and it's major...
  3. Teensy 3.6, Arduino 1.8.13 on Ubuntu 18.04,...

    Teensy 3.6, Arduino 1.8.13 on Ubuntu 18.04, Blackaddr audio interface board.
  4. Teensyduino 1.53 Audio library issues vs 1.51

    I have an Audio library synth project which works fine on 1.51 but on 1.53 has issues with the release phase of envelopes never happening - notes basically get stuck. Attack works fine, and I have...
  5. Very nice to see how your synth is coming along...

    Very nice to see how your synth is coming along and of course I am flattered you are using my ensemble chorus code.

    I have a "string machine" project using the Teensy 3.6 with a Blackaddr...
  6. Thanks, that solved it!

    Thanks, that solved it!
  7. uname -a Linux elitebook745 5.0.0-37-generic...

    uname -a


    Linux elitebook745 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  8. .Can no longer program on Ubuntu 18.04.3 LTS

    I went to update a Teensy 3.2 proejct recently via my Ubuntu laptop and found that Teensyduino no longer properly talks to the board when programming. I am on Arduino 1.8.10 with Teensyduino 1.48.
    ...
  9. Replies
    3
    Views
    654

    demo video

    Here it is: https://youtu.be/yDEagM8vqhU

    Audio is just through the phone mic, as at the moment I don't have a convenient stereo-in capture setup. The ensemble effect is stereo and would sound a...
  10. Replies
    3
    Views
    654

    No but Iíll make one.

    No but Iíll make one.
  11. Replies
    15
    Views
    2,685

    Changing the setting you suggested does not make...

    Changing the setting you suggested does not make the Arduino 1.18.10 plus Teensyduino 1.48 work for me. I get the following in the log console:

    default 20:06:34.342428-0400 mDNSResponder [R143446]...
  12. Replies
    15
    Views
    2,685

    Unfortunately no. On OSX 10.15 and Arduino...

    Unfortunately no. On OSX 10.15 and Arduino 1.8.10, installing the current Teensyduino breaks it. I have a feeling it messes up the way the OS checks for the app wanting to use resources. If you...
  13. As a follow-up, the most gain I could safely get...

    As a follow-up, the most gain I could safely get away with is 0.25 on the first two levels of mixers, and then 0.5 on the final two. I have an amp right before the i2s output set to 2.5. I have...
  14. I was looking for a toneprint for one of my TC...

    I was looking for a toneprint for one of my TC Electronic pedals and saw the specs: 48-bit in, 32-bit out. Might be 64 or 128 bits internally. Makes sense as you don't want to require guitar players...
  15. Replies
    3
    Views
    654

    Teensy3 String Machine

    It's working good enough to share so here it is: https://github.com/quarterturn/teensy3-string-machine

    This is a 32-voice 'string machine' meant for the pjrc.com teensy 3.6 and the blackaddr audio...
  16. Replies
    4
    Views
    322

    This sounds pretty good: // update the...

    This sounds pretty good:




    // update the biquad filter frequency
    if ((micros() - biquadLfoUpdateTimer) >= LFO_PERIOD)
    {
    lfoIndex++;
    if (lfoIndex > BIQUAD_LFO_RANGE)
  17. Replies
    4
    Views
    322

    Here's my first attempt: // 2...

    Here's my first attempt:




    // 2 millseconds for the sinewave LFO update
    #define LFO_PERIOD 3000L
    // 2 seconds for LFO cycle
    // 2 ms is 500 updates/s
    // so 1000 would be 2 seconds
  18. Yeah that seems OK for now. I'll post an update...

    Yeah that seems OK for now. I'll post an update if I figure out a better way.
  19. Replies
    4
    Views
    322

    Eh it's going to be another deep dive. I'd like...

    Eh it's going to be another deep dive. I'd like to just grab data from a low-frequency sine object to sweep the notch frequency but I don't think that's possible. I'll see if it can be done simply in...
  20. Gain control strategies for poly synths

    I am working on a 32-voice synth project and want to come up with a way to keep levels up while avoiding clipping. Each mixer is 4-to-1, so we have to have tiers of mixers at 32 voices. You could set...
  21. HOWTO: Convert Adventurekid .wav samples for use with arbitraryWaveform

    Here's my method of converting the samples found in http://www.adventurekid.se/AKRTfiles/AKWF/AKWF.zip or the github https://github.com/KristofferKarlAxelEkstrand/AKWF-FREE

    These are single-cycle...
  22. I was able to do it using sox and hexdump but...

    I was able to do it using sox and hexdump but with adventure kidís single-cycle wav files vs a soundfont.
  23. Replies
    4
    Views
    322

    biquad filter as phaser?

    Anyone try using the biquad filter with four notch stages as a phaser effect? Just sweep them up and down with some sort of equal spacing, right?
  24. converting .sf2 soundfonts to audio library-compatible files

    I found decoder.py on Paul's github, but I can not seem to get it to output anything. It reads an .sf2 file just fine and parses all the sample sets, but fails when I try to output anything:
    ...
  25. Replies
    11
    Views
    984

    Thanks! I think actually COUNTS_PER_LFO should be...

    Thanks! I think actually COUNTS_PER_LFO should be 200 to get the slow part of the LFO to be 0.6 Hz and the fast part (which is 20x faster than the slow) to be 6.0 Hz. I just tried it and it does...
  26. Replies
    11
    Views
    984

    Great! Please share here so I can add it to my...

    Great! Please share here so I can add it to my repo.
  27. Sigh. Nope it was not the array of pointers. I...

    Sigh. Nope it was not the array of pointers. I re-wrote it with case statements and it still doesn't work. OK I will see if my 4-voice code works with 8 voices. I'd be satisfied with that.
  28. I went around commenting-out and bypassing things...

    I went around commenting-out and bypassing things and couldn't make it work so I went back to my 4-voice synth (which I know works, added in the balibrary.h, swapped in the WM8731, added my ensemble...
  29. troubleshooting code which crashes before setup()

    I have code here: https://github.com/quarterturn/teensy3-string-machine/tree/master which compiles with no errors on Arduino 1.8.8 yet apparently crashes on my Teensy 3.6. I can't get a...
  30. Replies
    11
    Views
    984

    Glad you like it! I will change BUFFER_SIZE to...

    Glad you like it! I will change BUFFER_SIZE to something like ENSEMBLE_BUFFER_SIZE. The LFO rate is determined by COUNTS_PER_LFO, which essentially tells the update method how many interrupts to skip...
  31. Replies
    8
    Views
    787

    Thanks! It works as above for me, I just had some...

    Thanks! It works as above for me, I just had some other mistake upstream which was tripping up the compiler.
  32. Replies
    8
    Views
    787

    Did you ever get this working? I'd like to do 16...

    Did you ever get this working? I'd like to do 16 voices and would love to not have to use a huge case statement for doing stuff to voices and envelopes.

    If it works for you, can you please show...
  33. Is there a decent 3D graphics library suitable...

    Is there a decent 3D graphics library suitable for the T3/T4? My needs are simple - just wireframe with hidden line removal. I'd be outputting to a vector generator running an XY display.
  34. Replies
    11
    Views
    984

    try just this: // Audio Connections...

    try just this:
    // Audio Connections
    AudioConnection patchIn(i2sIn,0, ensemble, 0); // route the input to the ensemble
    AudioConnection patchOut0(ensemble, 0, i2sOut, 0); // connect the...
  35. Replies
    11
    Views
    984

    Yes audio.h just has the include.

    Yes audio.h just has the include.
  36. Replies
    11
    Views
    984

    Did you replace audio.h? Also double-check the...

    Did you replace audio.h? Also double-check the patch settings. You might want to try taking i2sin straight to ensemble and then right to i2sout.
  37. Replies
    19
    Views
    1,539

    OK I have replaced the offset with the float...

    OK I have replaced the offset with the float divide by three and tweaked the LFO. I also added "stereo" by shifting the other channel LFO phase by 90 degrees.

    It sounds VERY lush now! I'm still...
  38. Replies
    19
    Views
    1,539

    I tried writing back to the block (having...

    I tried writing back to the block (having declared it as writeable) but couldn't get it to work, but I'll revisit it.

    I'm pretty sure it sounded louder with the constant in testing but logically I...
  39. Replies
    19
    Views
    1,539

    1. I'm new to this, saw it elsewhere in an audio...

    1. I'm new to this, saw it elsewhere in an audio lib and it seemed to work. I will look into memset though.
    2. Maybe, though I need 512 bytes for the effect and a block is only 128, right?
    3. I...
  40. Replies
    19
    Views
    1,539

    I've got a modulated chorus, it may help to have...

    I've got a modulated chorus, it may help to have a look: https://github.com/quarterturn/teensy3-ensemble-chorus. My screwup was failing to wrap around both ways for the index offset of the delay tap...
  41. Super! I would love to see some vector games done...

    Super! I would love to see some vector games done with the XY data sent to the DACs and maybe Z or RGB sent to a simple 4-bit ladder DAC. Not sure how easy or hard this is, I know I can't do the...
  42. Replies
    11
    Views
    984

    String Ensemble Chorus Effect created!

    Here's my first working version of a String Ensemble Chorus: https://github.com/quarterturn/teensy3-ensemble-chorus

    It's an emulation of the triple-delay modulated 120 degrees out of phase with a...
  43. Since I'm getting a null, I tried using this code...

    Since I'm getting a null, I tried using this code from effect_freeverb.cpp to give it values:


    block = receiveWritable(0);
    if (!block)
    {
    block = &zeroblock;
    }

    This...
  44. Ah yep, it's null. I can take a working example...

    Ah yep, it's null. I can take a working example like the one below, substitute 'ensemble' for 'reverb' and get a null


    /*************************************************************************
    ...
  45. It crashes right at the block->data[i] = ......

    It crashes right at the block->data[i] = ... line. I had it surrounded with Serial.print statements and it only printed the one before.
  46. I've re-written my code and it should be making...

    I've re-written my code and it should be making sense for processing blocks in and out of a ring buffer. Anyhow, not working - I'm going out to lunch when I try to load the combined delay offset data...
  47. I don't think my code is right for block...

    I don't think my code is right for block processing. I need to study effect_chorus.cpp more.
  48. Yeah it's an artifact of initially doing it...

    Yeah it's an artifact of initially doing it backwards ie. doing the modulation on the input pointer and keeping the output steady. Thanks for pointing it out, I will fix it.
  49. Welp here's my first attempt:...

    Welp here's my first attempt: https://github.com/quarterturn/teensy3-ensemble-chorus

    It does not work. The freeverbs code checks that the input block got something from receiveReadOnly(), so I use...
  50. Same error, unfortunately.

    Same error, unfortunately.
Results 1 to 50 of 95
Page 1 of 2 1 2