Code Monkey home page Code Monkey logo

Comments (6)

jkbd avatar jkbd commented on August 21, 2024

Have you started the UI like this:

MOD_APP=1 MOD_LIVE_ISO=1 ./server.py

?
The ports that Jack connects are handed over as strings. Without the above environment variables set the wrong output port names are assumed and connection fails.
Please comment if this solves your problem.

from mod-ui.

cibban avatar cibban commented on August 21, 2024

I installed mod-control, mod-iso, mod-app, mod-host and mod-ui with all dependencies using my package manager and the KXStudio mod repositories, so I haven't been running the python scripts directly.

I have tried running the web UI from the mod-control application as well as "mod-ui" on the command line, but the latter fails to connect to jack. Connection is refused but the jack log doesn't give much info as to why. Running from the control panel works but the playback ports are not connected.

I had a look at the jack log and the difference is that host-ui tries to connect to the non-existent ports "mod-monitor:in_1" and "mod-monitor:in_2" while mod-app correctly connects to "system:playback_1" and "system:playback_1".

I have tried exporting the variables you mention before running but it makes no difference. I also tried setting MOD_DEV_ENVIRONMENT and MOD_DEV_HOST to 0, as suggested by FalkTX on the forum.

What I'm trying to do to run mod-ui headless on an old laptop with a broken screen and control it from another computer or a smartphone. I know this is not the purpose of this project so my expectations are low but it would be fun to get it up and running, proving the point to my Mac loving band members that you can actually do cool stuff with linux too. :)

from mod-ui.

cibban avatar cibban commented on August 21, 2024

Actually, it would be optimal to run mod-host stand-alone with a preset and just control it with midi, but I figuring out how to even get mod-host to do what I want it to is slow...

from mod-ui.

jkbd avatar jkbd commented on August 21, 2024

I run

$ start-jack-the-way-you-like.sh
$ cd $GITHUB/mod-host
$ ./mod-host -n -p 5555 -f 5556
...
mod-host ready!

Then in another terminal

$ cd $GITHUB/mod-ui
$ source modui-env/bin/activate
(modui-env) $ MOD_APP=1 MOD_LIVE_ISO=1 MOD_DEV_ENVIRONMENT=0 ./server.py

and I can connect to the system outputs. My first system output is called system:playback_1.

You can't control mod-host via MIDI. But since you are looking for a LV2 host, have you tried Carla?
You can run it headless with the --no-gui option. I would expect carla-control to be the remote companion. Unfortunately the --help option seems to be copy/paste and does not give me a clue. Most likely @falkTX could help with the usage.

from mod-ui.

cibban avatar cibban commented on August 21, 2024

You are entirely right that what I'm actually looking for is a headless lv2 host. I got kind of stuck on the fact that I'm using it with an electric guitar and didn't realize that I has the solution literally right before my eyes since I use Carla all the time with a synth for spontaneous noodling on my midi keyboard and a system wide limiter to keep me from getting evicted. :) Thank you so much for that insight! I know exactly what to do now.

from mod-ui.

jkbd avatar jkbd commented on August 21, 2024

Cool! You're welcome!

from mod-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.