Comments (7)
I've made workarounds, now it's possible for winMM to work.
In the latency range which used by the standalone Windows software, adljack seems to work now better. But at higher latencies in 100ths ms, it becomes more and more crap as value goes up.
I've raised MIDI buffer size as necessary, because now it must have capacity for accumulation of MIDI events for a longer duration.
For now, MIDI input does not act in RT way, waiting to have available buffer space if it's full. No problem for ALSA MIDI, but in case of Jack, it can create xrun.
No work was pushed to the master branch, while ALSA remains broken and needs identifying the precise problem.
from adljack.
I saw you have took some fixes into RtMidi library. Does this helps you to solve ALSA MIDI trouble with time stamps?
from adljack.
At least, the timestamp don't emit crazy values at this point, but still some trouble remain.
I've not merged yet, into this adljack branch, the RtMidi patches I got accepted upstream.
The last time tried, ALSA had still trouble despite patching, the midi event delays were not all well spaced at arrival. I think, I have demonstrated that RtMidi has a really weak point on timestamping and needs more fixing.
However, the winMM situation is well improved, in the moderate buffer size values, such as upper bounds savihost has. Still, in the very high range (think 0.5s and up), the MIDI gets increasingly desynced, meaning still that something is wrong with damn timestamping.
At one point, I should compare RtMidi vs Juce code in ADLplug, because that other manages to gets the timing all perfect without any troubles.
from adljack.
@Wohlstand so, right now I merged in the timestamps code.
It's not perfect but I expect it to help the latency problem. Please give a try on your side.
from adljack.
Related Issues (14)
- Change the program/instrument via GUI HOT 1
- Crash on attempt to resize SDL2 window HOT 6
- [FEATURE REQUEST] autonnection to jack CLI flag HOT 2
- Bad display of cyrillic characters HOT 10
- dependency for ALSA unclear HOT 5
- AZERTY keyboard mapping
- SysEx not handled
- No Midi Input devices on Windows 7 HOT 5
- Terminal resizing
- Session management "switch" capability
- CMake Error at CMakeLists.txt:43 HOT 2
- nouvelle version ? HOT 15
- auto-connection à jackd HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adljack.