Glad you got it working.
Following up, quoting myself
Got this idea to work. mentioning as the strategy may be worth looking at to slow large amounts of sysex for older synths.
24Mhz. Ouch! We gotta figure how to sidestep that. Neither Jeannie or my project will like it.
Busy with home renovations, rain is coming, have a couple of ideas.
Thinking of post 39, let's say we have a block of...
Following on, 2048 bytes Sysex block size does seem to be the limit but I suspect this limit is imposed by the MS generic usbMidi driver.
Perhaps borrow from Midiox the concept of Sysex Continue and say you want to...
Commented out line 364 C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\usb.c as you suggest and no longer have truncated sysex. Thank you for finding it Rolf.
Is not necessary to include Sysex status...
The fourth line in the screenshot of MIOS Studio in post#1 shows f0 only.
Sketch in post#23 ran on bare T4.1 usbType MIDI, Win10, IDE 1.8.19 TD 1.56, produced this:-
Note the second block, finishes with F0 and...
Been able to reproduce this with the following sketch:-
#define chunkSize 128
#define delayAmt 100
byte data;
void fillBuff() {
unsigned scratch;
for (uint16_t ct = 0; ct <= chunkSize; ct++) {
Wow, That's huge. Fourth line looks truncated after F0. Seen similar truncations if some data miscalculation tries to send a value >127, not the case here as the four byte header (zeros) was supposed to come next.
My...
Yeah, mechanicals. Currectly using 19mm grid to keep the whole thing compact and portable, no knobs.
End use case is cutting loose on a Synth so with that spacing is easy to nudge a neighbor and mess with the flow....
Yes, 4067 is an analog switch but in the EncPlex use case is selecting Highs and Lows into a digital pin, so noise is not an issue. Websearch digital mutiplexer, will lead to 4067 and the like.
Most important is to...
Either way is a counter, decade counter rolls over at different count.
Suggesting Ring counter if one exists. Component availability is a key design factor no matter the method.
Honestly, that demo vid blew me right out of the water.
It seems that first, you need to establish comms with juce so dig in discover what it needs as a pathway.
Some might suggest its a waste of processing power but usbHost is a possibility where Teensy 1 plugs into PC, then Teensy2 plugs into Teensy1's usbHost port then Teensy3 plugs into Teensy2's usbHost port and so on....
Referring to your first post, you asked about using a master Teensy communicating with a number of Teensy slaves. Can be done using usbHost port (T3.6 0r later) for master, plug in a usb Hub then plug Teensy slaves,...
I'm using the Sparkfun 4067 breakouts and the actual chip is marked HP4067 which i think translates to 74HC4067. I see nothing preventing one doing the job of my HC138 so theoretically at least that's 256 encoders.
...
Am using interrupts. Did need to tweak EncoderTool library to generate additional address bits for 74HCT138 for up to eight pairs of 4067s however uses more pins than the MCP23017 method. Either way is still a...
Two questions:- How many Counts per revolution are you looking for? and what type of encoders?
For what I'm doing with Midi, most parameters are in the range 0-127 so 96 CPR covers the range with about 1.25 turns. 48...
Thanks Rolf. Got me thinking, should be soldering.
I understand that the logical choice is to send floats as ascii so we can put the decimal point where needed. But, say if we only have one digit before the decimal...
Hi Rolf. Looks like you're making good progress. Have been quietly following this thread and learned some useful stuff so you are one of my many teachers here.
Must also mention, Paul, Defragster, KurtE, MJS513,...
Teensy 3.5 or later. Component supply shortages have it that T3.2 - T3.6 are impossible to source so that leaves T4x.
Be mindful that T4x pins are not +5v tolerant so be careful how you hook things up.
Good news on several fronts.
Soldering was a little tricky as the chosen T4.1 was already fully pinned. A minor fiddle with LittleFS_Usage yielded Bytes Total:16777216.
Next, other required items surfaced for a...
Took a while to flush my stash of Flash out of the rabbithole of relocation.
Bricked the T3.6. last night. Made that struct a and missed a corresponding edit to an Index struct and got stuck in a (detected) reboot...
My turn to grumble, about Billboard text in posts.
Having got that outta the way, many users have started out with a pretty simple Midi controller and inspired by getting the first one working, it's usually not long...
Ok, thanks. A 4mm wide strip of sticky copper foil to pick and place the chip. In reality that struct will grow to something more like with a tribe of little ones. Then double it again coz the goal is to drive Two...
Midi controller Madness. Devving and works on T3.6. Tested on T4.0 and T4.1.
Need to implement a working relationship between current data structure and non-volatile memory. Shoehorning T4.1 into hardware platform...
A quick web-search for mmjoy2 did not reveal any editable Arduino code to modify for more Analog inputs on a range of supported boards including Teensy3.2 or for that matter, to work on a different type of Teensy.
...
Old codger with advanced soldering iron skills.
Pretty much self-taught Electronics/Automotive/Computer Technician/Hacker/Re-Engineer.
Built an Analog Synth ~1978 pretty much from scratch and life being what it is - what you end up doing whilst being busy with other plans, shelved it.
Forced into isolation by challenging health issues, officially retired and looking for a "mental health" project, dug out the box of remains of the original Synth, caught the bug and currently have a clutch of Roland Synths and other goodies.
To any Hacker worth his salt, off-the-shelf kit don't always give you what you're looking for which is why I'm here...