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.02 seconds.

  1. Replies
    1
    Views
    19

    See below for Paul's educated guess. ...

    See below for Paul's educated guess.

    https://forum.pjrc.com/threads/57569-Does-Serial-Midi-%E2%89%A0-Class-Compliant
  2. Replies
    11
    Views
    192

    Relays may allow one to claim 'true bypass' but...

    Relays may allow one to claim 'true bypass' but contacts can be noisy and if you use IC switching you are 'bypassing' the loops if you switch both the output and input of the loop with double pole...
  3. Replies
    11
    Views
    192

    I gather the appeal of "True Bypass" is why you...

    I gather the appeal of "True Bypass" is why you are looking at relays?

    If you feel that need I'd recommend a prebuilt relay modual that handles the switching electronics for you which makes it...
  4. Replies
    11
    Views
    192

    Your design goals are a bit hard to decipher. How...

    Your design goals are a bit hard to decipher. How many inputs and outputs and do you need to send outputs back to inputs?

    If you can draw the analog signal path that might help.
  5. Replies
    11
    Views
    192

    There are integrated circuits for this. Mono...

    There are integrated circuits for this.


    Mono A/B with something like this

    https://www.analog.com/en/products/adv3219.html

    Something like this could do A/B stereo
    ...
  6. Replies
    6
    Views
    102

    https://forum.pjrc.com/threads/42546-Problem-with-...

    https://forum.pjrc.com/threads/42546-Problem-with-Teensy-3-2-Class-Compliant-MIDI-RawHID-Device

    Maybe the iConnect can't accept multiple protocol on the same device.
  7. Thread: Midi + Solenoid

    by oddson
    Replies
    4
    Views
    97

    I think this link covers stepping up the voltage....

    I think this link covers stepping up the voltage.

    https://www.electronics-tutorials.ws/transistor/tran_4.html
  8. Only T3.6 hosts USB MIDI without added hardware...

    Only T3.6 hosts USB MIDI without added hardware and with least trouble.

    If serial MIDI is used any T3 will work and still support wifi board but if usb midi is the target then T3.6 is the board...
  9. Replies
    14
    Views
    263

    If you are trying to update in the loop then that...

    If you are trying to update in the loop then that is the problem...

    The elapsedMillis() function is super easy to use to get something to run at set intervals....
  10. Replies
    14
    Views
    263

    I think we need to understand this part as I...

    I think we need to understand this part as I don't think it's a standard thing in MIDI so perhaps the solution is in managing updating the screen around what else you are doing.
  11. Replies
    11
    Views
    414

    I guess the DAC object in the audio library needs...

    I guess the DAC object in the audio library needs to be updated.

    I didn't follow the 4k of posts so I'll shut up now.

    Edit... might have been ADCs I'm remembering...
  12. Replies
    11
    Views
    414

    I believe it can be used, but maybe not yet? ...

    I believe it can be used, but maybe not yet?

    But acording to Paul somewhere the DAC is only good for about 10 bits above its noise floor.
  13. Replies
    7
    Views
    365

    Ccrma/~jos is pretty clear and concise. But not...

    Ccrma/~jos is pretty clear and concise. But not too much hand holding.

    Know your analog theory too.

    Nice list Andrew, thanks for that.
  14. Replies
    13
    Views
    179

    I disagree. If a thread goes too far off course...

    I disagree. If a thread goes too far off course from the initial enquiry the work you do on it becomes too specific to be useful to anyone but the OP.

    Here, someone might reasonably stumble upon...
  15. Replies
    13
    Views
    179

    #include // the MIDI channel number...

    #include <Bounce.h>

    // the MIDI channel number to send messages
    const int channel = 1;

    Bounce button0 = Bounce(0, 5);
    Bounce button1 = Bounce(1, 5);
    Bounce button2 = Bounce(2, 5);

    byte...
  16. Replies
    13
    Views
    179

    Didn't you copy and paste? Maybe that's good....

    Didn't you copy and paste?

    Maybe that's good. But you missed altering these:

    current_value_1

    in the .sendControlChange message calls.
  17. Replies
    13
    Views
    179

    #include // the MIDI channel number...

    #include <Bounce.h>

    // the MIDI channel number to send messages
    const int channel = 1;

    Bounce button0 = Bounce(0, 5);
    Bounce button1 = Bounce(1, 5);
    Bounce button2 = Bounce(2, 5);

    byte...
  18. Replies
    10
    Views
    327

    It does sound like too much midi being sent is...

    It does sound like too much midi being sent is overflowing the event buffer. Is there nothing in your code to limit the density of adjustment messages?

    I'm not clear on the 'window debugger'...
  19. You don't need MIDI, but a piezo to midi sketch...

    You don't need MIDI, but a piezo to midi sketch is a good place to start.

    Paul gives example code for a single piezo trigger....
  20. Thread: midi controller

    by oddson
    Replies
    68
    Views
    1,235

    If I add pots to that code it will do what my...

    If I add pots to that code it will do what my original example code already does.

    My code at post 55 should work when configured. Unless I still don't understand chains and controlling with CC...
  21. Thread: midi controller

    by oddson
    Replies
    68
    Views
    1,235

    //************LOOP************** void loop() { ...

    //************LOOP**************
    void loop() {
    // getAnalogData(); // commented out to avoid garbage MIDI until you are ready with the analog voltage dividers
    getDigitalData();
    while...
  22. Thread: midi controller

    by oddson
    Replies
    68
    Views
    1,235

    You have to configure it... and you're going to...

    You have to configure it... and you're going to have to start trying to read the code.

    Forget the lights for now.

    My code should let you configure any number of pins to send any arbitrary CC...
  23. Thread: midi controller

    by oddson
    Replies
    68
    Views
    1,235

    /* bespoke code example By Leif Oddson ...

    /* bespoke code example

    By Leif Oddson
    https://forum.pjrc.com/threads/56935-midi-controller


    */


    //************LIBRARIES USED**************
  24. Thread: midi controller

    by oddson
    Replies
    68
    Views
    1,235

    So each and every button sends a CC number and...

    So each and every button sends a CC number and value, always the same and only on press and not on release?

    So not latching and not ON when pressed and OFF when released. All buttons. Correct?
  25. Thread: midi controller

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

    Try replacing both sendNoteOn and sendNoteOff...

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

    by oddson
    Replies
    68
    Views
    1,235

    Is it a radio button...

    Is it a radio button effect?

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    by oddson
    Replies
    68
    Views
    1,235

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

    Go ask on GitHub?

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

    by oddson
    Replies
    68
    Views
    1,235

    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.
    ...
  39. 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...
  40. 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...
  41. ...also... my PC maintains power to USB when...

    ...also... my PC maintains power to USB when frozen and even when off.
  42. 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...
  43. 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...
  44. 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...
  45. Replies
    11
    Views
    384

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

    Does this mean you're sorted?
  47. 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
  48. Replies
    11
    Views
    384

    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.
  49. Replies
    11
    Views
    384

    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...
  50. Replies
    11
    Views
    384

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