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. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    I finally get what the chain selector is after a...

    I finally get what the chain selector is after a quick search.

    What you need is another array that holds what value is sent with the CC message instead of just off and on.

    Then you can...
  2. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Try replacing both sendNoteOn and sendNoteOff...

    Try replacing both sendNoteOn and sendNoteOff with sendControlChange
  3. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Is it a radio button...

    Is it a radio button effect?

    What are you trying to show with the ableton screenies?
  4. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    I'm on a tablet and no compiler available ATM. ...

    I'm on a tablet and no compiler available ATM.

    I'll have a look next time I am but no promises as to when.
  5. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    For latching code. The main addition is an...

    For latching code.

    The main addition is an array to track the state of the button so you can send the oposite message on the next push.

    Then you just listen for the falling edge only as you are...
  6. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Do you want latching (first press is ON next is...

    Do you want latching (first press is ON next is OFF)?

    It's a bit of a complication but changing to control change is otherwise just swapping note on and off calls with CC call like those in the...
  7. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    If you could write a concise description of the...

    If you could write a concise description of the type of controls and the desired behavior, I'm sure I can point you in the right direction. It's too difficult to extract your goal from scattered...
  8. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Er... what I mean is; just tie any pins not set...

    Er... what I mean is; just tie any pins not set to a functioning wiper to ground.

    Any tied to ground should stay quite for MIDI out.
  9. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    A quick look shows nothing but I'm terrible at...

    A quick look shows nothing but I'm terrible at seeing error. A [ /code] would help for readability

    The compiler will almost certainly have objection to the syntax (unless you have been very...
  10. Could Thru be on and its repeating the input. ...

    Could Thru be on and its repeating the input.

    Line 667 of file MIDI.hpp. shows thru is called at read. Maybe it's resetting the pin's state even when a Thru is off??

    If you comment that out you...
  11. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Floating means not electrically connected to the...

    Floating means not electrically connected to the circuit via any low impedance path (wire, solder, copper trace).

    Configured Pins are those you set up as inputs when your program first loads.
    The...
  12. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    If you run Many_button_knobs with floating...

    If you run Many_button_knobs with floating configured pins it will send enough garbage midi to crash your DAW.
  13. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Go ask on GitHub? He does reply but not right...

    Go ask on GitHub?

    He does reply but not right away.
  14. Thread: midi controller

    by oddson
    Replies
    52
    Views
    498

    Author supports the product on GitHub. I wouldn't...

    Author supports the product on GitHub. I wouldn't say it's not recommended but I'm not sure what it brings you can't do without it just as easily.
    ...
  15. 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...
  16. 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...
  17. ...also... my PC maintains power to USB when...

    ...also... my PC maintains power to USB when frozen and even when off.
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    11
    Views
    255

    ....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....
  22. Does this mean you're sorted?

    Does this mean you're sorted?
  23. 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
  24. Replies
    11
    Views
    255

    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.
  25. Replies
    11
    Views
    255

    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...
  26. Replies
    11
    Views
    255

    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...
  27. 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.
  28. 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.......
  29. Replies
    5
    Views
    181

    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...
  30. Replies
    11
    Views
    255

    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). ...
  31. Replies
    2
    Views
    115

    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?
  32. Replies
    5
    Views
    286

    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
  33. Replies
    2
    Views
    106

    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
  34. 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.
  35. Replies
    34
    Views
    913

    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...
  36. 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...
  37. Replies
    34
    Views
    913

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

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

    Connect digital pins to ground via momentary switches..
  38. Replies
    34
    Views
    913

    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.
  39. Replies
    34
    Views
    913

    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...
  40. Replies
    34
    Views
    913

    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.
  41. Replies
    34
    Views
    913

    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...
  42. Replies
    34
    Views
    913

    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.
  43. Replies
    34
    Views
    913

    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...
  44. Replies
    34
    Views
    913

    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...
  45. Replies
    34
    Views
    913

    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...
  46. Replies
    34
    Views
    913

    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...
  47. Replies
    34
    Views
    913

    Oops misread your reply... deleted

    Oops misread your reply... deleted
  48. Replies
    34
    Views
    913

    ...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...
  49. Replies
    34
    Views
    913

    ...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.
  50. Replies
    34
    Views
    913

    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...
Results 1 to 50 of 497
Page 1 of 10 1 2 3 4