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

Search:

Type: Posts; User: vjmuzik

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    45
    Views
    331

    I believe this should be uncommented: ...

    I believe this should be uncommented:

    //bankSelect = false;
    And this:

    ++ClockCount;
    Should be this:

    ClockCount++;
  2. Replies
    45
    Views
    331

    Well it did work for the 3.6 so I guess it’s...

    Well it did work for the 3.6 so I guess it’s undefined but happens to work out correctly.
  3. Replies
    45
    Views
    331

    I guess the compiler for that architecture...

    I guess the compiler for that architecture doesn't interpret the syntax correctly.
  4. Replies
    45
    Views
    331

    Perhaps this line is causing an issue and not...

    Perhaps this line is causing an issue and not actually incrementing on the 2.0 hardware:

    ++ClockCount = ClockCount%24;
    This is the only line that could stop it from working as far as I can tell,...
  5. Replies
    45
    Views
    331

    I wouldn't think so, it's something that's pretty...

    I wouldn't think so, it's something that's pretty basic so it shouldn't be broken between devices.
  6. Replies
    45
    Views
    331

    Start on timing clock with 100 BPM, I also...

    Start on timing clock with 100 BPM, I also confirmed that I can do it manually by just sending timing clocks.
  7. Replies
    45
    Views
    331

    I can confirm that it does function with the code...

    I can confirm that it does function with the code from post #15, fresh upload to a Teensy 3.6 with MIDI Tools, the only modification I did the code is fixing the onClock parenthesis so it's actually...
  8. Replies
    45
    Views
    331

    If you install this program:...

    If you install this program: https://mountainutilities.eu/miditools
    You can use it to manually send MIDI commands so it’s easy to troubleshoot certain things and one thing you can do it send the...
  9. Replies
    45
    Views
    331

    Could probably be causing issues, onClock...

    Could probably be causing issues, onClock shouldn’t have anything in its parenthesis and if you delete that it’ll clear up the error.

    void onClock(byte channel, byte note, byte velocity) {
    if...
  10. Replies
    45
    Views
    331

    Should the else statement be wrapped in...

    Should the else statement be wrapped in SetTempoActive as well?

    void onClock(byte channel, byte note, byte velocity) {
    if (ClockCount<=3){
    if (SetTempoActive){
    ...
  11. USB Host firmware is already fully working on the...

    USB Host firmware is already fully working on the Teensy 4, the only hard part is that all the hardware for it isn’t already builtin to it like on the Teensy 3.6. There are several breakout boards...
  12. Replies
    45
    Views
    331

    The limit is actually (2^14)*6, but you are right...

    The limit is actually (2^14)*6, but you are right it won’t overflow, I forgot how numbers worked.
  13. Replies
    45
    Views
    331

    Looks good and yeah just making it 32 bit solves...

    Looks good and yeah just making it 32 bit solves the problem, though it should be unsigned so it doesn’t go negative.
  14. Replies
    4
    Views
    75

    What would be the reasoning behind using i=i++ as...

    What would be the reasoning behind using i=i++ as opposed to just i++? For pointers I understand the difference, but I’m lost as far as regular variables go.
  15. Replies
    45
    Views
    331

    I don’t believe values get truncated until they...

    I don’t believe values get truncated until they are actually written to a variable, I’ve definitely not seen it happen with other stuff that I’ve done. As long as you know what you are going for it...
  16. Never mind that, you have access to a few...

    Never mind that, you have access to a few commands you can use to identify what USB device is assigned to which object, the easiest to test against are the Vendor and Product IDs so once you figure...
  17. Yes you can communicate with multiple USB devices...

    Yes you can communicate with multiple USB devices at once through the use of a USB hub, all you have to do is add more USB MIDI devices to your USB Host object. In fact there is an example for this...
  18. Replies
    45
    Views
    331

    Technically your thinking is close, modulus 4...

    Technically your thinking is close, modulus 4 would be the number of 1/16 notes, but we need the number of Clocks and not 1/16 notes. So to get the number of Clocks we have a multiply our number of...
  19. Replies
    45
    Views
    331

    Besides your SPP callback the rest is fine, one...

    Besides your SPP callback the rest is fine, one SPP or MIDI Beat equals 6 MIDI Clocks so modulus by 4 won’t give you the right value. What you normally do to find the the total number of Clocks is...
  20. Replies
    45
    Views
    331

    You can pause off beat most of the time when you...

    You can pause off beat most of the time when you do not have the MIDI Beat Clock on, some DAWs behave differently when you have it turned on because of the loss in resolution. If you take into...
  21. There does happen to be one port with 16 IO pins...

    There does happen to be one port with 16 IO pins available, pins 0-1 and pins 14-27 are all on GPIO6 so it could be possible. You will have to do some bit shuffling to get them in the right order for...
  22. Replies
    45
    Views
    331

    Also, in my opinion the best way to keep track of...

    Also, in my opinion the best way to keep track of the LED state is to just turn it off after a certain number of clock cycles, so if you turn it on at Clock == 24 then you can just turn it off at...
  23. Replies
    45
    Views
    331

    You don't necessarily want to stop counting...

    You don't necessarily want to stop counting clocks on stop, since some DAWs will still send clocks even while stopped so for just tempo I would only worry about Clock, Start, and Continue. I don't...
  24. Replies
    45
    Views
    331

    What you use for tempo is called the MIDI Beat...

    What you use for tempo is called the MIDI Beat Clock and most DAWs will support this since it’s needed to sync external MIDI sequencers together. This is supported in Teensyduino already and there...
  25. Replies
    290
    Views
    3,925

    I added a function to turn on promiscuous mode so...

    I added a function to turn on promiscuous mode so all ethernet messages come through instead of just the matching MAC address or broadcast messages. This does come at the cost of increased USB...
  26. Replies
    290
    Views
    3,925

    Interesting, I wonder what changes are being made...

    Interesting, I wonder what changes are being made with debug that stops it from working.
  27. Replies
    290
    Views
    3,925

    Yeah it was pushed to GitHub a while ago, I don't...

    Yeah it was pushed to GitHub a while ago, I don't remember which version had the issue but I know there have been several more commits since that issue was fixed.
  28. Replies
    290
    Views
    3,925

    Also yes there was an issue a while ago where the...

    Also yes there was an issue a while ago where the small delay that was added from printing debug information allowed it to work, but that was fixed. I’ve done my fair share of testing with it on and...
  29. Replies
    290
    Views
    3,925

    The vendor id you have is correct, it is...

    The vendor id you have is correct, it is programmed for 0x0B95 however it may be a different chipset, from my understanding most usb to Ethernet adapters share a common driver after they are...
  30. If you choose to build stuff with common buses...

    If you choose to build stuff with common buses it’s really easy to get a large I/O amount with a relatively small number of pins needed. Even though common buses have died off in favor of serial it’s...
  31. That doesn’t have an output latch like he would...

    That doesn’t have an output latch like he would need, it’s only an address latch.
  32. The second USB port has to be used to connect...

    The second USB port has to be used to connect other devices, the first can only be connected to a computer or power. You would connect a powered USB hub to the second USB port then connect your four...
  33. Most people wouldn’t recommend a multiplexer for...

    Most people wouldn’t recommend a multiplexer for controlling LEDs, while it is possible and I’ve done it, it’s not the best device to do it. That being said, while the 4051 is not latchable if you...
  34. Theoretically UART MIDI can run at any baud rate...

    Theoretically UART MIDI can run at any baud rate as long as both devices support it, I happen to own a device that had selectable speeds from the early 90’s. However since you are using the Teensy...
  35. Replies
    7
    Views
    156

    Have a look at: https://ctrlr.org/ It has the...

    Have a look at: https://ctrlr.org/
    It has the ability to do what you want if you can program it right, the basic objects won’t be able to do it without some programming though. It allows you to...
  36. Replies
    2
    Views
    76

    AREF is hardwired to 3.3v on the Teensy 4.0 and...

    AREF is hardwired to 3.3v on the Teensy 4.0 and the pin is not accessible so there is no way to change it like you can with some of the other models.
  37. Replies
    4
    Views
    155

    Yes, that looks correct.

    Yes, that looks correct.
  38. Replies
    4
    Views
    155

    To avoid some confusion both Teensy 4.0 and 3.6...

    To avoid some confusion both Teensy 4.0 and 3.6 have two USB ports, one is configured for USB host and the other is configured for USB device modes respectively. The onboard micro USB is the device...
  39. Keep in mind I have no experience with using...

    Keep in mind I have no experience with using OctoWS2811, but from my understanding the sync signal is not used by the library at all and is only broken out for use in the users code which can be seen...
  40. Replies
    1
    Views
    117

    There is technically software support for it,...

    There is technically software support for it, although most libraries tend to be hard coded to use SPI port 0, so you would have to edit the library so it uses a different SPI port. I’ve done this...
  41. Isolated ground is fine, that’s the purpose of...

    Isolated ground is fine, that’s the purpose of these types of chips, being that it’s electrically isolated nothing on the other side of this chip can affect the Teensy. The only issue I can tell so...
  42. Replies
    3
    Views
    327

    Teensy 4.0 uses the same library as Teensy 3.6,...

    Teensy 4.0 uses the same library as Teensy 3.6, any project that works with that will work for the T4.0, it is installed as part of Teensyduino and is called USBHost_t36. Github page is here:...
  43. Replies
    6
    Views
    147

    Straight out of the box it would not be able to...

    Straight out of the box it would not be able to do this, you would have code it to be able to emulate what’s on the second USB port and forward all the information to the first USB port, this would...
  44. I know nothing about it either, but you don’t...

    I know nothing about it either, but you don’t truthfully need it to communicate between the two, you would just have to write your own serial commands that can tell your software on the esp what to...
  45. Looks like you actually have to flash the esp...

    Looks like you actually have to flash the esp with the AT firmware, it doesn’t just work without it, here’s an instructable: https://www.instructables.com/id/ESP-12F-Flashing-AT-Firmware/
  46. For one Tx should go to Rx and vise versa, never...

    For one Tx should go to Rx and vise versa, never Tx to Tx or Rx to Rx. You don’t need a voltage divider, both are 3.3v devices so that’s not needed, without knowing what sketch you’re running the...
  47. Replies
    3
    Views
    110

    I imagine this page may help:...

    I imagine this page may help: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka3750.html
    Seems to be just a matter of creating a pointer variable to that register.
  48. Replies
    168
    Views
    155,257

    Indeed changing the name is not enough, it’s when...

    Indeed changing the name is not enough, it’s when the serial number gets changed that the device is registered as new so the existing cache from the old number isn’t used. Changing the serial number...
  49. Replies
    168
    Views
    155,257

    For question 2 the easiest way I find to do this...

    For question 2 the easiest way I find to do this with my midi devices is by changing the serial number, this is really simple for midi, but I don’t remember if it works for all devices types or not....
  50. Replies
    6
    Views
    147

    Wireshark can capture usb packets as well, but...

    Wireshark can capture usb packets as well, but this seems unrelated to this forum.
Results 1 to 50 of 398
Page 1 of 8 1 2 3 4