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. That modified code was to implement toggle...

    That modified code was to implement toggle behaviour with momentary switches.

    If you have toggle switches the stock many-button-and-knobs sketch should work by just replacing the note on/off...
  2. So are you committed to the latching switches? ...

    So are you committed to the latching switches?

    Regardless the LED/DAW feedback feature (assuming your DAW is echoing back the received CC messages??) should be easy to convert to arrays and to...
  3. Has anyone done this? How much damage?

    Has anyone done this?

    How much damage?
  4. You might want to ignore the LEDs at first and...

    You might want to ignore the LEDs at first and when you go to add them perhaps you will want to use arrays since you have them for other elements of your sketch.

    Usually one would use momentary...
  5. Replies
    14
    Views
    99

    Begs the question as to why Windows can't support...

    Begs the question as to why Windows can't support this with its 'universal' diver. Doesn't it??
  6. Replies
    14
    Views
    99

    A registered trademark for a 'universal' driver...

    A registered trademark for a 'universal' driver for only their stuff?
  7. Replies
    14
    Views
    99

    Yeah, so I am hoping for an example to look into...

    Yeah, so I am hoping for an example to look into it a bit more.
  8. Replies
    14
    Views
    99

    @OP - do you know of a controller that does work...

    @OP - do you know of a controller that does work as a 'multi-client' device?
  9. Replies
    14
    Views
    99

    Have I missed something? What is a multi-client?...

    Have I missed something? What is a multi-client?

    edit - answer appears to be 'yes'
    https://users.cognitone.com/wiki/list-multi-client-audio-midi-drivers-windows...
  10. Some/most of the circuits have an op amp post...

    Some/most of the circuits have an op amp post divider as the impedance is very high when little or no pressure is applied.

    Given that you can use 3.3 volt as VCC on a rail-to-rail op amp and it...
  11. https://www.sparkfun.com/datasheets/Sensors/Pressu...

    https://www.sparkfun.com/datasheets/Sensors/Pressure/fsrguide.pdf

    Final pages show interface circuits.

    If you go with a higher upper voltage make sure you limit the output or use a 5v tolerant...
  12. Looks like the pulldown resistor is usually...

    Looks like the pulldown resistor is usually omitted and a 1 kOhm limits the signal current. Lots of examples with BJT transistors on 12 volt rails.

    The pulldown isn't required if you use the...
  13. You don't need 5v as you do need to power the...

    You don't need 5v as you do need to power the solenoid with a much higher voltage anyway and at a very high current as it starts to move so you need to sink the curent though a FET transister as a...
  14. Replies
    14
    Views
    1,055

    They have to be packed and tagged with a...

    They have to be packed and tagged with a timecode.... don't they?
  15. Replies
    14
    Views
    1,055

    I believe it's the same as BLE MIDI. The specs...

    I believe it's the same as BLE MIDI. The specs are off line ATM.

    https://www.midi.org/specifications-old/category/transport-specifications-and-info
  16. That's not really a Teensy question. Logic seems...

    That's not really a Teensy question. Logic seems to have automated control surface mapping features etc. that work by recognizing the ID values of the USB controller. A Teensy running as a MIDI...
  17. I should mention it's very unlikely running your...

    I should mention it's very unlikely running your code on a T4 will improve anything. Also I believe some of the audio options mentioned above are not available yet for T4.


    fyi... should read...
  18. Assuming you new to this it sounds like you are...

    Assuming you new to this it sounds like you are overflowing the signal and you are hearing digital clipping.... which even a bit of is very nasty.

    I don't use the audio library so I don't know how...
  19. Replies
    1
    Views
    71

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

    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...
  21. Replies
    11
    Views
    336

    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...
  22. Replies
    11
    Views
    336

    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.
  23. Replies
    11
    Views
    336

    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
    ...
  24. Replies
    6
    Views
    160

    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.
  25. Thread: Midi + Solenoid

    by oddson
    Replies
    4
    Views
    154

    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
  26. Replies
    2
    Views
    161

    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...
  27. Replies
    19
    Views
    437

    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....
  28. Replies
    19
    Views
    437

    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.
  29. Replies
    11
    Views
    540

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

    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.
  31. Replies
    7
    Views
    445

    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.
  32. Replies
    17
    Views
    297

    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...
  33. Replies
    17
    Views
    297

    #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...
  34. Replies
    17
    Views
    297

    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.
  35. Replies
    17
    Views
    297

    #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...
  36. Replies
    10
    Views
    380

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

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

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

    /* bespoke code example By Leif Oddson ...

    /* bespoke code example

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


    */


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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

    Try replacing both sendNoteOn and sendNoteOff...

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

    by oddson
    Replies
    68
    Views
    1,463

    Is it a radio button...

    Is it a radio button effect?

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

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

    by oddson
    Replies
    68
    Views
    1,463

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