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

    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...
  2. Replies
    3
    Views
    135

    No but Iíll make one.

    No but Iíll make one.
  3. Replies
    13
    Views
    363

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

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

    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...
  8. Replies
    4
    Views
    85

    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)
  9. Replies
    4
    Views
    85

    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
  10. 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.
  11. Replies
    4
    Views
    85

    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...
  12. 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...
  13. 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...
  14. 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.
  15. Replies
    4
    Views
    85

    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?
  16. 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:
    ...
  17. Replies
    11
    Views
    355

    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...
  18. Replies
    11
    Views
    355

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

    Great! Please share here so I can add it to my repo.
  19. 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.
  20. 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...
  21. 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...
  22. Replies
    11
    Views
    355

    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...
  23. Replies
    8
    Views
    502

    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.
  24. Replies
    8
    Views
    502

    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...
  25. 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.
  26. Replies
    11
    Views
    355

    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...
  27. Replies
    11
    Views
    355

    Yes audio.h just has the include.

    Yes audio.h just has the include.
  28. Replies
    11
    Views
    355

    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.
  29. Replies
    19
    Views
    907

    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...
  30. Replies
    19
    Views
    907

    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...
  31. Replies
    19
    Views
    907

    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...
  32. Replies
    19
    Views
    907

    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...
  33. 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...
  34. Replies
    11
    Views
    355

    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...
  35. 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...
  36. 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


    /*************************************************************************
    ...
  37. 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.
  38. 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...
  39. 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.
  40. 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.
  41. 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...
  42. Same error, unfortunately.

    Same error, unfortunately.
  43. Where should my LFO table go? I was using...

    Where should my LFO table go? I was using something like this with the due in lfo.h:


    const PROGMEM int LFO_TABLE[]=
    {
    0,
    1,
    2,
    3,
    ...
  44. This has been very helpful. I should have a...

    This has been very helpful. I should have a working library soon!
  45. Aha in the freeverb code I see: block =...

    Aha in the freeverb code I see:


    block = receiveReadOnly(0);

    I guess I'd just allocate another block for channel 1. Is there a way to know how many channels are available?
  46. I'm looking over effect_freeverb.cpp in section...

    I'm looking over effect_freeverb.cpp in section void AudioEffectFreeverbStereo::update()

    I'm confused that there's only one block pointer for the input:


    #if defined(__ARM_ARCH_7EM__)
    const...
  47. Thanks! So looks like each block I just run...

    Thanks!

    So looks like each block I just run 128 iterations of the per-interrupt code and then pass on the completed block. Got it. I was updating my wavetable pointer every 100 interrupts so...
  48. getting started with library writing - samples vs blocks and AUDIO_BLOCK_SAMPLES

    I'd like to translate my Arduino Due 'string ensemble chorus' effect to an Audio Library-compatible library, but I could use a few pointers.

    First, my Due code deals with samples as they come in...
  49. Replies
    27
    Views
    1,190

    DOH! I figured it out! I was not accounting...

    DOH! I figured it out!

    I was not accounting for the LFO wrapping the buffer index BACKWARDS! I have corrected that, and now it works!

    I'll be doing further commits as I tweak the LFO waveform....
  50. Replies
    27
    Views
    1,190

    If I don't offset the output indexes with the...

    If I don't offset the output indexes with the LFO, it's silent. If I allow it to add the offsets but keep them static, it's silent. Hmm... maybe the noise comes from discontinuous jumps in the LFO...
Results 1 to 50 of 87
Page 1 of 2 1 2