Dear All,
inspired by the "A History of Audio on Linux somewhere?" I took a look at my
very old Linux Audio projects.
I have one which amazingly still compiles, namely FeigenSound from the Linux Magazin 03/2001,
however I can't hear the output, even when the pcspkr module is loaded.
I assume that todays Laptops just don't have speaker anymore.
There I was using the KbdCtl.bell_* to generate tones with a given frequency and duration:
// switch to new state
KbdCtl.bell_percent = 100;
KbdCtl.bell_pitch = Frequency;
KbdCtl.bell_duration = Duration;
XChangeKeyboardControl(pDisplay, KBBellPercent | KBBellPitch | KBBellDuration, &KbdCtl);
Is there still such a simple method available to generate a tone with a given duration and frequency.
Of course I could generate a corresponding array and send it to jackd, I'm just looking for something simple.
Best regards,
Peter
Hello all,
Looking at the Jack Transport state machine on
<https://jackaudio.org/api/transport-design.html>, there is only
one 'reposition' transition, and it goes to the 'Starting' state
which then sooner or later will go to 'Rolling'.
Q1: Does this mean it is impossible to reposition without starting ?
Or is there just a transition missing in the diagram from 'Stopped'
to itself ?
Q2: Is there any way to find out, while 'Stopped', if all clients
are ready to start immediately without actually starting ?
I'd say at least one more state would be required.
Ciao,
--
FA
People,
I am just a regular user of Linux audio but I am interested in the
history of how software was developed and what problems they were meant
to solve on Linux eg OSS, ALSA, Jack etc and more recently PipeWire.
Is there such a documented history already in existence on the web
somewhere? (ie NOT a HOWTO) - that would be intelligible to non-audio
professionals?
I am interested in learning and understanding more about audio and
perhaps making better use of my system (Fedora 34 + Wayland soon to be
updated to 35).
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil(a)pricom.com.au
My QJackCtl Patchbay doesn't work any more and it's obvious there are
new ways to get similar functionality with WirePlumber, but a little
example would help. I seem to want to pipe the output of pw-link -l
somewhere (pw-link -l | wireplumber --make_it_so).
Need to always connect jack-play this way:
$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
|<- jack-play:out_1
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
|<- jack-play:out_2
jack-play:out_1
|-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
jack-play:out_2
|-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
Thanks.
--
It gets harder to learn new things as we gets old.
Mididings may be the only JACK-api MIDI router/filter tool around; if
there is another I'd love to know about it. On the other hand t was
working just dandy until, I think, some changes to both Python3 and
legacy support for Python2. I was using its Python3 AUR adaptation
(mididings-git) under Manjaro, but then after package upgrades, it began
to fail at 'from mididings import *' (see below). I found similar
failures in Ubuntu 20, and found different failures in both when I tried
setting up to use Python2 (which obviously we would rather not be
doing). The failure is similar to a number of failures reported
starting with Python 3.10, so this may be related, but I was not able to
figure out how to apply those workarounds to the mididings source, I
tried several different variations, including a number of the different
forks in github.
Thoughts, anyone? I found Pigiron and Jamrouter and puredata, but none
of these appear to do JACK. I'm using pipewire now, so I could
theoretically revise the whole rig around ALSA MIDI, but all of the apps
needing MIDI use JACK, and mididings is so elegant...
J.E.B.
|[jeb@newbnr ~]$ python Python 3.10.1 (main, Dec 18 2021, 23:53:45) [GCC
11.1.0] on linux Type "help", "copyright", "credits" or "license" for
more information. >>> from mididings import * Traceback (most recent
call last): File "<stdin>", line 1, in <module> File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-
linux-x86_64.egg/mididings/__init__.py", line 15, in <module> from
mididings.engine import run, process_file File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/engine.py",
line 15, in <module> import mididings.patch as _patch File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-
linux-x86_64.egg/mididings/patch.py", line 15, in <module> import
mididings.units as _units File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/units/__init__.py",
line 14, in <module> from mididings.units.engine import * File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/units/engine.py",
line 55, in <module> def SceneSwitch(number=_constants.EVENT_PROGRAM):
File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/unitrepr.py",
line 46, in composed return arguments.accept(*constraints, **kwargs)
(store(f)) File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/arguments.py",
line 49, in __init__ self.constraints = [_make_constraint(c) for c in
constraints] File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/arguments.py",
line 49, in <listcomp> self.constraints = [_make_constraint(c) for c in
constraints] File
"/usr/lib/python3.10/site-packages/mididings-2.0.0+r26a40db-py3.10-linux-x86_64.egg/mididings/arguments.py",
line 160, in _make_constraint elif isinstance(c, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable' >>>|
Hello all,
I'm trying to help someone (OSX user trying out Linux) use Csound
with Jack. What I'd need to know is which are the Csound command
line options to
* run Csound with Jack,
* using Ninp input ports and Nout output ports,
* not autoconnecting any ports,
if that is possible at all...
TIA,
--
FA
Hello all,
I'd like to test pipewire as a replacement for Jack (on Arch),
and have been reading most (I think) of the available docs.
What is clear is that I will need to install the pipewire
and pipewire-jack packages.
And then ?
How do I tell pipewire to use e.g. hw:3,0 and make all of
its 64 channels appear as capture/playback ports in qjackctl ?
Note: I do not have anything PulseAudio (like pavucontrol)
installed and don't want to either. If that would be a
requirement then I'll just forget about using pipewire.
TIA,
--
FA