hi,
i am porting some code from arduino micro to teensy 3.6 and i use the eeprom library to store/recall some configuration and calibration data.
my understanding is that the teensy 3.6 has an...
Type: Posts; User: lokki
hi,
i am porting some code from arduino micro to teensy 3.6 and i use the eeprom library to store/recall some configuration and calibration data.
my understanding is that the teensy 3.6 has an...
thanks for your answer!
let me explain:
-i need to worry about serial speed, because USB-Midi is much faster than serial midi, that is the whole point of the project :-)
i am connecting two...
hi there,
i have two teensy LC boards connected TX to RX pin and GND. one teensy receives MIDI from usb and sends it out the serial port and the other receives from serial and sends back out to...
ok, bought two teensy lc boards, set up a simple usb midi to serial midi sketch on one, and the opposite on the other, boosted MIDI (Serial) Baudrate to 1000000 and it works nice and fast! so cool...
Hmm, I just had another thought. What about inter-connecting two teensies via serial and send USB midi from one to the other via serial and back out the other teensies usb? The teensy serial midi...
Nice! I am fine with a teensy 3.6... is there any chance you (or somebody else) would add usb midi on the second port? Would that be much work? I think this is over my head, but might give it a try...
Is there any Version of a teensy that allows to have two usb client connectors? I am trying to send midi from a host to a host.
i was wondering if there is a way to configure a teensy board to act as a double usb client, so that i can connect two hosts. i guess it is not possible, but maybe i am wrong :) my application:
i...
i was able to find the teensy4 on the hub, i had to use the USBSerial_BigBuffer userial() statement, which is part of the newest USBHost library (but not jet included in 1.53). just in case anyone...
yes! i can confirm my teensy4 is now found with the BigBuffer in place. i just replaced the USBHost library in my 1.53 install with the GitHub version. I can also confirm that serial communication...
i may have found the problem... teensy4 needs the
USBSerial_BigBuffer userial(myusb); for serial communication as well, at least that is indicated on Github in the usbhost examples. my version of...
no problem! any other insights? should the above code be working i.e. should a serialnr. be printed to the teensy 3.6 console? do i need to set anything special on the teensy4 side?
thanks, i am aware of that.
i have the hub nicely working on the teensy 3.6, all my synths and the teensy4 are connected to it. look at the code snippets above, they contain the hub portion and the...
i have the following setup:
-a teensy 3.6 with a 7 port usb hub
-a teensy 4 (configured as midi + serial) connected to said hub
-several usb-midi devices connected to said hub
i have it...
ok, since i will need this to be working rather soonish... i thought about using serial communication instead of midi to send data from teensy 3.6 to teensy 4. could this be a workaround for now? at...
well, this was much simpler then i thought it would be.
here are two simple programs that show the problem quite well. an ascending set of notes sent out to all ports on a hub and a teensy 4 with...
yes, it happened on unmodified USB code, which is why i started to modify it :-)
for starters i can just upload the whole code of the two boards, and as time permits i will work on smaller...
i have no problems sending note on and other messages to connected midi devices. i am using teensyduino 1.53 and the usbhost library on a teensy 3.6
actually setting the tx and rx buffer in usb_desc.h is not a good idea :-) usb-midi communication is also messed up when connected to a macbook air, messages come in as wrong types or simply don't...
sorry to resurrect this.
so i got a strange problem where my midi controller (a teensy 3.6 sending out via usb-host) becomes very sluggish as soon as i send midi to a connected teensy 4.0...
actually i used a teensy 3.6 as host, and had a teensy 4.0 connected to one of the hubs ports. but a teensy 4 as host should also work. the library is really quite easy to use, my 2 small problems...
hi, this is a project i have been working on for a long time...
it mimics an electric bass appearance but is actually a midi controller, very playable and so much fun!
yes, i am lefty...
this...
hi paul, hi KurtE
thanks for your answer.
i have up to 7 usb-midi devices attached to my usb2 hub, only the teensy4 reports at usb2 speed and needs the bigger buffer. so it seemed like a waste...
is there a way to force a teensy 4 (declared as usb-midi device) to use the small buffer instead of the big (512) buffer? i read the data in on a teensy 3.6 (via usb-host port) and i have to use the ...
looking at this from another angle, is there any possibility at all to force the teensy 4 to use the small usb midi buffer even if a usb 2 port is available?
disregard my stupidity :-) it works flawlessly. of course usb-midi (non host) has the same order, but since i tested with PureData i never noticed (the polytouch) object just has outputs and i...
a look at usb-host GitHub suggests the message has swapped variable input...
void sendPolyPressure(uint8_t note, uint8_t pressure, uint8_t channel, uint8_t cable=0) {
send(0xA0, note,...
hi there,
when sending poly pressure out of a teensy 3.6 via usb-host port, it does not work properly.
when i send the same data via usb-midi it works fine.
sending poly pressure via...
and it works... amazing and thanks for chiming in @KurtE
if somebody can shed some light on latency issues that would be very welcome. i guess the bigger buffer should not introduce more latency...
this is what i get with debug enabled, which seems to indicate you are on the right track :-) (sorry for the strange device names, it was an attempt to get it working)
sizeof Device = 36
sizeof...
ok, the cores file of the "slave midi" teensy 4.0 or the teensy 3.6 that is the host? sorry i am new to this :-)
hmm, yes it definitely works from PC, i also tried with:
an arduino uno setup as usb-midi controller. this also does not spit out a serial number but with:
...
any other way to search for the teensy4 at startup?
ok, got another problem.
i have a teensy 4 midi foot controller that works fine connected to a pc. i want to connect this to the teensy 3.6. host/hub i wrote about above. unfortunately my setup...
perfect, that works! hmm, did not know that function :-)
here is the working code for reference:
for (int i=0; i<7; i++) {
if (midilist[i]->manufacturer() != NULL &&...
thanks,
using:
Serial.println((char*)midilist[i]->serialNumber());
i now get consistent serial-numbers even if i plug in more devices etc. so it was really about storing to an int, which...
ah i see... so
midilist[i]->serialNumber(); returns a string, and that probably gets corrupted when saved to an int...
is the serial nr string fixed length? or how can i check against known...
hi,
i have several usb-midi devices connected via a hub to a teensy 3.6 host port. all is working great communication wise, i can send messages to all devices.
to distinguish devices i used the...
hi there,
if i have an i2c display attached to SCL0 and SDA0 on the alternative pins 7 and 8, how do i free up A4 and A5 for analog readings? currently they are somehow not getting correct...
hi there,
i need a 12-bit resolution for some of my analog measurements in a project, so i change the resolution in setup() like so:
analogReadResolution(12);
other parts of the code need...
thanks for the slip-ring suggestion! that was what i meant with circular rail :-) didn't know they call those slip rings.
will search for one that could fit my setup or maybe i can diy something...
so,
i have a jogwheel (65mm diameter) attached to this:...
hi there. thanks for the suggestions. i ended up buying one of those: https://de.aliexpress.com/item/4000045505216.html?spm=a2g0s.9042311.0.0.6cae4c4d7dRIyk
not exactly cheap, but it works great...
for a project i need to get absolute position from a circular motion (a wheel i turn with my hand, about 4-6cm in diameter).
on reading up i think i need a hall throttle, right? are there other...
ok, i have this code now (i know a sine not a square), which works (at audio rate for now, not lfo) but i get a lot of "digital" (aliasing like) noise (more then i am used to from pwm). i guess that...
thanks for your answer. i will try the IntervalTimer route. as the timing with IntervalTimer seems very flexible, i can see two ways to accomplish a given frequency:
-adjust the phase accumulation...
hi,
what is the best option to output a variable waveform for an lfo (i.e. square with pwm, sine, triangle) via an analog out (pwm), the frequency would be given by a tap-tempo.
on arduino i...
hi there,
i need several MIDI outputs for a controller (4 for a start) but no inputs. since i am a bit low on digital pins, can i reuse the RX pins of the respective Serial lines for other things?...
thanks for that as well. i found a i2c_driver_wire implementation for teensy 4 which acts as a drop-in replacement for wire.h, with that and a couple of changes to the u8g2lib it works!!! (change...
thanks for your answer... unfortunately 3 out of 4 displays use the sh1106 chip, which does not seem to be supported by this lib. i have found an adaption somewhere will check that as well. who is...