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

Search:

Type: Posts; User: joshnishikawa

Search: Search took 0.00 seconds.

  1. Just to clarify, will calling SPI.setSCK(14)...

    Just to clarify, will calling SPI.setSCK(14) automatically set pin 14 to be *SCK0* and calling SPI.setSCK(20) automatically set pin 20 to be *SCK1*? In other words, is it not necessary (or even...
  2. No, that 'timer' is an elapsedMillis so it should...

    No, that 'timer' is an elapsedMillis so it should be fine. I don't think you're using the TouchVelocity class anyway (you only had functions for TouchSwitch and TouchVariable). You can use those...
  3. Yes, that looks fine. There was a known issue...

    Yes, that looks fine. There was a known issue that caused the quiescent touchRead() value to go above the offThreshold when using the ADC. This meant that the input would never go off. Two...
  4. Switches with enough poles can be wired in a 4 x...

    Switches with enough poles can be wired in a 4 x 4 matrix. That'll save you 8 pins without having to use a mux. Just a thought.
  5. Replies
    1
    Views
    125

    Nope. It should be just that simple. Try the...

    Nope. It should be just that simple. Try the InputFunctionsBasic example in the Arduino IDE. Edit those callback functions using 'if' or 'case' statements to handle only the messages you care about...
  6. If you're only interested in reading the MIDI...

    If you're only interested in reading the MIDI that's coming from the computer that your Teensy is plugged into, then you shouldn't need a shield or a hub or any other hardware. If you want to extract...
  7. I'm not 100% sure what "purpose" it is. Can you...

    I'm not 100% sure what "purpose" it is. Can you get the InputFunctionsBasic example to work? To read USB MIDI from the computer and do stuff with it, you'd just change the functions myNoteOn(),...
  8. Are you actually using the USB *host* now? That...

    Are you actually using the USB *host* now? That would mean you’ve wired your Teensy to have a second USB cable running to it.
  9. Replies
    12
    Views
    450

    How about just letting onControlChange() set a...

    How about just letting onControlChange() set a boolean that uses or doesn't use the lights?


    // LED
    #include "Adafruit_TLC5947.h"
    #define NUM_TLC5974 1
    #define data 11
    #define clock 13...
  10. Great! I'm very glad to hear that. I'm still...

    Great! I'm very glad to hear that. I'm still developing this so I'm interested in any feedback. If possible, please use the following thread instead of this one......
  11. Yes. I've got the "InputRead" example working...

    Yes. I've got the "InputRead" example working here on a 3.6 using "Play Notes From the Computer Keyboard" in MIDI Ox on windows. In MIDI Ox, under Options/MIDI devices, do you have the Teensy...
  12. Wow! It looks like this aims to be fairly...

    Wow! It looks like this aims to be fairly comprehensive. Like a MIDI controller design tool that rivals Teensy's Audio Design Tool. Definitely let us know where to find the repo!
  13. Building my own controllers has certainly been...

    Building my own controllers has certainly been worth it in terms of experience I've gained but I've ended up paying twice as much money for something half as good as a commercial product (which I...
  14. Thanks for the thorough response. I went ahead...

    Thanks for the thorough response. I went ahead and added a line to StartCalibrate() in the TouchPad class.


    void StartCalibrate()
    {
    qval = 0;
    hiThold = 0;
    loThold...
  15. analogRead() interferes with the calibration of the touch input

    Thanks for putting the work in on this. I'm mainly interested in the calibration aspect. I run into a problem on my Teensy 3.6 that, as soon as I add an analogRead() to the loop, the quiescent...
  16. Very nice! It's awesome that you can do vibrato...

    Very nice! It's awesome that you can do vibrato and pitch bend with the same fingers that play the notes. Are the FSRs on the joystick? I'd love to see the code that runs touchRead side of it.
  17. I just wrote a simple library for this kind of...

    I just wrote a simple library for this kind of thing and wouldn't mind some feedback on how it works for other people. Try the "variable_stable" example from this library....
  18. Thank you! The controller is literally just 5...

    Thank you! The controller is literally just 5 pieces cut from a biscuit tin and sandwiched between a strip of sponge tape and a strip of duct tape.

    1830818309

    Next time I won't run the wires...
  19. Bounce, responsiveRead and velocity for touchRead()

    [Originally posted in the wrong thread. Sorry!]

    I thought there should be something like the Bounce library for touchRead() inputs. So I adapted all those functions: risingEdge(), fallingEdge(),...
  20. Bounce, responsiveRead and velocity for touchRead()

    I thought there should be something like the Bounce library for touchRead() inputs. So I adapted all those functions: risingEdge(), fallingEdge(), duration(), rebounce() etc. and added a few other...
  21. *any source files

    SOLVED!
    It turns out that, when you have multi-file sketches, you can use the .h extension for header files but you shouldn't use a .cpp extension on any source files. For some reason it doesn't get...
  22. Call MIDI.sendNoteOn() etc. from OUTSIDE main sketch?

    Specifically, I have a Teensy 3.6 setup as a USB host. I'm successfully sending the incoming MIDI through to a 5-pin MIDI connector on pin 1 via callbacks. The problem is that, when I move the...
  23. Replies
    7
    Views
    1,370

    I see the amp object in the online version of the...

    I see the amp object in the online version of the audio design tool but it doesn't look like it was included in Teensyduino 1.42 beta 3. It doesn't appear in the bundled audio design tool and, if I...
  24. Thanks for the info. Yeah, I probably should...

    Thanks for the info.

    Yeah, I probably should have specified that the “pot” is actually wired as a rheostat. I read that the sensitivity could be adjusted by swapping out that resistor with...
  25. A few questions about Piezo triggers

    I was happy to find the Piezo MIDI drum example in Teensyduino especially the notes on how to wire up the Piezo. It’s quite different than any of the info I’ve found so far and this slight mod I did...
Results 1 to 25 of 25