Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • oddson's Avatar
    Yesterday, 04:52 AM
    See below for Paul's educated guess. https://forum.pjrc.com/threads/57569-Does-Serial-Midi-%E2%89%A0-Class-Compliant
    1 replies | 19 view(s)
  • oddson's Avatar
    09-13-2019, 03:02 PM
    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 wiring (although you...
    11 replies | 193 view(s)
  • oddson's Avatar
    09-12-2019, 03:44 PM
    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 very much like using an...
    11 replies | 193 view(s)
  • oddson's Avatar
    09-12-2019, 03:20 AM
    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.
    11 replies | 193 view(s)
  • oddson's Avatar
    09-12-2019, 03:15 AM
    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 ...
    11 replies | 193 view(s)
  • oddson's Avatar
    09-11-2019, 05:15 AM
    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.
    6 replies | 103 view(s)
  • oddson's Avatar
    09-05-2019, 07:41 PM
    oddson replied to a thread Midi + Solenoid in Project Guidance
    I think this link covers stepping up the voltage. https://www.electronics-tutorials.ws/transistor/tran_4.html
    4 replies | 97 view(s)
  • oddson's Avatar
    09-04-2019, 10:32 AM
    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 to start with.
    2 replies | 93 view(s)
  • oddson's Avatar
    08-27-2019, 05:29 PM
    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. https://www.pjrc.com/teensy/td_timing_elaspedMillis.html
    14 replies | 263 view(s)
  • oddson's Avatar
    08-27-2019, 04:26 PM
    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.
    14 replies | 263 view(s)
  • oddson's Avatar
    08-15-2019, 03:01 AM
    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...
    11 replies | 415 view(s)
  • oddson's Avatar
    08-15-2019, 02:55 AM
    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.
    11 replies | 415 view(s)
  • oddson's Avatar
    08-15-2019, 01:06 AM
    Ccrma/~jos is pretty clear and concise. But not too much hand holding. Know your analog theory too. Nice list Andrew, thanks for that.
    7 replies | 365 view(s)
  • oddson's Avatar
    08-09-2019, 04:11 PM
    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 this thread not...
    13 replies | 179 view(s)
  • oddson's Avatar
    08-08-2019, 12:18 AM
    #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 current_value_1;
    13 replies | 179 view(s)
  • oddson's Avatar
    08-07-2019, 11:36 PM
    Didn't you copy and paste? Maybe that's good. But you missed altering these: current_value_1 in the .sendControlChange message calls.
    13 replies | 179 view(s)
  • oddson's Avatar
    08-07-2019, 07:34 PM
    #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 current_value_1;
    13 replies | 179 view(s)
  • oddson's Avatar
    08-01-2019, 05:04 AM
    oddson replied to a thread USB midi issues. in Audio Projects
    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' comment... The other...
    10 replies | 327 view(s)
  • oddson's Avatar
    07-29-2019, 03:24 PM
    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. https://github.com/PaulStoffregen/Teensyduino_Examples/tree/master/USB_MIDI/Piezo_Drum ...
    5 replies | 160 view(s)
  • oddson's Avatar
    07-25-2019, 02:51 AM
    oddson replied to a thread midi controller in Project Guidance
    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 values. I don't...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-24-2019, 11:44 PM
    oddson replied to a thread midi controller in Project Guidance
    //************LOOP************** void loop() { // getAnalogData(); // commented out to avoid garbage MIDI until you are ready with the analog voltage dividers getDigitalData(); while (usbMIDI.read()) { ...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-24-2019, 11:34 PM
    oddson replied to a thread midi controller in Project Guidance
    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 message when buttons...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-24-2019, 05:36 AM
    oddson replied to a thread midi controller in Project Guidance
    /* bespoke code example By Leif Oddson https://forum.pjrc.com/threads/56935-midi-controller */ //************LIBRARIES USED**************
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-24-2019, 04:50 AM
    oddson replied to a thread midi controller in Project Guidance
    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?
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-23-2019, 04:33 PM
    oddson replied to a thread midi controller in Project Guidance
    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 configure buttons on the...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-22-2019, 04:29 AM
    oddson replied to a thread midi controller in Project Guidance
    Try replacing both sendNoteOn and sendNoteOff with sendControlChange
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-21-2019, 09:08 PM
    oddson replied to a thread midi controller in Project Guidance
    Is it a radio button effect? What are you trying to show with the ableton screenies?
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-21-2019, 03:56 PM
    oddson replied to a thread midi controller in Project Guidance
    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.
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-21-2019, 03:38 PM
    oddson replied to a thread midi controller in Project Guidance
    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 only making one...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-21-2019, 03:20 PM
    oddson replied to a thread midi controller in Project Guidance
    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 analog section. ...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-20-2019, 02:42 PM
    oddson replied to a thread midi controller in Project Guidance
    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 hints....
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-19-2019, 05:30 AM
    oddson replied to a thread midi controller in Project Guidance
    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.
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-19-2019, 04:46 AM
    oddson replied to a thread midi controller in Project Guidance
    A quick look shows nothing but I'm terrible at seeing error. A would help for readability The compiler will almost certainly have objection to the syntax (unless you have been very careful and a little lucky). ...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-19-2019, 12:20 AM
    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 can eliminate or...
    6 replies | 127 view(s)
  • oddson's Avatar
    07-18-2019, 10:53 AM
    oddson replied to a thread midi controller in Project Guidance
    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...
    68 replies | 1235 view(s)
  • oddson's Avatar
    07-17-2019, 11:22 PM
    oddson replied to a thread midi controller in Project Guidance
    If you run Many_button_knobs with floating configured pins it will send enough garbage midi to crash your DAW.
    68 replies | 1235 view(s)
No More Results
About oddson

Basic Information

About oddson
Location:
Isle in the Salish Sea

Statistics


Total Posts
Total Posts
1,148
Posts Per Day
0.48
Last Post
usbMIDI tidbit - iConnectivity Yesterday 04:52 AM
General Information
Last Activity
Yesterday 06:44 AM
Join Date
02-24-2013