Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: edrummer

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    392

    I get these errors test_1:12: error: 'note'...

    I get these errors

    test_1:12: error: 'note' was not declared in this scope

    usbMIDI.sendNoteOff(note[i], 0, channel);

    ^

    test_1:12: error: 'channel' was not declared in...
  2. Replies
    17
    Views
    392

    Thanks, I think I found a code that works with...

    Thanks, I think I found a code that works with the pots. I was only able to test 8 at a time, but they all worked. I'm still trying to get the lights to work with the buttons. I will try your code
  3. Replies
    26
    Views
    448

    This code works for 1 button, Can anyone tell me...

    This code works for 1 button, Can anyone tell me how to expand it for 16 buttons with 16 lights?


    /*********************
    Simple toggle switch
    Created by: P.Agiakatsikas
    *********************/...
  4. Replies
    26
    Views
    448

    There are only 3 momentary switches connected to...

    There are only 3 momentary switches connected to pins 0,1,2 and gnd. The led is connected to pin 13 and gnd. The led on both the board and pin 13 work, the brightness is not an issue, I'm trying to...
  5. Replies
    26
    Views
    448

    I believe this may work but it won't compile...

    I believe this may work but it won't compile because of the error 'usbMidi' was not declared in this scope
  6. Replies
    26
    Views
    448

    So do you have an example?

    So do you have an example?
  7. Replies
    26
    Views
    448

    Now I get an error saying usb midi not declared...

    Now I get an error saying usb midi not declared in this scope. I don't think this will work for the other parameter though. I don't understand why the lights go off when the button is released but...
  8. Replies
    26
    Views
    448

    The reason I'm using this sketch is it's the only...

    The reason I'm using this sketch is it's the only one that works with all the parameters I need to control in Ableton. Most simply turn on if off or off if on but one parameter allows you to map many...
  9. Replies
    26
    Views
    448

    THANK YOU!!! I'll try that. That's exactly what...

    THANK YOU!!! I'll try that. That's exactly what I'm trying to do.
  10. Replies
    26
    Views
    448

    The light only stays on while I hold the button...

    The light only stays on while I hold the button down, I need it to be on with the note on and off with the note off commands is there a way to do that? Most of the switches work like this, if you...
  11. Replies
    26
    Views
    448

    the led needs to come on or off with the the note...

    the led needs to come on or off with the the note on/note off commands. The buttons will be mapped to parameters like record, so when I press that button the led in the switch also lights. they need...
  12. Replies
    26
    Views
    448

    Am I missing something? I simplified the code for...

    Am I missing something? I simplified the code for just 3 buttons, the lights work with blink sketch. Just trying to get 1 to work on pin13, no response



    #include <Bounce.h>

    const int channel...
  13. Replies
    26
    Views
    448

    Anybody know why this doesn't work?

    Anybody know why this doesn't work?
  14. Replies
    26
    Views
    448

    yes, the code works fine with the software but...

    yes, the code works fine with the software but no lights
  15. Replies
    26
    Views
    448

    I am using a T3.2 to test this I have a led...

    I am using a T3.2 to test this I have a led connected to pin 13. I tested this with the blink sketch both the led and the orange one on the board work but nothing with the sketch in post # 8
  16. Replies
    26
    Views
    448

    Did I do something wrong? the led doesn't come on...

    Did I do something wrong? the led doesn't come on either the one on the board or if I put one on pin 13.



    #include <Bounce.h>

    // the MIDI channel number to send messages
    const int channel...
  17. Replies
    26
    Views
    448

    There will be 40 buttons, I wanted to see if I...

    There will be 40 buttons, I wanted to see if I could get it working first then see if I can expand the pin count with MCP23017 port expanders. I have a T3.6, all 24 analog pins are used for pots,...
  18. Replies
    26
    Views
    448

    Thank you,

    Thank you,
  19. Replies
    26
    Views
    448

    indicator lights for buttons

    I need to add an indicator light to each button in this sketch, so that a led is turned on with the note on command and off with the note off command. Anyone know how this could be done?




    ...
  20. Replies
    17
    Views
    392

    I stumbled upon this, it sounds like he was...

    I stumbled upon this, it sounds like he was trying to do exactly what i am. Do you know if it ever worked?


    = {11,12}; // Numbers of the LED Pins

    Digital Section:
    Code:

    ...
  21. Replies
    17
    Views
    392

    I have tested all the pots, they are connected to...

    I have tested all the pots, they are connected to 3v, gnd and the center to the pins correct?
  22. Replies
    17
    Views
    392

    Has the many knobs and buttons sketch been tested...

    Has the many knobs and buttons sketch been tested with software? if have something I can test my hardware that would help.
  23. Replies
    17
    Views
    392

    This is my unit, I'd like to try to connect as...

    This is my unit, I'd like to try to connect as many pot's as I can and see if it works. Since I fried the 3.6 I may have to use some muxes. I'm going to try to get the lights working while there's...
  24. Replies
    17
    Views
    392

    I think you got it! its a little shaky but could...

    I think you got it! its a little shaky but could be the breadboard connections.
  25. Replies
    17
    Views
    392

    It worked ant then quit, It seams very unstable....

    It worked ant then quit, It seams very unstable. I had the same problem with another sketch. I fried my 3.6 now I'm using a 3.2 Ill reboot and try again. I just have 3 pots and 3 buttons on the...
  26. Replies
    17
    Views
    392

    I copied and pasted your code from #2. I didn't...

    I copied and pasted your code from #2. I didn't alter anything oh I clicked on copy for forum, it didn't do it right


    #include <Bounce.h>
    // the MIDI channel number to send messages
    const int...
  27. Replies
    17
    Views
    392

    Well it compiles but still no work. when I map to...

    Well it compiles but still no work. when I map to the controls they all have the same cc note and 1 knob turns all 3 controls. I cannot find a code with 3 working pots that I could add the buttons...
  28. Replies
    17
    Views
    392

    how to add 2 more pot to this code

    This is for a midi controller that has 3 buttons and 1 pot. I simply want to add 2 more pots and keep the rest of the code intact. I want to add more later but to learn and understand, if someone...
  29. Replies
    68
    Views
    1,657

    The code at #55 doesn't work with the chain...

    The code at #55 doesn't work with the chain selector. as I tried to explain in post #57. it only sends cc 60. I don't know what makes it work or where it differs from your code but the buttons code...
  30. Replies
    68
    Views
    1,657

    Could you at least just show me how to add 6 pots...

    Could you at least just show me how to add 6 pots to this code?
    /* Buttons to USB MIDI Example

    You must select MIDI from the "Tools > USB Type" menu

    To view the raw MIDI data on Linux:...
  31. Replies
    68
    Views
    1,657

    you lost me, I don't know which code you're...

    you lost me, I don't know which code you're referring to or what to do with that snippet above
  32. Replies
    68
    Views
    1,657

    It doesn't work with Ableton, nothing maps.

    It doesn't work with Ableton, nothing maps.
  33. Replies
    68
    Views
    1,657

    This is making things to confusing, I have my...

    This is making things to confusing, I have my breadboard set up for Odsons code, 6 buttons and 6 pots, If you want to contribute read the posts and understand where we are now or send something to...
  34. Replies
    68
    Views
    1,657

    Well it loads but, same as others, it only...

    Well it loads but, same as others, it only registers the first button on the chain selector. Only difference is before when I hit the second button while holding down the first it would change the...
  35. Replies
    68
    Views
    1,657

    For the lights? I would think press on latch....

    For the lights? I would think press on latch. then unlatch when another button is pressed. The software seams to work with just note on note off. only problem is it also plays notes on the...
  36. Replies
    68
    Views
    1,657

    Yea that makes sense, the other stuff is over my...

    Yea that makes sense, the other stuff is over my head.
  37. Replies
    68
    Views
    1,657

    Back to square A, I don't know how to add...

    Back to square A, I don't know how to add pointometers to the buttons sketch (which is the only one that works with the chain selector). I would be happy to forget the lights for now and just add...
  38. Replies
    68
    Views
    1,657

    So I combined your analog section with the...

    So I combined your analog section with the buttons sketch digital section. It compiles, I'll test it tomorrow. I'm still not clear on how to light the leds.
  39. Replies
    68
    Views
    1,657

    Tried it, doesn't work. it doesn't do the second...

    Tried it, doesn't work. it doesn't do the second button, when I try to enter the second number it just changes the first. I guess I could put it on a separate channel but then I'd have to change all...
  40. Replies
    68
    Views
    1,657

    The chain selector is like a radio dial, just a...

    The chain selector is like a radio dial, just a similar comparison. Anyway this sketch works with the chain selector, how do you change it to cc instead of note on? The first few seconds of this ...
  41. Replies
    68
    Views
    1,657

    I tried the latching code, it works for...

    I tried the latching code, it works for parameters like record on off ect. but the way they have the chain selector set up to map is, you press the first button and hold it while you press the last...
  42. I don't have the switches assembled yet so I was...

    I don't have the switches assembled yet so I was going to test it with 3 switches on a bread board. Do I need a led driver or any other components?
  43. The very beginning shows what I'm after, just the...

    The very beginning shows what I'm after, just the first few seconds.


    https://www.youtube.com/watch?time_continue=4&v=MW0JLxRgJ1Q
  44. Replies
    68
    Views
    1,657

    I tried replacing note[D_PINS] with CCID[A_PINS]...

    I tried replacing note[D_PINS] with CCID[A_PINS] it didn't work so I don'k know how to do it.
    they are normally open switches, it would be press on and stay on until another button is pressed only...
  45. Replies
    68
    Views
    1,657

    I didn't mean to post that twice. I'm trying to...

    I didn't mean to post that twice. I'm trying to be as clear as I can, the pots can all be mapped to any parameter so we can disregard those for now. Its just a matter of changing the buttons to cc...
  46. Replies
    68
    Views
    1,657

    1 change the digital pins to send cc messages and...

    1 change the digital pins to send cc messages and not notes
    2 tell the pin when its pressed to turn on led and turn off previous led so that all leds are off except the one that is pressed.
    For now...
  47. Replies
    68
    Views
    1,657

    1 change the digital pins to send cc messages and...

    1 change the digital pins to send cc messages and not notes
    2 tell the pin when its pressed to turn on led and turn off previous led so that all leds are off except the one that is pressed.
    For now...
  48. Replies
    68
    Views
    1,657

    Update. I can make it select instruments 1...

    Update. I can make it select instruments 1 through 12 with the buttons now I just have to stop it from also playing notes. I hope I can make this work with the many knobs and buttons sketch. One last...
  49. Replies
    68
    Views
    1,657

    I'm trying to get the chain selector to work with...

    I'm trying to get the chain selector to work with digital buttons. The picture in post#32 shows the bar with 0 to 127 places, if I map a pot to it it works but then I have to try to find what I want...
  50. Replies
    68
    Views
    1,657

    OK I fixed my mistakes and it works now. I...

    OK I fixed my mistakes and it works now. I modified the code for 24 pins, it loads but can't test it till I build the unit. Please check the code and see if there's anything wrong. Thanks for your...
Results 1 to 50 of 156
Page 1 of 4 1 2 3 4