-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lowest latency #89
Comments
I don't know how to measure the latency in a precise way. Using a Mac with Catalina and MIDI Network (AppleMIDI) protocol the typical latency reported by the software is between 5 and 10ms. Sometime is around 3 ms but some packet can be delayed until 50-100 ms. I think ipMidi could save some ms but it doesn't make any difference on high WiFi traffic load. |
Thanks for the feedback. Will see if I can do a simple test (not very accurate but will give me an idea of what to expect): adc microphone close to a momentary switch -> pulse in speaker recorded with the same microphone (then in audacity I can calculated the latency). A good read for bluetooth midi latency (lots of information + a test rig): |
I had the time to dig this subject I have good news. I'm not 100% confident on the setup I did but here we go with the information I have. Ubuntu Studio - low latency kernel running jack at 44100hz / 64 period / 2 buffer. Reported latency: 2.9ms, real latency (round-trip) reported by jack_iodelay:
In PD I created a patch that send a pulse (sample accurate dirac impulse generator) when receiving a trigger, a microphone record the physical trigger on the device and both channels are sent to Audacity. Here's the patch for reference: 22ms very stable, the circuit was around 2 meters from my computer. I wasn't able to test farther (not enough microphone cable). I will not test BLE, because OSC is fast enough for my needs and very easy to receive in PD. Cheers |
I have sad experience with looper in Ableton Live, wich I trigger with PedalinoMINI from MIDI out -> MIDI USB adapter. The latency is tremendows - about 1sec or more. It's imposible to use. How can it be and what to do? |
Hi, If my measurement setup is correct there seems to be a consistent latency of around 22ms introduced to signal chain by PedalinoMini. Can someone confirm my measurements? The 22 ms seem to match patricksebastien results. However with his setup he actually should see PedalinoMini latency plus the latency of his audio output. Maybe the output latency of his PD sketch and DAC are very low. Cheers Edit: Edit2: However, I probably broke some other stuff in PedalinoMini. Also false triggerings might be an issue which has to be addressed. All in all it's just an experimental hack, which seems to work ok for momentary buttons and decreases latency substantially. Repo can be found here: |
@he-leon I would like to learn more about your setup (sooperlooper + pedalino). Do you have a website where you share your work or a way to contact you? |
I'm currently trying to find a good setup for sooperlooper in combination with PedalinoMini. The thing is I just started playing around with looping and I've never used a proper hardware looper as a reference. So I'm not really sure how a good setup should feel. In differents words: If my loops don't seam well or are out of time it's hard to tell whether it's due to a bad software/hardware setup or because I just simply suck at looping, lol. However, I'm not sure when I will find the time to do this. If I find a good setup eventually I'll update this thread or post a link to a write up! If you have any questions you can also contact me via email: Cheers |
Hi,
I want to build a looper using PedalinoMini (using Pure Data or SooperLooper). What is the lowest latency configuration that I can use, is it: Wifi or Bluetooth. If Wifi is it OSC (that would be great) or ipMIDI or RTP-Midi (not sure if there's a difference).
Anyone measure the latency? Is the distance playing a huge factor in the responsiveness?
The text was updated successfully, but these errors were encountered: