I have some mixed python/C++ packages, e.g. zita-audiotools
To install these I expect the following to happen:
1. The C++ parts are compiled and combined into a *.so
file which is a python extension.
2. The *.so and the python parts, any data etc. get
installed into the user's /usr/lib/python*.*/site-packages.
To make this as easy as possible I provide a setup.py and a
Makefile, so that all that should be required is:
make; sudo make install
Originally this used distutils, when that got 'deprecated'
this changed to setuptools. So until recently the Makefile
was something like:
PY = /usr/bin/python3
$(PY) ./setup.py build
$(PY) ./setup.py install
$(PY) ./setup.py clean
rm -rf build dist zita_jacktools.egg-info
Then I got warnings telling me that calling setup.py directly
is now also deprecated, and that I should use 'official tools'
to build and install. What exactly that means I was unable to
find out, but the following seems to work:
PY = /usr/bin/python3
$(PY) -m build -w
pip install --force-reinstall dist/*.whl
rm -rf build dist *.egg-info *~
But this still produces a warning:
> WARNING: Running pip as the 'root' user can result in broken
> permissions and conflicting behaviour with the system package
> manager. It is recommended to use a virtual environment instead.
Now clearly installing things in site-packages requires root,
so what is then the recommended method ?? And why the virtual
environment (which is used by build anyway) ??
If anyone can shed some light on this mess he/she will deserve
my eternal gratitude.
It uses libsndfile, limited to stereo output per file (but multiple files
simultaneously if required), pcm 16/24/32 or float 32/64, any samplerate.
Whether the audio quality of the synthesis/sampling meets your needs is a
different matter however. Thanks for the interest :-)
On Sat, 20 Aug 2022 at 23:13, Martyn Cox <info(a)sound7.co.uk> wrote:
> Thanks James. I’ll definitely check this out.
> I’m not in a position to try it right now but I’m curious what parameters
> are available for the .wav sample generation?
> And what sample rates can it spit out?
> I saw it was a text based audio app, which is neat.
> On 20 Aug 2022, at 22:18, James <jwm.art.net(a)gmail.com> wrote:
> Fired my first open source project (it's 19 years old now) up the other
> day to create some background ambience for a youtube video I was making. It
> didn't compile, so I fixed the compile errors and got it working.
> Unarchived it from github, pushed a few commits, fixed the compile
> warnings. Just dipping toes in code.
> It's not professional quality software, but it makes sound, shrug.
> Linux-audio-dev mailing list
Fired my first open source project (it's 19 years old now) up the other day
to create some background ambience for a youtube video I was making. It
didn't compile, so I fixed the compile errors and got it working.
Unarchived it from github, pushed a few commits, fixed the compile
warnings. Just dipping toes in code.
It's not professional quality software, but it makes sound, shrug.
Release early and often. Special when you've a new tool. So here we go.
XUiDesigner v0.5 is released.
A easy to use tool to generator/design X11 based LV2 plugins.
Beside that XUiDesigner allow to generate and install GUI's for existing
LV2 plugins, it support as well to generate LV2 plugins from scratch.
Special support is implemented for FAUST dsp files, which allow you to
generate a LV2 plugin with X11 based UI by just drag'n'drop a FAUST dsp
file into the XUiDesigner interface.
In any way, you don't need to interference with any of the annoying LV2
implementations. XUiDesigner handle that all for you.
The very same is true when you like to implement your own dsp (C or C++)
into a LV2 plugin. You could create the GUI interface, save the plugin
bundle, and implement the needed calls to init, activate and run your
dsp into the generated .cpp file. (Yes, the points were to do what been
hinted in the file, not that you are really need that)
Here is a introduction Wiki entry to show the first steps:
Here is the project page:
and the latest release is here:
As usual. feedback, bug reports or feature requests been welcome on:
I'm pleased to announce the release v0.4 of XUiDesigner
A easy to use GUI generator/designer tool to create X11 based UI's for
Inspired by Glade and QT Designer
XUiDesigner allow to generate alternative UI's for existing LV2 plugins
which could be installed and used parallel to the existing ones.
It allow as well to create full LV2 plugin bundles from scratch, were
only the dsp part needs to be done.
With this version, it allow to generate LV2 plugin bundles from faust
(*.dsp) files. Those could be simply drop on the XUiDesigner interface
and XUiDesigner will create the UI for it. The UI could be reworked when
needed (reorder the controls, implement colours or images, . . .) . Then
the complete Bundle could be saved. All what needs to be done then is
run |make && make install| on the bundle, to get the LV2 plug into the
preferred LV2 host.
Still this is in the beta stage, so there may be come changes which are
not backward compatible, but the generated LV2 bundles are all fully