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

Search:

Type: Posts; User: oddson

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Yeah but you can buy quite a few Teensy LC for...

    Yeah but you can buy quite a few Teensy LC for what a few hours of salary cost.

    What about a MUX based thing that switches data lines to different physical USB A connectors. If when not active...
  2. Then use separate power. I finally read the...

    Then use separate power.

    I finally read the diode thread... they are there because of the pull-up voltages.*

    With voltage dividers the issue is the hot rail*

    If you power the voltage...
  3. ...also... my PC maintains power to USB when...

    ...also... my PC maintains power to USB when frozen and even when off.
  4. Then you need to have a redundant power supply...

    Then you need to have a redundant power supply that powers both teensy if either has 5v.

    Otherwise I can't see how you power the voltage dividers.

    You can't use regular MIDI? Seems to me you...
  5. Consider connecting inputs only to one Teensy and...

    Consider connecting inputs only to one Teensy and using Tx on it to send MIDI as send data to the Rx of the other as a MIDI THRU port.

    They'd have to share common ground so I think you'd want to...
  6. How have you established it will not respond to...

    How have you established it will not respond to valid sysex commands?

    I don't know about you but I NEVER send good sysex on the first try. And this thing has four model# bytes and a bunch of...
  7. Replies
    11
    Views
    249

    ....I should mention that, years ago, Teensy was...

    ....I should mention that, years ago, Teensy was the only way to do USB MIDI without fairly onerous kludges needed to get around how the device appears to the host for programing vs in operation....
  8. Does this mean you're sorted?

    Does this mean you're sorted?
  9. Apparently Boss pedals are not usb midi compliant...

    Apparently Boss pedals are not usb midi compliant but Paul is open to addressing incompatibilities.

    https://forum.pjrc.com/threads/55635-One-Midi-Device-not-working-with-the-USBHost_t36-library
  10. Replies
    11
    Views
    249

    it works, and doesn't need a flush or prepacked...

    it works, and doesn't need a flush or prepacked variables.

    Separete bank selectors would be slightly easier but you should be able to use the pad if you want.
  11. Replies
    11
    Views
    249

    You can retain the single loop structure if you...

    You can retain the single loop structure if you have two paths within the loop, one if 'i' represents an event button and another if it is a modifier.

    Then set modifier variables when not an...
  12. Replies
    11
    Views
    249

    Do you mean an option selector that is only...

    Do you mean an option selector that is only active while held... like a shift key?

    Search MIDI and BANK together for examples. Thay mostly use a variable to store the selected bank states but...
  13. Edit.... nevermind....I think I'm off track... ...

    Edit.... nevermind....I think I'm off track...

    Topmost row of page 4 indicates minimum supply is 3 volts.

    But the performance may be poor given the data provided about higher voltages.
  14. https://www.pjrc.com/teensy/td_libs_Bounce.html...

    https://www.pjrc.com/teensy/td_libs_Bounce.html
    https://www.pjrc.com/teensy/td_keyboard.html

    ...and if you need to handle timing issues.......
  15. Replies
    5
    Views
    172

    I believe CLOCK is upper case. Edit.... not...

    I believe CLOCK is upper case.

    Edit.... not sure if it us in MIDI? I see examples on Ardunio forum with lowercase.

    Edit 2... on my tablet so I can't check, but the library defs seem to say it's...
  16. Replies
    11
    Views
    249

    That's actually the same fatal error plus some...

    That's actually the same fatal error plus some new warnings.

    You don't need an external MIDI controller library (and you won't really find support for them here as none of the regulars use them). ...
  17. Replies
    2
    Views
    111

    The Rule is full code for a reason.... But if...

    The Rule is full code for a reason....

    But if the debug is firing I can't see that the send CC wouldn't also. So how are you confirming no CC is being sent?
  18. Replies
    5
    Views
    262

    This has come up before. Here is a post with some...

    This has come up before. Here is a post with some partially tested code.

    https://forum.pjrc.com/threads/49815-piezo-velocity?p=169389&viewfull=1#post169389
  19. Replies
    2
    Views
    103

    Instructions are at the bottom of the USB MIDI...

    Instructions are at the bottom of the USB MIDI page

    https://www.pjrc.com/teensy/td_midi.html
  20. Yes... the analog needs it too; even more so as...

    Yes... the analog needs it too; even more so as it needs an accurate reading and not just to cross a threshold.
  21. Replies
    34
    Views
    888

    Switches do not have power connected. They...

    Switches do not have power connected.


    They are connected to ground on one side and the data pin on the other.

    https://www.pjrc.com/teensy/td_digital.html

    If your red wire is ground and the...
  22. It might not be you. It's possible Teensy is...

    It might not be you.

    It's possible Teensy is running the code too fast for signals to stabilize after the mux is set.

    You could try a 5 microseconds delay between lines 7 and 8 of the analog...
  23. Replies
    34
    Views
    888

    You dont.... button part is in previous post. ...

    You dont.... button part is in previous post.

    Connect digital pins to ground via momentary switches..
  24. Replies
    34
    Views
    888

    My bad. For incrementally adding analog, you can...

    My bad. For incrementally adding analog, you can just change the value here to an explicit:

    for (int i=0;i<A_PINS;i++){

    Just replace A_PINS with 1 to 8.
  25. Replies
    34
    Views
    888

    Buttons can be active even if not connected as...

    Buttons can be active even if not connected as they work by pulling the signal low while an internal pullup resistor, activated in the setup, otherwise keeps the signal high; even if nothing is...
  26. Replies
    34
    Views
    888

    const int A_PINS = 1; // number of Analog PINS ...

    const int A_PINS = 1; // number of Analog PINS

    Set the number of Analog pins to 1 and connect to A0 to test with one pot. Add each pot to A1, A2 etc. and increment the A_PINS with each added pot.
  27. Replies
    34
    Views
    888

    So you left all the other pins floating and...

    So you left all the other pins floating and that's why you are getting garbage.

    Any PIN active in the code needs to be tied to a stable voltage. You can ground unused ones during testing or...
  28. Replies
    34
    Views
    888

    This data shows you STILL do not have the Teensy...

    This data shows you STILL do not have the Teensy connected to a stable voltage on multiple pins.
  29. Replies
    34
    Views
    888

    If the board is not connected than it is going to...

    If the board is not connected than it is going to generate garbage.

    Any pin being read must have a stable voltage. The digital pins are pulled up to VCC by the code but not the analog ones so the...
  30. Replies
    34
    Views
    888

    Those are what needed to be added to the example...

    Those are what needed to be added to the example code.

    You can change the pins you are using or the CC values the code sends in the array definitions at the top of the file.

    You should expect...
  31. Replies
    34
    Views
    888

    Either you have a bad connection on A0 and A2 or...

    Either you have a bad connection on A0 and A2 or there is something very noisy happening with your build (or both).

    The example code will work much better with noise.

    The CC numbers tell you...
  32. Replies
    34
    Views
    888

    Increasing threshold should fix it. You may...

    Increasing threshold should fix it.

    You may still want to switch to the example code.


    One thing, the example code sends note events and not CC values with the buttons. This can be changed...
  33. Replies
    34
    Views
    888

    Oops misread your reply... deleted

    Oops misread your reply... deleted
  34. Replies
    34
    Views
    888

    ...it's possible you have everything correct but...

    ...it's possible you have everything correct but the signals on A0 to A3 are noisier that those on A4 to A7.

    Increasing the threshold value can get rid of this but too high and it becomes hard to...
  35. Replies
    34
    Views
    888

    ...didn't notice your clip.... Looks like A0...

    ...didn't notice your clip....


    Looks like A0 to A3 are floating...

    This code only works by connecting starting from A0.
  36. Replies
    34
    Views
    888

    Almost certainly one or more analog pin read by...

    Almost certainly one or more analog pin read by the code is floating (i.e. not attached to a voltage source or ground).

    Floating pins generate noise that generates MIDI garbage.

    Do you have...
  37. Thread: Midi 2.0

    by oddson
    Replies
    20
    Views
    1,240

    There appear to be some 'new' details available...

    There appear to be some 'new' details available about 2.0 (despite "articles-old" in the URL some content appears to be very recent).

    While there is no full release, it gives some description of...
  38. Thread: Teensy 2.0 midi

    by oddson
    Replies
    2
    Views
    129

    That example is very basic and is set to only...

    That example is very basic and is set to only update every 20 milliseconds.

    The Many_Button_Knobs is more usable. It can be configured for one pot (or use it for one for each channel to answer...
  39. Replies
    57
    Views
    1,523

    Please tell us what instrument this is for. ...

    Please tell us what instrument this is for.

    You've said organ/keyboard, Yamaha, 14 note polyphony, analog with digital control and it's pre-MIDI so old. So curious it's killing me.
  40. Replies
    2
    Views
    125

    You're printing two values but only one comma...

    You're printing two values but only one comma with each loop.
  41. Software processing the analog readings with...

    Software processing the analog readings with something like ResponsiveAnalogRead library to smooth out signal noise may work better with the additional power. (A simple DIY deadband-hysteresis...
  42. Replies
    57
    Views
    1,523

    What model is this for?

    What model is this for?
  43. I once wrote an extension to Paul's single-piezo...

    I once wrote an extension to Paul's single-piezo example code for someone....

    https://forum.pjrc.com/threads/49815-piezo-velocity?p=169389&viewfull=1#post169389

    I never tested it but others...
  44. I've rarely needed to press the button on a...

    I've rarely needed to press the button on a Teensy. It will normally accept a new sketch without it.

    Arduino and Teensyduino sketches use .ino

    It's already in an enclosure? What is connected to...
  45. You could do the mod wheel thing... A Teensy LC...

    You could do the mod wheel thing... A Teensy LC can support 10 continuous controllers without additional parts.

    But you should be able to program a button box to send whatever MIDI you need to at...
  46. Replies
    3
    Views
    269

    Why are you connecting to the Teensy if you have...

    Why are you connecting to the Teensy if you have an audio board?

    Use a line out and ground from the audio connector pins from the audio board.
  47. Replies
    7
    Views
    337

    1) Standard MIDI is three bytes. The status...

    1) Standard MIDI is three bytes.
    The status byte, which tells the type and channel, as well as two data bytes. For CC messages D1 is the CC number and D2 is the value.
    2) in general D1 is the...
  48. Replies
    3
    Views
    343

    Even thought the smoothing code isn't great in...

    Even thought the smoothing code isn't great in that old sketch it should be enough to eliminate chatter from pot noise if you build carefully and there are no long wire runs.

    (Make sure you don't...
  49. Replies
    3
    Views
    366

    16497 Here's an external switch box schematic...

    16497
    Here's an external switch box schematic that shows one way to switch audio with a contact latch switch.

    Teensy could pull the the BJT base low instead of the footswitch doing it directly;...
  50. Replies
    3
    Views
    366

    If the effects box's pedal outputs work with...

    If the effects box's pedal outputs work with conventional amps as a channel selector then why bother with a microcontroller?


    If you want to add MIDI functionality to the amp, Teensy can do that...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4