Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Triggering Samples

  1. #1
    Junior Member
    Join Date
    Jul 2021
    Posts
    6

    Triggering Samples

    Hi , its my first time on here. so perhaps I should point out
    I am very new to all this .
    I bought a deepmind 12 synth which is a lot of fun but now I want to build a modular synth .
    Also, I am even newer to Teensy . My Teensy 3.2 arrived yesterday and my 3.6 is due shortly.
    so right now its all a bit new to me, so expect some silly questions

    Last night I was watching Pauls Stoffregens great Teensy Audio Tutorial & Workshop on you tube
    particularly the bit where he was triggering the drum samples with press buttons

    I have a sequencer ( this one https://www.youtube.com/watch?v=4mnz6_HvwVs&t=219s )
    it allows me to make a 16 step sequence to each of 4 gates so I could run say a kickdrum
    snare High Hat and clap all in the same sequence by assigning each to a seperate gate .
    My question is , how can I use the sequencers gates to trigger the Teensies samples . I am worried because I believe the gates
    send 5v signals and the Teensy is 3.3V . I thought perhaps maybe replace the push buttons with a transistors emitter and collector
    and use the gates 5v signal to the transistors base . Or maybe replace the push buttons with the output from opto isolators
    using the sequencers gates to turn them on.
    I am hoping someone can let me know if this is feasable or even better still tell me a much easier or simpler way to get the result I want

    Go easy on me I'm a newbie , and I appologise in advance if I dont quite understand your answers right away , at 72 years old things dont sink
    in as quick as they did ( old age has a lot to answer for )

    Don (the old phart)

  2. #2
    Senior Member
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    9,276
    The Teensy 3.2 and Teensy 3.5 are 5V tolerant - for the 3.6 you just need cheap level shifters (the ultra-simple ones with the single mosfet will do) or the other ideas you mentioned.
    5V tolerant means, it is OK to use 5V to the digital pins (as inputs). As outputs, they're 3.3V only.

    Or, juzst use the 3.6 USB Host feature und use USB to connect the Arduino to the Teensy. You can use "Serial" as protocol.
    Last edited by Frank B; 07-15-2021 at 02:44 PM.

  3. #3
    Junior Member
    Join Date
    Jul 2021
    Posts
    6
    Cheers Frank . Only just getting the 3.2 I didnt realize the digital in pins were ok with 5v


    Don

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •