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
    39
    Views
    339

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

    by oddson
    Replies
    39
    Views
    339

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

    by oddson
    Replies
    39
    Views
    339

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

    by oddson
    Replies
    39
    Views
    339

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

    by oddson
    Replies
    39
    Views
    339

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

    by oddson
    Replies
    39
    Views
    339

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

    Go ask on GitHub?

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

    by oddson
    Replies
    39
    Views
    339

    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.
    ...
  9. 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...
  10. 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...
  11. ...also... my PC maintains power to USB when...

    ...also... my PC maintains power to USB when frozen and even when off.
  12. 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...
  13. 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...
  14. 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...
  15. Replies
    11
    Views
    252

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

    Does this mean you're sorted?
  17. 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
  18. Replies
    11
    Views
    252

    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.
  19. Replies
    11
    Views
    252

    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...
  20. Replies
    11
    Views
    252

    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...
  21. 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.
  22. 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.......
  23. Replies
    5
    Views
    180

    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...
  24. Replies
    11
    Views
    252

    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). ...
  25. Replies
    2
    Views
    112

    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?
  26. Replies
    5
    Views
    274

    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
  27. 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
  28. 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.
  29. Replies
    34
    Views
    910

    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...
  30. 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...
  31. Replies
    34
    Views
    910

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

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

    Connect digital pins to ground via momentary switches..
  32. Replies
    34
    Views
    910

    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.
  33. Replies
    34
    Views
    910

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

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

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

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

    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...
  38. Replies
    34
    Views
    910

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

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

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

    Oops misread your reply... deleted

    Oops misread your reply... deleted
  42. Replies
    34
    Views
    910

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

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

    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...
  45. Thread: Midi 2.0

    by oddson
    Replies
    20
    Views
    1,266

    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...
  46. 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...
  47. Replies
    57
    Views
    1,553

    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.
  48. Replies
    2
    Views
    126

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

    You're printing two values but only one comma with each loop.
  49. 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...
  50. Replies
    57
    Views
    1,553

    What model is this for?

    What model is this for?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4