Comments (9)
I'm closing this issue here as it looks like a host-related problem and @drobilla already opened an issue there: drobilla/jalv#49.
from bschaffl.
I can't reproduce it on Ubuntu 20.04. It looks like your system doesn't like any live change in latency. But then, the host behaviour is odd.
I'm a bit surprised about calling jalv with sudo
. And I also wonder where the error messages come from. Jalv or jackd? I've got jackd2 (1.9.12) running without any problems.
from bschaffl.
I'm a bit surprised about calling jalv with sudo
This was just to make sure permissions aren't a problem. It runs fine without sudo.
And I also wonder where the error messages come from. Jalv or jackd? I've got jackd2 (1.9.12) running without any problems.
jackd2 doesn't yet run on FreeBSD. People are working on making it compatible.
from bschaffl.
It runs fine without sudo.
Do you mean "it runs in the same way" (I guess you mean this) or do you mean "it runs without any errors" ? And do you see the same problem with other hosts (like Carla, Ardour, ...)?
I think it has something to do with jalv and the jack/jack2 problem. And it is somehow related to sjaehn/BChoppr#12. The error messages look like jack.
The only maybe "evil" thing that B.Schaffl does is dynamicly changing the latency value by re-calculating
Line 935 in cf507cc
Line 137 in cf507cc
Lines 729 to 737 in cf507cc
It's the hosts task to handle the latency value reported by the plugin. Maybe @drobilla (who made jalv and the most of the LV2 tools) knows a bit more.
from bschaffl.
No idea, sorry, I'd have to look in to it. Jalv does attempt to report changed latency to JACK. I have no idea off the top of my head whether how/when/etc it does so is correct, though. Maybe @x42 who originally wrote that code and generally understands JACK latency far better will have some idea.
from bschaffl.
Last I check (3-4 years ago) jalv did not notify jack when the plugin's latency changes.
However. changing jack port connections triggers a latency-callback, and jalv will use the current value.
check with jack_lsp -l
from bschaffl.
from bschaffl.
@drobilla so the patch calls jack_recompute_total_latencies()
whenever the plugin's latency changes from the process-callback. -- No idea if that works with jack1, ask some JACK threading expert.
The rest of the code reads fine.
from bschaffl.
jack_recompute_total_latencies() is a server call. It is not legal to make server calls from within a server callback (like the process callback).
from bschaffl.
Related Issues (20)
- Fitting MIDI signals to steps HOT 11
- Humanization / randomness HOT 6
- feature request: overall amount controls HOT 10
- feature request: layers HOT 2
- Start of a loop misses notes HOT 4
- Probabilities HOT 2
- feature request: linked instances HOT 13
- Build error on Fedora 32
- [x86_64-glib] build issue HOT 2
- Feature request: enter relative pulse lengths numerically HOT 26
- Unwanted midi changes. HOT 9
- UX issues with floating point inputs HOT 5
- No velocity change HOT 2
- Feature request: level swing HOT 3
- feature request: (semi) fixed latency HOT 24
- Assign to step changes timing HOT 5
- Feature request: level before timing. HOT 2
- feature request: all controls visible all the time HOT 2
- Step shapes HOT 22
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 bschaffl.