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

Search:

Type: Posts; User: kallikak

Search: Search took 0.00 seconds.

  1. Keep MIDI.read() in your loop and work more on...

    Keep MIDI.read() in your loop and work more on optimising your OLED code. That's where the problem is.

    If updating a portion of the screen only instead of a clear and full update makes no...
  2. Replies
    4
    Views
    468

    You're thinking of the "unconditional contour"...

    You're thinking of the "unconditional contour" option on the MemoryMoog. It's not common, but an interesting option nevertheless - kicking off a cycle from a trigger rather than following a gate.
  3. Replies
    6
    Views
    490

    The help for the USB output object says this: ...

    The help for the USB output object says this:

    "USB input & output does not cause the Teensy Audio Library to update. At least one non-USB input or output object must be present for the entire...
  4. Replies
    6
    Views
    540

    I have a very simple example here LFO Modulation...

    I have a very simple example here LFO Modulation that might help.

    It has an LFO modulating both an oscillator and a filter with an independent amount control as well. It doesn't use an envelope,...
  5. Replies
    7
    Views
    2,804

    And now version 2. 28420 28421

    And now version 2.

    28420

    28421
  6. Replies
    40
    Views
    1,773

    I don't understand why you would think I do - I...

    I don't understand why you would think I do - I explicitly stated that interrupts are better and more elegant.

    But from your comments it seems like you are new to this, so I tried to address some...
  7. Replies
    40
    Views
    1,773

    Some thoughts: - memory is a non-issue for...

    Some thoughts:

    - memory is a non-issue for this application
    - interrupts are more efficient and more elegant to implement than polling (what you are calling the digital pin method, but both...
  8. Replies
    40
    Views
    1,773

    You can daisy chain 8 MCP23017s off one i2c bus,...

    You can daisy chain 8 MCP23017s off one i2c bus, giving 128 (interrupt capable) digital pins.

    That would support 64 encoders (if you're not using switches).

    And the Teensy 4 has 3 I2C busses,...
  9. Replies
    12
    Views
    679

    Your circuit is fine and won't damage the Teensy....

    Your circuit is fine and won't damage the Teensy.

    it's very easy to get pins 4 & 5 mixed up on the DIN - that's what I'd check closely. Specifically - make sure you are viewing the connector from...
  10. Replies
    7
    Views
    2,804

    I put together a Eurorack 4-operator FM voice...

    I put together a Eurorack 4-operator FM voice using parts of the Dexed audio library object.

    28146

    Because I wasn't trying to recreate a DX7, I dropped various things (like the LFO, pitch...
  11. Replies
    7
    Views
    2,804

    I have just returned to this and your code looks...

    I have just returned to this and your code looks very promising, so I had a go with the Audio Library object version.

    I am using a Teensy 4.1 and the problems I describe occur with both the audio...
  12. Thanks for spotting that - fixed. :-)

    Thanks for spotting that - fixed. :-)
  13. Replies
    3
    Views
    800

    Sample and hold on an input noise signal is great...

    Sample and hold on an input noise signal is great for a rhythmic random cut-off changing, or for "robotic" sound effect pitch jumps.

    This app let's you play around with both:...
  14. Replies
    4
    Views
    702

    I tried a few places - setup() was too late. ...

    I tried a few places - setup() was too late. Even startup_late_hook() was too late.
  15. Replies
    4
    Views
    702

    No one has any suggestions for how this might be...

    No one has any suggestions for how this might be manageable via software on powerup?

    My thinking now is a supervisor chip like a MIC803 connected to the reset pad is the best option - just a bit...
  16. Replies
    4
    Views
    702

    T3.2 power up issues

    Hi,

    I think I've got a situation where the external power into my Teensy 3.2 is marginal at startup. Let me explain the context and I'd be glad to hear any suggestions for things I can do in code...
  17. Must have been just working too late. :-) ...

    Must have been just working too late. :-)

    It's all good now - and proving a lot of fun.

    I must say I'm very happy with my first use of the T3.2. Small, fast, and with a DAC! Glad to be able to...
  18. Thanks for that. I did try the dc option with...

    Thanks for that. I did try the dc option with some success. I didn't think of using a queue, so I'll try that too. There seemed to be some glide in the steps so maybe the queue option will be...
  19. Eurorack drum machine to show - and a question about Teensy 3.2 DAC

    Hi,

    I had some spare space in my Eurorack and decided to make a little drum machine to fill it.

    I used a Teensy 3.2 with samples and a LED matrix as the primary control for connecting beats to...
  20. Organise and optimise your code, and never use...

    Organise and optimise your code, and never use delay (except possibly in setup code).

    That will make it much easier to work with.

    For example, lot's of places arrays could be used to avoid the...
  21. Replies
    6
    Views
    1,253

    Look a bit more at the envelope object. You can...

    Look a bit more at the envelope object. You can set the timings for the stages. If sustain is set 0, then you don't even need to worry about the precise time of calling noteoff(), but you could use...
  22. Replies
    2
    Views
    586

    Use the DC offset function.

    Use the DC offset function.
  23. I definitely hope it helps people get started -...

    I definitely hope it helps people get started - and helps them understand things within a broader context.

    Much of what I wrote I already knew, but there were still a good few places where I...
  24. Building and learning synthesis with Teensy - a resource I've made

    I've always been into teaching and have written a lot of things for learning maths, so given the fun I've had (re)learning synthesis, coding with web audio and building synthesiser tools with Teensy,...
  25. I haven't run into any difficulties dynamically...

    I haven't run into any difficulties dynamically creating and patching audio objects, but I just do it once at startup - I don't change the connections arbitrarily during the lifetime of the program....
  26. If you mean you want to learn about the...

    If you mean you want to learn about the electronics of the analog synth, and build things with a Teensy to interface with it, I'd recommend the Moog Werkstatt.

    If you want a straightforward...
  27. Replies
    7
    Views
    2,804

    This looks very cool. Thanks for posting. ...

    This looks very cool. Thanks for posting.

    I've been looking at the Korg Opsix - seems they've really thought out the interface well. It's quite difficult to make FM synthesis immediate in the...
  28. Replies
    14
    Views
    4,423

    I'd also like to encourage this. I love the...

    I'd also like to encourage this.

    I love the multitimbrality of the Blofeld, but it's hard to do sound design with so few knobs, so I used a Teensy 4 and a number of port expanders/MUXes to make a...
  29. Replies
    14
    Views
    4,423

    What you can emulate is the experience of...

    What you can emulate is the experience of creating sounds with those synths. It definitely won't sound the same, but the experience can still be worthwhile.

    For example, I think the website...
  30. I've put together some documentation for this now...

    I've put together some documentation for this now (having a few "early adopters" have a go at building one certainly puts a bit of pressure on to sort stuff out. :) )

    A User Guide describing the...
  31. Have a look at the SparkFun hookup guide for the...

    Have a look at the SparkFun hookup guide for the 74HC4051 - it's the same thing except only 8 lines (and hence only 3 address pins).
    ...
  32. If you look at the encoder matrix at the top...

    If you look at the encoder matrix at the top left, there is a select encoder to select a row and then 4 encoders to change values. The upper value in each case is changed by rotation, and the lower...
  33. I've progressed from the prototype stage to what...

    I've progressed from the prototype stage to what I think is a shareable version. Putting together a webpage now with details.

    It fits nicely in the enclosure I chose, and it's nice to have the...
  34. Just realised there is an error in the triangle...

    Just realised there is an error in the triangle calculation in the code I posted earlier.

    The triangle wave only has the odd harmonics, so need to make a small change as follows:



    ...
    ...
  35. I've added some extra functionality to my synth -...

    I've added some extra functionality to my synth - I used the spare memory to add some basic 808 style drum sounds (bass, 3 toms, snare, and open and closed hi-hat). After trying out a few...
  36. Replies
    8
    Views
    2,275

    Thanks for posting this. It's a nice little...

    Thanks for posting this.

    It's a nice little demo and just what I needed to show someone. Porting to my LCD was trivial and saved me heaps of time. :-)
  37. I agree. It would be great to have the aliasing...

    I agree. It would be great to have the aliasing issues actually addressed in the library, but the wavetables are easy and a big improvement.

    Despite saying above that it wasn't a priority, I...
  38. Yeah - the aliasing is a pain. At the moment I...

    Yeah - the aliasing is a pain.

    At the moment I generate wavetables for sawtooth, square and triangle waves using a modification of some code from the forum (see below), but I intend to refine...
  39. A subharmonic synthesiser and polymetric sequencer with Teensy 4 and audio library

    Hello.

    I thought I'd share a project I've been working on for the last 2 months - A subharmonic synthesiser and polymetric sequencer with Teensy 4 and audio library inspired by Euclidean Rhythms,...
  40. Replies
    7
    Views
    1,871

    Got it working. The defines are a bit broken, so...

    Got it working. The defines are a bit broken, so it's not just a matter of removing the #if 0, but it's not much more than that. I can't be sure that there aren't any other side-effects, but it...
  41. Replies
    7
    Views
    1,871

    Well I'll certainly try re-enabling FTM3 this...

    Well I'll certainly try re-enabling FTM3 this evening when I get home. Fingers crossed it was just commented out for testing... :-)
  42. Replies
    7
    Views
    1,871

    That code snippet looks odd - seems to imply FTM3...

    That code snippet looks odd - seems to imply FTM3 is disabled?

    But the README says:

    "1 FTM with 4 channels (on teensy 3.6, only FTM0 and FTM3 are possible. on teensy 3.2, FTM0 only). All others...
  43. Replies
    7
    Views
    1,871

    I believe pin 34 is E25, and from the library...

    I believe pin 34 is E25, and from the library info:

    "The pair (hsync_ftm_num, hsync_ftm_channel_num) defines the pin generating Hsync signal. Look at teensyduino's teensy3/core_pins.h file,...
  44. Replies
    7
    Views
    1,871

    uVGA library with non-default pins

    Hi,

    I am using the uVGA library with a Teensy 3.6, and all worked fine with the default settings. But for port-related reasons, instantiating the uVGA object using (hsync_ftm_num,...
Results 1 to 44 of 47