Search results

  1. J

    Use Sublime Text as an Arduino IDE replacement.

    Yes some warnings are helpful but others are just crowding the screen and are annoying to close. 1 - I created a new simple ino that would generate one warning in the arduino IDE v 1.8.12. 2 - Checked compile in verbose settings. Compiler warnings set to none. 3 - Compile results are...
  2. J

    Use Sublime Text as an Arduino IDE replacement.

    Hello, Thanks for putting this together, defragster! I was wondering if there was a way to turn off warning in the in line compiler errors. "%arduino%\arduino-builder" -verbose=0 -warnings=none ... Didn't change anything.
  3. J

    Adjustable envelope code for the 4.x

    Ok it's got CV out on out 1 now.
  4. J

    Adjustable envelope code for the 4.x

    Yes I'll try and add that in soon. In the mean time you can use an envelope with an AudioSynthWaveformDc object as an input with it's level turned all the way up
  5. J

    Node Red / Audio System Design Tool Modification

    I'm adding some objects I've made so my students can more easily use them. I've put a hacky version here just by editing the HTML. I could put a real version on my web server if necessary. Yes yours looks great! But it's not what I'm going for here. I just want to fork the existing one.
  6. J

    Node Red / Audio System Design Tool Modification

    Hello. This thread is ancient but I'm also trying to make my own version of the GUI. I've got node-red installed but I'm not seeing how to import the existing tool into it. There just seems to be json import but there's no json in the library. Any clues? Thanks!
  7. J

    Reading multiples waves files in the same time

    You can use the audio adapter or spot on the bottom of the 4.1 to connect a serial flash chip. https://www.pjrc.com/store/teensy3_audio.html https://www.pjrc.com/store/teensy41.html For the ones larger than 8 pins you'll just need to solder them to the SPI pins yourself. Remember that they...
  8. J

    Adjustable envelope code for the 4.x

    No worries! I didn't think you were but, yeah, it's hard to sound direct without sounding critical on forum posts hah. Oh that's an interesting way of doing it.
  9. J

    Adjustable envelope code for the 4.x

    Right you can't change the lengths of ADR yet. I'm still trying to find the best way to do that. I was thinking the interpolation for them would be tricky but I just did it to fix the decay glitch and it seems to work. The new version I just put up has an interpolated sustain level so changing...
  10. J

    Adjustable envelope code for the 4.x

    Yeah it seems to handle that kind of thing well as it's always calculating the offset and attenuation of the decay and release. I was using fscale before and interpolating between values but it was far too much work on the 3.x and even on the 4.x I needed to speed it up for an upcoming...
  11. J

    Reading multiples waves files in the same time

    You could use my serial flash library for this but I haven't tried it for very large chips. It should work though. https://github.com/BleepLabs/Serial_flash_sampler_for_Teensy_Audio You can see some code on how to copy SD to flash here It does kind of sound like a job for a raspi though.
  12. J

    Exponential envelope generator object

    Hey just thought I'd mention I got my shapeable envelope working much more quickly now. UHF tested the previous version w TSynth but I'd like to know if this one works for y'all. https://github.com/BleepLabs/adjustable_envelope_example
  13. J

    Adjustable envelope code for the 4.x

    Ok I've updated it to fix lots of little things and have added several LUTs. You can still set arbitrary shapes and it interpolates between them. This should also fix the issues UHF was having https://github.com/BleepLabs/adjustable_envelope_example
  14. J

    Adjustable envelope code for the 4.x

    I still haven't been able to replicate the issue. Is anyone having it? Is it happening with other presets, UHF?
  15. J

    Help with List of Teensy Eurorack modules

    My Delaydelus 2 was semi modular, with CV i/o and is open source. It's no longer for sale though.
  16. J

    Serial flash sampler with speed and direction control

    I finally got around to butting up the sampler I used on the Delaydelus 2. Check it out here and let me know how it works for you!
  17. J

    Adjustable envelope code for the 4.x

    This adjustable envelop can have note off occur at any time and fade out from there. I tested it a bit to make sure there wasn't an odd state where this would happen but of course I could still be missing something. This object already does that. It has a second output that is just the level...
  18. J

    Adjustable envelope code for the 4.x

    What is the processor usage of the TSynth usually? I can't replicate the click. Is it happening in other modes? Is it the resonance of the filter clipping?
  19. J

    Adjustable envelope code for the 4.x

    I finally fixed up my adjustable envelope object I've been messing around with forever. You can get it here. Shape is adjustabe from a sharp exponential curve, 1.0 is a very chonky log for each ADSR stage. Lengths of the envelope stages and amplitude of sustain is unaffected by shape change...
  20. J

    Logarithmic / More Natural Fade with Release

    Here's a working object for the teensy 4.x
  21. J

    Pitch control of sample playback: current state of things?

    I created a sample playback object for a device I mad a couple years ago, the Delaydelus 2. It can sample from the input or copy wav files from the SD card. Samples are stored in serial flash. Here's a recent simplified example I did from my course on using the Teensy to make synths.
  22. J

    Making a Matrix Mixer - issues with release()?

    Yeah unfortunately it doesn't. Here's a picture of the output. The first is on the top and the second on the bottom. Outs 2 and 3 look similar. There are 128 samples between the distortion which is what I have AUDIO_BLOCK_SAMPLES at. Changing it to 512 makes large gaps on the bad channel and...
  23. J

    Making a Matrix Mixer - issues with release()?

    Thanks so much for your quick and thorough response! I've tried a few this but it always ends up with first channel working but the others distorted. It seems like the increment is messed up since the wave is chopped at the regular interval of AUDIO_BLOCK_SAMPLES. All the other code is the...
  24. J

    Making a Matrix Mixer - issues with release()?

    Hello, I would like to create a matrix mixer with X out and X inputs. Using the mixer4 for this is possible but will be very complicated. The code I have so far is not working properly. "matrix_mixer.cpp" //matrix_mixer.cpp #include <Arduino.h> #include "matrix_mixer.h" #include...
  25. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    I did have problems with 1.42. 1.41 is working fine.
  26. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Cool so the only big one left is the tape delay. One other thing I keep meaning to bring up is the envelope effect. It great you updated it to have a longer lengths but since it's linear it's not very useful musically. Any chance you could add a control to change the curve of it? @MadMind...
  27. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    I found an issue with the amplitude feature of AudioSynthWaveformModulated. Using a scope hooked up to the DACs you can see the shape and with the audio out you can hear this triangle LFO is not the correct shape. All the waveforms seem to work except for WAVEFORM_TRIANGLE and...
  28. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Oh sorry I just saw this. Effect tape delay has been in in my github https://github.com/BleepLabs/Audio/blob/master/effect_tape_delay.cpp As I mentioned in the emails you can change the name to whatever you'd like or just add the interpolation feature to the existing delay.
  29. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    I still need to finish up my record to serial flash code but the variable speed playback from flash code works well. I used the waveform object so my students could use something they had experience with but it should obviously be it's own thing
  30. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    This example for the granular library explains it all. We could easily change it to a noteOn type thing. It just needs to be called in setup then so it's always capturing audio. I've fixed some big issues for the other modules and added examples There is also an example on bandlimited...
  31. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Ok I'll get on it this afternoon.
  32. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Oh of course! I want to get cleaned up to your standards. Is there a style guide I've been missing all these years? Yes I'll do a quick run through and have descriptions by tonight.
  33. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Yes that's what I was talking about a while back. A lot of this needs cleaning up which I am working on these next few weeks. AudioEffectSH is definitely the roughest. If you could give me some notes on effect_var_dly and effect_granular that would be great. I'll get back to you one...
  34. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    @MadMind You might be having issues due to using delay. It should almost always be avoided. First try this simple sketch: #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> // GUItool: begin automatically generated code AudioSynthWaveform...
  35. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Oh sorry yes the standard license is fine. /* * Copyright (c) 2018 John-Michael Reed * bleeplabs.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software...
  36. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Since you can't do it in the GUI you'll need to code it yourself. It's just like the sineFM object though: AudioConnection patchCord1(waveform1, waveform2); AudioConnection patchCord2(waveform2, waveform3);
  37. J

    Adding sync input to the audio library

    Ok! Looks like I didn't look through the .h carefully and see that the array size of inputQueueArray needs to be increased too. So then then there are two changes to audio_waveform.h AudioSynthWaveform(void) : AudioStream(2, inputQueueArray) {} //and in the private declarations...
  38. J

    LFO using waveform object

    Sorry I thought I was following this thread! I've updated it to include all waveforms and have added a variable triangle waveform. You can adjust its shape with pulseWidth() just as you would the pulse object. https://github.com/BleepLabs/Audio
  39. J

    Adding sync input to the audio library

    I'm still having issues with this. Here's another example. I have two inputs going into code for the sine wave synth. Neither do anything they just get read and released if they are present. It crashes if both inputs are connected. It displays the correct data for input 1 but incorrect values...
  40. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Sure! Thanks so much, Paul. Let me know if I need to make any changes or additions. I'd love to add a second input to the waveform osc but have been having some issues with that.... https://forum.pjrc.com/threads/41243-Adding-sync-input-to-the-audio-library
  41. J

    My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Howdy! I made all these a while back for a product I put out but haven't gotten a chance to clean up and put on git. Seeing this post reminded me. https://github.com/BleepLabs/Audio I've added: FM input in waveform synth Bandlimited waveforms with some examples on their use. Digital combine...
  42. J

    LFO using waveform object

    I've added an FM input to the waveform object. You can get it here. https://github.com/BleepLabs/Audio All you need to do is patch it manually as it's not in the tool. For example: AudioConnection patchCord3(waveform1, 0, waveform2, 0); AudioConnection patchCord1(waveform2...
  43. J

    Adding sync input to the audio library

    Hello, I'm trying to add a sync input to the waveforms of the audio library but am having issues adding a second input. I've succeeded in making my own effects with two inputs but there's still something I'm not getting about the objects. Here is my test where the second input does nothing...
  44. J

    Custom Teensy Startup Question

    Oh I missed that. Thanks.
  45. J

    Custom Teensy Startup Question

    I think I'll go with the MKL4 since I have the space. Thanks again. One last thing @PaulStoffregen, For the MKL04, does the PTA6 signal still connect to the ID pin of the USB?
  46. J

    Custom Teensy Startup Question

    Ok I'll make the switch. Do you have an visual example of the crystal layout you described, Paul? Anything else that might be causing this? I've tried uploading from several different win7 and osx machines.
  47. J

    Custom Teensy Startup Question

    No but I'm trying to rule that out now. This isn't the first device we've made with the MINI54 and MK20. The first had a way sloppier layout and in the 500 units we produced had very few that wouldn't program. All of the revisions of this board have had this issues though. Obviously very...
  48. J

    Custom Teensy Startup Question

    Ok so this is different from the way Paul describes it. That's why I was confused. Thanks again.
Back
Top