Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Nils 4c228e8df0 Change changelog format 2 månader sedan
desktop Update documentation and info files 1 år sedan
documentation trivial 2 månader sedan
engine missing docs 8 månader sedan
qtgui missing docs 8 månader sedan
template Change changelog format 2 månader sedan
.gitignore trivial 2 månader sedan
CHANGELOG Change changelog format 2 månader sedan
LICENSE Extend LICENSE file with clear intentions and information about files without headers. Everything here is free and open source, except the branding 1 år sedan
README.md trivial 2 månader sedan
__main__.py adopt to new build system 8 månader sedan
configure Update documentation and info files 8 månader sedan
exampleClientCboxQtNsm adopt to new build system 8 månader sedan

README.md

QtCboxNsm Exämple ツ

Program version 1.6.2

Screenshot

“This is an example application.

It shows a minimal implementation of PyQt, Calfbox and NSM Client working together.

Workflow summary: Actually nothing. This is for development tests, mostly for the template.

This README is just a short introduction. Consult the manual (see below) for more information.

Contact and Information

Installation and Starting

Download

Release Version

If the latest release is not available through your package manger you can build it yourself: Download the latest code release on https://www.laborejo.org/downloads and extract it.

Git Version

It is possible to clone a git repository.

git clone https://git.laborejo.org/lss/exampleClientCboxQtNsm.git

Dependencies

  • Glibc
  • Python 3.6 (maybe earlier)
  • PyQt5 for Python 3
  • DejaVu Sans Sarif TTF (Font) (recommended, but not technically necessary)
  • A Brain
  • Linux

Build Dependencies

  • Bash
  • GCC (development is done on 8.2, but most likely you can use a much earlier version)

Environment:

  • Jack Audio Connection Kit must be running
  • Agordejo / New Session Manager (“NSM”)

Build

./configure --prefix=/usr/local
make
sudo make install

Starting

There are multiple ways to run QtCboxNsm Exämple ツ which should give you the flexibility to configure your system as you want.

We make no distinction if you installed QtCboxNsm Exämple ツ yourself or through the distributions package-manager.

The differences are: With or without Agordejo, with or without sound, installed or from the source dir.

Starting QtCboxNsm Exämple ツ through Agordejo after you installed exampleClientCboxQtNsm system-wide is the recommended and only supported way. Start agordejo and load or create a new session. Then use the program launcher to add exampleClientCboxQtNsm. It should appear with an icon in the list and open its GUI.

Installed without Agordejo

If you start exampleClientCboxQtNsm directly it will present you with a dialog to choose your session directory.

You can also start exampleClientCboxQtNsm from a terminal (or create a starter script).

exampleClientCboxQtNsm --save DIRECTORY

Uses the given directory to save. The dir will be created or loaded from if already present. Use the applications file menu to save (Ctrl+s).

You can use this to load and save the files from an existing NSM session. If you create a new directory you can copy it manually to an NSM session directory, but that requires renaming the directory to append the unique ID provided by NSM.

Sending SIGUSR1 to the program in this mode will trigger a save.

Closing through your window manager in this mode will actually quit the application without a prompt to save changes.

From source directory

You can run QtCboxNsm Exämple ツ after extracting the release archive or cloning from git, without installation.

Calfbox

“Calfbox” is the name of our internal realtime midi/audio python module.

  • It is bundled with the application for a normal install.
  • Or you could run ./configure and make calfbox without subsequent install, which creates a sitepackages directory in the source dir. You can then run ./exampleClientCboxQtNsm directly from the source.
  • A third option is ./exampleClientCboxQtNsm --mute which runs without sound at all and does not need calfbox.

From source directory with NSM

The developer uses this way to develop and use the software, so it will always be as stable as the compiled version. But it is a bit less performant than building and installing it.

After extracting the release archive create a symlink from exampleClientCboxQtNsm into your PATH. e.g. /usr/bin or ~/bin, if that exists on your system.

If you compiled without installing you can also symlink to ./exampleClientCboxQtNsm.bin

From source dir without NSM

Use ./exampleClientCboxQtNsm --save (see above). If you compiled without installing you can also run ./exampleClientCboxQtNsm.bin

No NSM, no Make, No Sound

Combining the above options you can start the program directly after unpacking or cloning from git:

./exampleClientCboxQtNsm --save /tmp --mute

Or even shorter:

./exampleClientCboxQtNsm -s /tmp -m

This is the minimal run mode which is only useful for testing and development. But if you only want to look at the GUI and are not in the mood to install anything -including dependencies-, go ahead.