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

Search:

Type: Posts; User: Gerrit

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    297

    First, always connect the pull up resistors to...

    First, always connect the pull up resistors to 3.3V when using a Teensy 3.6! Second, a too high value of the pull up resistors cannot damage a Teensy (a much too low value could).

    The best way is...
  2. Replies
    19
    Views
    297

    4k6 seems a bit high to me, master and slave are...

    4k6 seems a bit high to me, master and slave are on the same board but still why not use a something like 2k2 or 1k8? Do you have (access to) an oscilloscope so you can check the I2C signal to verify...
  3. Replies
    1
    Views
    73

    The ResponsiveAnalogRead library is commonly used...

    The ResponsiveAnalogRead library is commonly used to smooth the analog input, works like a charm. See the 'Many_Button_Knobs' example in the Teensyduino install (File > Examples > Teensy > USB_MIDI).
  4. Replies
    6
    Views
    108

    No, there's no problem. It is true that the...

    No, there's no problem. It is true that the analog input is shorted to ground when the slider is at the bottom end but that's not a problem because it is an input and there's no current flow from an...
  5. Replies
    6
    Views
    108

    The (internal) pull up resistors are only...

    The (internal) pull up resistors are only relevant for digital inputs.

    A standard value for this application would be a 10kΩ lineair slide potentiometer. ALPS and Bourns are widely used. The...
  6. I came up with this function for extracting an...

    I came up with this function for extracting an index from an OSC path:


    int getAddresPartAsIndex(char* addres, int position){
    int number=0; // function will return -1 if the position doesn't...
  7. Replies
    19
    Views
    297

    This is the code I currently have in the master:...

    This is the code I currently have in the master:


    // get fader values and touch status
    void getFaderData() {
    size_t idx;
    int incomingFaderValue[16]; //
    int touchCount=0;
    ...
  8. Replies
    19
    Views
    297

    You really should use labels in your schematic in...

    You really should use labels in your schematic in stead of hooking everything up with lines because it's not very readable like this.
    It's not clear to me what the status is, does it all work now?...
  9. Replies
    19
    Views
    297

    An actual schematic would be required to comment...

    An actual schematic would be required to comment on this, not just the PCB layout. My first guess would be that you connected the I2C pull up resistors to 5V in stead of 3.3V because there's no way...
  10. Thanks :) I used the motorfader test setup to...

    Thanks :)

    I used the motorfader test setup to develop the sequencer engine and display control up to a point where I was confident enough that this was going to work. For example, the LED display...
  11. Zeus Commander SPS-16, MIDI step & pattern sequencer

    15735

    The currently available MIDI step sequencers provide little or limited control and feedback of the step parameters (pitch, velocity, note length and timing) and to keep the cost down all...
  12. Replies
    3
    Views
    187

    These are not serious crimp tools, no wonder you...

    These are not serious crimp tools, no wonder you found the crimps to be problematical. I'm afraid that there's no way around it, serious crimp tools cost serious money. I bit the bullet and got a TE...
  13. Replies
    12
    Views
    271

    Use callback functions to handle the incoming...

    Use callback functions to handle the incoming MIDI data, see Using USB MIDI for details. Your code for processing incoming sysex data would go in the callback function.
  14. Replies
    12
    Views
    2,468

    Shifting up... The step & pattern sequencer...

    Shifting up...

    The step & pattern sequencer I'm working on has 96 switches so stripboard is definitely not an option anymore. I created schematics and pcb boards for the control board with 32...
  15. Replies
    35
    Views
    7,278

    Next generation panel

    While strip board is nice to develop and test stuff there comes a point when you just have to create proper circuit boards for your project so I took the time to learn how to use KiCad and designed...
  16. You're welcome, glad to hear that the code is of...

    You're welcome, glad to hear that the code is of use to someone :)

    Here's an updated version of the code: 15402

    I created a basic Reaper class to hold all the track data etc. The controller...
  17. Given your requirements I don't see the benefit...

    Given your requirements I don't see the benefit of using OSC in stead of Midi for your controller. Perhaps you could pose the question whether to use Midi or OSC for this project on the Reaper forum?...
  18. The most important question is what do you expect...

    The most important question is what do you expect from the controller, i.e. what's it supposed to do/be? The Ohmy Bytes controllers you referred to are tailor made for a specific plugin and provide...
  19. Why would you want to use multiple Teensies?...

    Why would you want to use multiple Teensies? Wouldn't it make more sense to use multiplexers, shift registers or port expanders? How many controls are we talking about? Personally I like shift...
  20. Replies
    10
    Views
    692

    You should remove this from your loop: while...

    You should remove this from your loop:

    while (usbMIDI.read()) {
    }


    Please put the code in CODE tags, it makes it so much more readable.
  21. Replies
    5
    Views
    497

    I don't know if and how this can be done for the...

    I don't know if and how this can be done for the USB serial, I only use it for debugging. Renaming the MIDI device is in the examples. You should check the page on USB serial if this:

    has...
  22. Replies
    5
    Views
    497

    No problem, you can use USB serial and USB MIDI...

    No problem, you can use USB serial and USB MIDI at the same time, it's one of the USB type options. Teensy also has standard support for multiple virtual MIDI cables so you can also go that route....
  23. Replies
    2
    Views
    230

    Thanks. I came to the same conclusion so I...

    Thanks.

    I came to the same conclusion so I ordered the Adafruit splitter. This PoE splitter also provides 2.5kV galvanic isolation which is great. With 5V 2.4A the splitter is powerful enough to...
  24. A short video of the controller: ...

    A short video of the controller:


    https://www.youtube.com/watch?v=05Lk5W3hXyM&feature=youtu.be
  25. Replies
    35
    Views
    7,278

    Yes, these are Avago (now Broadcom) HCMS-2965 4...

    Yes, these are Avago (now Broadcom) HCMS-2965 4 digit LED displays. They're just mounted on some strip board:

    14848

    They're pretty expensive but the readability is excellent and there's no...
  26. Replies
    35
    Views
    7,278

    Thank you :) The faders use up all the pins on...

    Thank you :)

    The faders use up all the pins on one Teensy (up, down, touch, analog, all times eight) and I don't know how to control the faders using port expanders and because I use PID control...
  27. For general information look here: Using USB MIDI...

    For general information look here: Using USB MIDI

    This thread contains the solution to your input problem: MIDI DJ Controller using Teensy 3.6 - am I doing this right?

    For the LEDs you need...
  28. Replies
    2
    Views
    230

    Power over ethernet (PoE) for Teensy?

    What would be a good solution for powering a Teensy using PoE? I came across this PoE splitter by Adafruit. Are there best practises / solutions with regards to this? Are there perhaps ethernet...
  29. OSC controller for Reaper digital audio workstation (DAW)

    One of the issues with most commercially available control surfaces is the fact that they use the Mackie HUI or MCU MIDI protocol for communication. These protocols were designed to work with the...
  30. Replies
    8
    Views
    549

    It is difficult to help without a clear...

    It is difficult to help without a clear understanding of what it is you want to achieve. I understand that your setup contains a guitar pedalboard and many tablets, what are the tablets for? How do...
  31. Replies
    35
    Views
    7,278

    No, not volume and pan but the parameters of the...

    No, not volume and pan but the parameters of the individual steps (notes). The test setup supports control of pitch, velocity, length, position and a controller for each individual step. The timing...
  32. Replies
    35
    Views
    7,278

    i just wanna controll 8 midi motorized fader in...

    i just wanna controll 8 midi motorized fader in protools
    i see in your code that the #define FOLLOW that is the incoming controling value and i wonder if:
    #define FOLLOW 0x7F from the midi out can...
  33. Replies
    35
    Views
    7,278

    I tried that code too with the same result, the...

    I tried that code too with the same result, the fader is jumping up and down. I guess the simplistic approach used in that code only works if you reduce the power to the fader so it will never...
  34. I was able to solve this myself, here's what I...

    I was able to solve this myself, here's what I came up with:

    void OSCReceive(){
    OSCBundle bundleIN;
    OSCMessage msgIN;
    int size;
    if( (size = Udp.parsePacket())>0) {
    byte...
  35. OSC digital audio workstation controller (Reaper)

    Working on a Teensy based OSC (Open Sound Control) controller I have a question on how to handle messages mixed with bundles. All the examples are about either bundles or messages but not both. What...
  36. Replies
    15
    Views
    876

    Thank you :) Using the Novation controller to...

    Thank you :)

    Using the Novation controller to test things seems like a very good idea. If it works out you can try a Teensy with a single rotary encoder to see if that works and take it from...
  37. Replies
    15
    Views
    876

    Do you have tried to control the plugin with some...

    Do you have tried to control the plugin with some other midi controller and does that work? Is there are midi learn function in Protools? How are midi controllers mapped to plugin parameters? Is...
  38. Replies
    15
    Views
    876

    For the most part it depends on how much time and...

    For the most part it depends on how much time and effort you are willing/able to invest in such a project. It is also very important to correctly understand the requirements, what you want the...
  39. Replies
    4
    Views
    543

    No, debouncing has to do with the way mechanical...

    No, debouncing has to do with the way mechanical switches work. The contacts of mechanical switches literally bounce, in stead of a single switch action there're several actions in a very short time...
  40. Replies
    4
    Views
    543

    Typical you'd use an incremental rotary encoder....

    Typical you'd use an incremental rotary encoder. How many PPR is up to you and how the DAW responds to the encoder. Mechanical (inexpensive) encoders go up to 24 PPR (96 ticks after quadrature...
  41. USB-MIDI can have up to 16 separate midi 'cables'...

    USB-MIDI can have up to 16 separate midi 'cables' or ports. They show up in the MIDI configuration of your computer as separate in/outs of a midi device. This way you can have up to 256 separate midi...
  42. Turned out that my test was to simple, I forgot...

    Turned out that my test was to simple, I forgot to seek to the correct position.

    void saveProgram(){
    int structSize=0;
    int result;
    // open file for writing
    dataFile =...
  43. Writing and reading large struct to and from SD card

    I've come with some code for storing a struct to SD card and reading it again, it al seems to work but I can't believe that it's really this simple.

    The context is a midi step & pattern sequencer...
  44. Replies
    1
    Views
    283

    For larger setups this seems the way to go:...

    For larger setups this seems the way to go: https://forum.pjrc.com/threads/52552-MIDI-DJ-Controller-using-Teensy-3-6-am-I-doing-this-right
    IMHO it's a good example of structured code. In stead of...
  45. Most excellent :) Thank you for sharing this....

    Most excellent :)
    Thank you for sharing this. The twin engines really do sing.
  46. Thread: MIDI and MUX

    by Gerrit
    Replies
    9
    Views
    621

    Interesting, shows you what I know:) I would...

    Interesting, shows you what I know:)
    I would like to know though how much overhead this creates. This won't matter in the context of a normal midi controller but it might matter when timing is...
  47. Thread: MIDI and MUX

    by Gerrit
    Replies
    9
    Views
    621

    I must confess that I actually don't know what is...

    I must confess that I actually don't know what is considered best practise in this regard, using multiplexers, shift registers or other approaches. You'll probably have to take care of the debouncing...
  48. Thread: MIDI and MUX

    by Gerrit
    Replies
    9
    Views
    621

    How to use the multiplexer is explained here:...

    How to use the multiplexer is explained here: Analog Multiplexer/Demultiplexer - 4051.

    Personally, I like using shift registers for adding digital inputs and/or outputs, see SN74HC165 shift...
  49. Thread: MIDI and MUX

    by Gerrit
    Replies
    9
    Views
    621

    Typical you would use arrays to store the note...

    Typical you would use arrays to store the note numbers and buttons (state), then you loop through the button array and if the button is pressed send the note stored in the note array.
    There's an...
  50. As I understand it these motorised pots are...

    As I understand it these motorised pots are intended for use with a simple 'up and 'down' remote control and not for use as a servo like with motorised faders. They are also quite slow as it takes...
Results 1 to 50 of 138
Page 1 of 3 1 2 3