Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • oddson's Avatar
    Yesterday, 03:29 PM
    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 device will not be...
    1 replies | 38 view(s)
  • oddson's Avatar
    09-20-2019, 06:35 AM
    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 'Assuming you're new to...
    6 replies | 114 view(s)
  • oddson's Avatar
    09-20-2019, 03:20 AM
    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 various moduals...
    6 replies | 114 view(s)
  • oddson's Avatar
    09-14-2019, 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 | 46 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 | 228 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 | 228 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 | 228 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 | 228 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 | 129 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 | 104 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 | 102 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 | 283 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 | 283 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 | 441 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 | 441 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 | 386 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 | 190 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 | 190 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 | 190 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 | 190 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 | 342 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 | 164 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 | 1283 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 | 1283 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 | 1283 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 | 1283 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 | 1283 view(s)
No More Results
About oddson

Basic Information

About oddson
Location:
Isle in the Salish Sea

Statistics


Total Posts
Total Posts
1,151
Posts Per Day
0.48
Last Post
Teensy 3.2 - Midi controller not showing in Logic Pro Yesterday 03:29 PM
General Information
Last Activity
Yesterday 09:58 PM
Join Date
02-24-2013