Search results

  1. L

    mixing midi devices and hid devices in usbhost mode...

    hi, I am trying to connect several midi-devices and a mouse (hid) to the same hub and interact with all of them via USBHost on a teensy 4.1 If I upload just the mouse code, the mouse works. If I upload just the midi code the midi devices work. If I try to combine both, only the midi stuff...
  2. L

    Infrared Touch Frame with USB-HID Interface on USBHost (Teensy 4.1)

    ok, if I upload the mouse sketch from the USBhost examples, the frame acts just like a mouse, spitting out x and y values, again obviously no multitouch. I guess I will have to enable multitouch output by sending some specific USB-packets to the frame....
  3. L

    Infrared Touch Frame with USB-HID Interface on USBHost (Teensy 4.1)

    I have connected a USB infrared touch frame to the host port on a teensy 4.1 and I am running the HIDDeviceInfo Sketch to gather some info, below is the Serial output from the startup and then a finger and later two fingers moving in the frame. The touch frame works out of the box on Linux and...
  4. L

    a2b audio bus data into teensy4

    ok, thanks for your answer. I found these a2b/teensy posts around the net: https://ez.analog.com/a2b/f/q-a/569487/master_-ad2428-with-teensy https://forum.pjrc.com/index.php?threads/cs42448-tdm-input.53369/ (post nr. 13) I was under the impression that the a2b standard had been out for quite...
  5. L

    a2b audio bus data into teensy4

    hi there, is it somehow possible to read a a2b stream of audio-data into teensy4 and work with the data? here is a link of the technology: https://www.analog.com/en/applications/technology/a2b-audio-bus.html I am unsure if I would need additional hardware for this, and if it would be at all...
  6. L

    USBhost_t36 MIDI losing midi note on / off events (Teensy 3.6) during modwheel change

    ok, the thread is getting a bit long to follow :) did you also try this after Paul posted the first fix?
  7. L

    USBhost_t36 MIDI losing midi note on / off events (Teensy 3.6) during modwheel change

    yes, if the host could be forced to run at 12mbit, the problems would most likely go away, since Arturia would switch to a different communication.
  8. L

    USBhost_t36 MIDI losing midi note on / off events (Teensy 3.6) during modwheel change

    If I am not mistaken a USB-Midi Device these days is backwards compatible in most cases, so if you insert a cheap HUB, the Arturia may well use a low-power and low-speed mode compatible with Usb 1.1 standards... The teensy on the other hand has a full-blown 480Mbit host port.
  9. L

    BUG in USBHost MIDI Code found, with workaround...

    yes sorry, you are of course right. I got a bit over excited by the fact that the other bug was resolved. I will have to check but I don't think I have 4 or 5 teensies ready to set this up, but I will check. Otherwise I can write the code, but I won't know if it fails :)
  10. L

    BUG in USBHost MIDI Code found, with workaround...

    Hi Paul, I had some time to test your fix (both with just ehci.cpp replaced and with beta3) and I can confirm that I get no more hanging notes after switching programs! So your fix indeed seems to work. I have not jet been able to do a long test to see if there are some downsides to this fix...
  11. L

    BUG in USBHost MIDI Code found, with workaround...

    thanks for this fix, I am abroad and will only be able to check this out the next week. I will post here with my findings...
  12. L

    BUG in USBHost MIDI Code found, with workaround...

    great! thanks for confirming and checking out. this looks indeed like the same bug. if you can further write a function that receives midi note-on and off messages on the clients *after* the program changes you should see that those messages are garbled (hanging notes, etc.)
  13. L

    BUG in USBHost MIDI Code found, with workaround...

    Thanks for your answer. Obviously I did not formulate my original post clearly enough. This is not an issue with the synths, and I can wait as long as I want after a ProgramChange, MIDI is still garbled after I issue multiple PC messages to different synths without delay() in between. It is an...
  14. L

    BUG in USBHost MIDI Code found, with workaround...

    Hi there, I spent the last couple of weeks narrowing down an issue I had with a rather complex USBHost MIDI Setup. (Arduino 2.10 Teensy 1.58.1) Basically I have 5 USB-Midi Devices, A DIN Midi Device and regular USB-Midi all on a Teensy 4.1 one of the usb-midi devices that is connected sends...
  15. L

    USB Host Port hotplug MIDI Device issue

    any news on this?
  16. L

    migrating from teensy 3.x to 4.x problems, caveats, solutions

    hi there, these are some things to remember when migrating projects from 3.x teensy boards to 4.x boards. probably not a complete list, just the things I stumbled over, that are not that well documented (if at all) -analogReadResolution() only works for 8 10 and 12 bits, I had it set to 11 on...
  17. L

    teensy 4.1 analogRead inconsistenct

    yes, I just did this and it works flawlessly now. I will open another thread and describe what other changes I had to do to the code when migrating from teensy 3.6 to 4.1
  18. L

    teensy 4.1 analogRead inconsistenct

    and here: https://forum.pjrc.com/threads/69671-Teensy-4-0-4-1-web-pages-need-a-warning-about-INPUT_DISABLE-on-Analog-Inputs i agree it should be mentioned somewhere
  19. L

    teensy 4.1 analogRead inconsistenct

    this seems very similar to my problem with jumping values, i will try setting the pinmode to input.... https://forum.pjrc.com/threads/68621-ADC-voltage-measurements-wrong-and-jumping-on-Teensy-4-1?p=292724
  20. L

    teensy 4.1 analogRead inconsistenct

    thanks for your answer. hmm, might have to switch back to teensy 3.6 then. this sudden jump does not at all seem to be noise, it does not jump fourth and back between values, it just jumps at half the supply voltage and continues from there smoothly if i turn the pot further.
  21. L

    teensy 4.1 analogRead inconsistenct

    as a small addendum. I also tried setting the analog resolution to 11 bit in setup() analogReadResolution(11);, but this is ignored, it still uses 12 bits.
  22. L

    teensy 4.1 analogRead inconsistenct

    hi there, I migrated a project from a teensy 3.6 to a teensy 4.1 and I noticed a very strange problem: I have set analogRead resolution to 12 bit, and whenever I read an analog pin that should have a gradual increase or decrease there is a sudden jump in the readings at about half the max...
  23. L

    teensy 4.1 with all 18 analog inputs and i2c

    worked like a charm, thanks! i posted in the blog section about it
  24. L

    [queued] Midi Bass Controller

    hi there, just a quick update on this project (still no video) :-( I have changed the midi output of this bass back to normal usb-MIDI client, since I can use it with a laptop directly when I am on the road (touring). Since I wanted a future proof design I also had to change out the teensy 3.6...
  25. L

    Teensy 4.1: Copy code from a programmed board?

    well at this point it is probably easiest to hire someone with teensy knowledge to look at the issues. pay him something and make him sign an agreement not to share any code bits... if it did compile at some point it should not be such a big task to get it running again. or share the error...
  26. L

    teensy 4.1 with all 18 analog inputs and i2c

    hi there, for a project I really need all 18 analog inputs from a teensy 4.1 and i2c. until recently I was under the impression that this was not possible but now I see that some of the sdcard socket pins can act as sda and scl pin as well... so as long as I don't use the sdcard functionality...
  27. L

    capacitive touchscreen with teensy

    thanks for your answer. yes I am aware that the teensy has no HDMI out, but maybe the display driver board is "common" and can be somehow hijacked by a teensy... or as I wrote maybe someone else has a suggestion for a similar size screen that I could use with a teensy..
  28. L

    capacitive touchscreen with teensy

    hi there, could a screen like this: https://www.waveshare.com/11.9inch-hdmi-lcd.htm be used with a teensy 4.1? what latency could I expect from the touch interface? since this is usb based I guess it needs some kind of driver, and since it works on windows and linux I think it will be fairly...
  29. L

    AnalogWrite vs DigitalWrite

    sure, then use the analogwrite and ramp it up. not sure why you asked about analogwrite being similar to digitalwrite then? since you want the ramp up it should actually not behave like digitalwrite :)
  30. L

    AnalogWrite vs DigitalWrite

    analogWrite is 10bit by default i believe, so a value of 256 would be rather dim even more so a value of 128. if you want to blink a LED (just on and off) it is simpler to use digitalWrite (the blink example) /* Blink ADAPTED with elapsedMillis for nonblocking blink Turns an LED on for...
  31. L

    usbhost midi device enumeration inconsistent

    and i also measured the 5v line on the HUB. with all devices connected and booted it reads 4.91v. note though that the teensy does not get power from the HUB (which i could enable by means of a jumper) but from the macbook or Mac mini i am connecting it to.
  32. L

    usbhost midi device enumeration inconsistent

    and i managed to catch another example of a "no device working" example. this time i pulled the plug on the teensy soon enough to still catch the beginning of the serial stream. Interface_16x16 Example USB2 PLL running reset waited 6 USBHS_ASYNCLISTADDR = 0 USBHS_PERIODICLISTBASE = 20003000...
  33. L

    usbhost midi device enumeration inconsistent

    and here is one that misses the minitaur: USB2 PLL running reset waited 6 USBHS_ASYNCLISTADDR = 0 USBHS_PERIODICLISTBASE = 20003000 periodictable = 20003000 port change: 10001803 connect begin reset port change: 18001205 port enabled end recovery new_Device: 480 Mbit/sec new_Pipe...
  34. L

    usbhost midi device enumeration inconsistent

    if i enable debug (don't know why i did not think about that before) i get this on a "normal" boot, where everything works: USB2 PLL running reset waited 6 USBHS_ASYNCLISTADDR = 0 USBHS_PERIODICLISTBASE = 20003000 periodictable = 20003000 port change: 10001803 connect begin reset port...
  35. L

    usbhost midi device enumeration inconsistent

    will check that, although only the two axolotis and the typhon take power from the hub, the pulse2 and the minitaur have separate supplies.
  36. L

    usbhost midi device enumeration inconsistent

    ok, since my last post was a bit broad and (therefore) got no answers/ideas, i will try to clarify. i have a 7 port usb hub connected to a teensy 4.1 which is running the following code: (heavily based on the 16x16 example) #include <MIDI.h> // access to serial (5 pin DIN) MIDI #include...
  37. L

    T4.1 Issue Sending Midi Notes Over USB Host to Device

    i know this has been a long time ago, but your error most likely is that you need a USBHost usbHost; MIDIDevice_BigBuffer usbHostMidi(usbHost); //<- to host a 480mb device you need the bigbuffer object... elapsedMillis wait;
  38. L

    usb host teensy 4.1, arduino 2.03 usbhost library at 0.2

    hi there, i use this code (adapted from the 16x16 example) on a teensy 4.1 to connect 7 usb-midi devices to eachother, there are also 4 din-midi connectors, but for now they are not used. i use a powered seven port hub from here: https://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/...
  39. L

    usb MIDI hub with and without computer

    i have 7 devices on a HUB and it generally works REALLY well with the usb host library. i used one of these hubs: https://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ which has a separate power in and a jumper to select if power should be sent to the host controller as well (teensy in...
  40. L

    usb MIDI hub with and without computer

    nice project! and good to know i should be fine writing to the usb-client port with nothing connected. i ran into this funny issue where all my midi devices connected to the host port of the teensy are only seen the second time i plug the teensy in. this has happened on a teensy 3.6 and happens...
  41. L

    usb MIDI hub with and without computer

    hi there, i made a USB-MIDI host to DIN Midi and usb-client MIDI device from a teensy 4.1 thanks to the great example "Interface_16x16" it all works well, but i have one question. since i read MIDI mostly from one of the ports on an attached HUB and distribute it to other hosted devices,DIN...
  42. L

    USB-host 3.6 on recent Teensduino 16x16 midi example

    yes it does... actually i had the code in this way before: if (midilist[i]->manufacturer() != NULL && midilist[i]->serialNumber() != NULL) { Serial.println("-----------------------------------"); Serial.print("Serial:"); Serial.println((char*)midilist[i]->serialNumber())...
  43. L

    USB-host 3.6 on recent Teensduino 16x16 midi example

    ok i narrowed it down to this: in the default Interface_16x16 example, when i try to loop over the connected devices by adding for (int i=0; i<7; i++) { Serial.println((char*)midilist[1]->serialNumber()); delay(200); } to the setup part after myusb.begin(); the teensy reboots if there...
  44. L

    USB-host 3.6 on recent Teensduino 16x16 midi example

    coming back to this again: with USBHost_t36 0.2 and Arduino 1.8.19 whenever i try to access the manufacturer or serial number of a connected mididebvice, the teensy simply reboots so for example this line: Serial.println((char*)midilist[i]->serialNumber()); reboots the teensy (the statement...
  45. L

    USB-host 3.6 on recent Teensduino 16x16 midi example

    does the usbhost midi part somehow support the "cable" variable as well? as in the usbMIDI part? i would like to read some usb data that comes from a teensy that sends on multiple "cables" but i see there is no method (at least not in the examples) that can discern between multiple cables. here...
  46. L

    USB-host 3.6 on recent Teensduino 16x16 midi example

    aha, compiling on 1.8.19 and Teensyduino 1.57 works with _BigBuffer ... so i will use that for the time being.
  47. L

    USB-host 3.6 on recent Teensduino 16x16 midi example

    hi there, i have used the usb-host feature of teensy 3.6 extensively over the last year for a midi controller project. i had all my synths connected to a usb hub and the teensy midi controller would send midi to them. in recent versions of the library i have encountered a lot of hanging notes...
  48. L

    teensy 4.1 analog ins vs i2c

    thanks for your in-depth answer. makes sense. i will see if i can rearrange my project to use fewer analog ins, or use a multiplexer...
  49. L

    teensy 4.1 analog ins vs i2c

    i was wondering why the i2c pins on the teensy 4.1 (but also other teensies) are on analog input channels? i wanted to migrate a project from a teensy 3.6. to a teensy 4.1. but would need all 18 analog inputs. seems like a waste to put those i2c pins on analog inputs, since all pins can be used...
  50. L

    USBHost - Tablet/Digitizers (Wacom, Huion, etc)

    on the intuos4 both, the pen and eraser end report as button0, can you differentiate the two sides on your bamboo pen?
Back
Top