[LAD] Update of zita-jclient library

2024-05-12 Thread Fons Adriaensen
Hello all, zita-jclient-0.5.2 is now available at This version is required for the 'freewheeling' classes in zita-jacktools to work. They will fail silently with older versions of zita-jclient. Ciao, -- FA

[LAD] Re: Pitch estimation

2024-04-27 Thread Fons Adriaensen
On Fri, Apr 26, 2024 at 12:34:03PM -0400, Tim wrote: > Would you have any insight into how this product achieves this and the > techniques used? It must be a combination of a lot of different things, carefully tuned for the best results. Their patent application provides some information on

[LAD] Re: Pitch estimation

2024-04-26 Thread Fons Adriaensen
On Fri, Apr 26, 2024 at 02:26:26PM +0200, Dominique Michel wrote: > Which is amazing because, with A=440 Hz, the low E of a guitar is at 82 > Hz, which is a period of 12.2 ms. And when tuned in drop C tuning, that > low C is at 65 Hz, which correspond to 15.38 ms. Note that in 0.8.1 the lowest

[LAD] Re: Pitch estimation

2024-04-26 Thread Fons Adriaensen
On Fri, Apr 26, 2024 at 12:23:45PM +0200, Dominique Michel wrote: > From the start of a note, do You know how long it takes, or how much > periods of the signal it takes, in order to get the pitch? For the autocorrelation (AC) to produce a usable result you need at least two periods - this will

[LAD] Pitch estimation

2024-04-25 Thread Fons Adriaensen
Hello all, Several people have asked how the pitch estimation in zita-at1 works. The basic method is to look at the autocorrelation of the signal. This is a measure of how similar a signal is to a time-shifted version of itself. It can be computed efficiently as the inverse FFT of the power

[LAD] Re: vocal tracks wanted

2024-04-25 Thread Fons Adriaensen
On Thu, Apr 25, 2024 at 08:02:19AM +0200, Lorenzo Sutton wrote: A bit more info on some of the topics: > Also I'm imagining one singer (i.e. not choir / multiple people)? The occasion I referred to was a childrens choir, and they had recorded a four-part piece, each part separately. Without

[LAD] Re: vocal tracks wanted

2024-04-25 Thread Fons Adriaensen
On Thu, Apr 25, 2024 at 08:02:19AM +0200, Lorenzo Sutton wrote: > I think I can provide you with some female voice clips from a while ago but > they are a bit short. > Any ideal length of the phrases / clips? Anything 10s or longer. > For the male voices, how low is 'low'? The real 'bass'

[LAD] Re: Update of zita-at1

2024-04-24 Thread Fons Adriaensen
On Thu, Apr 25, 2024 at 12:52:07AM +0200, Robin Gareus wrote: > Correct, yet the effective signal delay (which can be measured) > needs to be reported to the host to align the signal. And that should be the average value, not the minimum which can be achieved only during a small fraction of the

[LAD] Re: Update of zita-at1

2024-04-24 Thread Fons Adriaensen
On Wed, Apr 24, 2024 at 10:02:01PM +0200, Robin Gareus wrote: > > > Except the latency in zita-at1 0.8.1 is still around ~20ms, > > > > It will be 10 ms when selecting low latency mode. > > At 48kHz sample-rate, Retuner::set_lowlat(true) sets Retuner::_latency to > 1024. 1024 samples at 96 kHz

[LAD] Re: Update of zita-at1

2024-04-24 Thread Fons Adriaensen
On Tue, Apr 23, 2024 at 09:24:20PM +0200, Robin Gareus wrote: > On 2024-04-20 16:41, Fons Adriaensen wrote: > > > With the new logic deciding on forward / backward jumps, the > > low latency mode just came for free > > Except the latency in zita-at1 0.8.1 is still around

[LAD] Re: Help with resampling algorithm

2024-04-23 Thread Fons Adriaensen
On Tue, Apr 23, 2024 at 10:47:43AM +0100, Marco Castorina wrote: > > for each output sample you use a new filter from the set of 128 by > > incrementing the index by a fixed value. This may not be an integer, > > so you need to round. > This is what I am struggling with: how do I determine by

[LAD] Re: Update of zita-at1

2024-04-20 Thread Fons Adriaensen
On Sat, Apr 20, 2024 at 03:47:20PM +0200, Robin Gareus wrote: > Either I have to backport your bug-fixes, or add the missing features to > your new version. With the new logic deciding on forward / backward jumps, the low latency mode just came for free - all it takes is just changing the

[LAD] Update of zita-at1

2024-04-20 Thread Fons Adriaensen
Hello all, Zita-at1-0.8.1 is now available at the usual place: Note: this is not (yet) the new zita-at2 that will have formant correction. Changes: - Bug fixes. - Improved pitch estimation algorithm. - Low latency mode,

[LAD] vocal tracks wanted

2024-04-15 Thread Fons Adriaensen
Hello all, I'm working on an improved version if zita-at1 which most of you probably know as the x42-autotune plugin. The update, zita-at2, will preserve formants while retuning. To test and develop this I need some clean vocal tracks, in particular of female singers and also very low (bass)

[LAD] Re: Help with resampling algorithm

2024-04-15 Thread Fons Adriaensen
On Sat, Apr 13, 2024 at 03:26:38PM +0100, Marco Castorina wrote: > I have coded a prototype which is shared here: > https://gist.github.com/theWatchmen/746f35c349748525b412cfd9466608ce You'll probably get a better idea of what is going wrong if you decrease the input frequency a bit, e.g. 50

[LAD] Update of zita-jacktools

2024-03-25 Thread Fons Adriaensen
Hello all, zita-jacktools 1.7.1 is now available at the usual place: zita-jacktools is a collection of Jack audio processors implemented as Python classes. These can be combined to create complex graphs that are completely

[LAD] some Faust questions

2024-03-24 Thread Fons Adriaensen
Hello all, Triggered by a recent post, I've been dabbling a bit with Faust, and have some questions :-) (For the jack-gtk architecture) - When started the app prints some useless info (a nuisance) and it also autoconnects (a definite no-go). Is there any way to avoid this ? - The

[LAD] Jack freewheeling question

2024-02-26 Thread Fons Adriaensen
Hello all, A question for the Jack / PW developers: If a Jack client calls jack_set_freewheel() to start or stop freewheeling, is it guaranteed that all clients will see the transition in the same period, i.e. at the same frame time ? Ciao, -- FA

[LAD] Update of jnoisemeter

2023-10-24 Thread Fons Adriaensen
Hello all, Release 0.4.1 of jnoisemeter is available at the usual place: Jnoisemeter is a small Jack app for accurate measurement of audio signals, in particular noise signals. See README for the details. New in this release:

[LAD] Update of tetraproc and tetrafile

2023-09-08 Thread Fons Adriaensen
Hello all, Release 0.9.2 of the tetraproc and tetrafile processors for first order Ambisonic microphones is now available at: Main changes: tetrafile now defaults to the Ambix format for both channel gains and order. It is

[LAD] Update of zita-resampler library

2023-08-29 Thread Fons Adriaensen
Hello all, Zita-resampler 1.11.2 is now available on This release adds Arm64 NEON code for the Resampler and Vresampler classes, contributed by Nicolas Belin. On an Rpi3b this improves throughput by a factor of around 2.5.

[LAD] Re: Jack error

2023-08-04 Thread Fons Adriaensen
On Fri, Aug 04, 2023 at 01:54:45PM -0400, Marc Lavallée wrote: > To compile without libdb: ./waf configure --db=no && ./waf So it's a compile time option, and not really available for anyone who just installs a distro package. Givven the stutus of BDB, I'd say the long term solution would be

[LAD] Jack error

2023-08-04 Thread Fons Adriaensen
Hello all, I get this error when starting any program using jack (1.9.22): BDB2034 unable to allocate memory for mutex; resize mutex region Cannot open DB environment: Cannot allocate memory This occurs only after the system and jackd have been running for a long time (weeks or months).

[LAD] Re: EQ Matching

2023-05-21 Thread Fons Adriaensen
On Sat, May 20, 2023 at 05:15:03PM +0200, Florian Paul Schmidt wrote: > 1. Are there any glaring oversights with this approach? The minimum phase step is not really necessary, you could just use the linear phase version, the output of the IFFT rotated by half its size. If you do the minphase

[LAD] Tempo change functions.

2023-02-24 Thread Fons Adriaensen
Hello all, What exactly is meant by a linear or exponential tempo change ? Is the tempo a lin/exp function of time, or of score position ? A bit of algebra leads to this: Let t = time (seconds) p = score position (beats) v = tempo (beats / second) [1] We have v = dp / dt # by

[LAD] Re: Calculating logarithmic curve for controller automation

2023-02-24 Thread Fons Adriaensen
On Fri, Feb 24, 2023 at 12:14:19PM +0100, Stefano D'Angelo wrote: > > Given any three points (x1, y1), (x2, (y1+y3)/2), (x3, y3) where > > y1>y2>y3 or y1 > through them as explained here: > > https://www.orastron.com/blog/potentiometers-parameter-mapping-part-1 > > (+ "output scaling"). > >

[LAD] Re: Calculating logarithmic curve for controller automation

2023-02-23 Thread Fons Adriaensen
On Thu, Feb 23, 2023 at 08:43:52PM +0100, Jeanette C. wrote: > In my example: I want to change the tempo from 120BPM to 150BPM over > four bars of equal length. What you want here is probably an exponential mapping from bars or beats to tempo. For example if you want to change from 1 to 4, a

[LAD] Re: Calculating logarithmic curve for controller automation

2023-02-23 Thread Fons Adriaensen
On Thu, Feb 23, 2023 at 07:09:51PM +0100, Jeanette C. wrote: > how is a logarithmic curve usually programmed in a DAW or sequencer? It's not clear what exactly you are asking... If a = log (b), b = exp (a), what are a and b in your case ? Ciao, -- FA

[LAD] Re: Admissable clock inaccuracy for MIDI

2023-02-23 Thread Fons Adriaensen
On Wed, Feb 22, 2023 at 03:42:00PM +0100, Fons Adriaensen wrote: > BTW, just using > >sem_timedwait () > > in a RT thread I get > > Min ~ 60 us > Max ~ 135 us > Average ~ 74 us. And using clock_nanosleep (CLOCK_MONOTONIC, TIMER_ABSTIME, , 0); in a

[LAD] Re: Admissable clock inaccuracy for MIDI

2023-02-22 Thread Fons Adriaensen
On Wed, Feb 22, 2023 at 01:28:21PM +0100, Jeanette C. wrote: > Thanks Fons! I was really confused about that myself. Mixing up the > mechanism of sleeping for a specified duration and sleeping until a > specified point in time. Only the latter is correct. BTW, just using sem_timedwait ()

[LAD] Re: Admissable clock inaccuracy for MIDI

2023-02-22 Thread Fons Adriaensen
On Wed, Feb 22, 2023 at 10:52:49AM +0100, Jeanette C. wrote: > https://www.dropbox.com/s/b0bh9pxsqzmar5j/midiclock.cpp This is very strange: miss_time = now - wakeup; wakeup = now + (delta - miss_time); Which just means: wakeup += delta; So it's not wrong, just confusing by

[LAD] update (again)

2023-02-17 Thread Fons Adriaensen
Hello all, Just hours after the release of zita-resampler-1.10.0 yesterday, a new bug was reported, not in the library but in the zresample application. This is now fixed in 1.10.1 Ciao, -- FA ___ Linux-audio-dev mailing list --

[LAD] updates

2023-02-16 Thread Fons Adriaensen
Hello all, Updates now available on ebumeter-0.5.1.tar.xz zita-resampler-1.10.0.tar.xz Ciao, -- FA ___ Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org To

[LAD] Re: Status of Pipewire

2023-02-15 Thread Fons Adriaensen
On Tue, Feb 14, 2023 at 04:55:00PM +0100, Wim Taymans wrote: > > BTW, what about the 'signed differences' issue I pointed > > out earlier ? > > Should be fixed with this: > https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/274b63e9723ec00dd413bb64b6650d2004f7e4c2 I don't think this is

[LAD] Re: Status of Pipewire

2023-02-14 Thread Fons Adriaensen
On Tue, Feb 14, 2023 at 03:57:05PM +0100, Wim Taymans wrote: > > The real difference between the two methods is 'sample count' > > versus 'time' as the source of the event that starts a period. > > > > I always wondered why one would use a timer, it just amounts > > to polling. Suppose you look

[LAD] Re: Status of Pipewire

2023-02-10 Thread Fons Adriaensen
On Thu, Feb 09, 2023 at 01:34:52PM +0100, Wim Taymans wrote: > real JACK is more mature and does things differently (mostly device > wakeup with IRQ instead of timers) The real difference between the two methods is 'sample count' versus 'time' as the source of the event that starts a period. I

[LAD] Re: Status of Pipewire

2023-02-09 Thread Fons Adriaensen
Hello Wim, Thanks for the info. > > Q5. Do all Jack clients see the same (and correct) info > > regarding the state of the DLL in all cases ? > > Yes, if they are using the same driver. I have not yet looked at the actual DLL, but some of the related functions seem to be wrong. In

[LAD] Status of Pipewire

2023-02-08 Thread Fons Adriaensen
Hello all, I've been contemplating trying out Pipewire as a replacement for Jack. What is holding me back is a what seems to be a serious lack of information. I'm not prepared to spend a lot of time and risk breaking a perfectly working system just to find out that it was a bad idea from the

Re: [LAD] relative_dynamics.lv2

2022-11-19 Thread Fons Adriaensen
On Thu, Nov 17, 2022 at 12:49:25PM +0100, Florian Paul Schmidt wrote: > this is another "weird" plugin which I finally found the time to > implement. It's a dynamics processor that doesn't care about absolute > thresholds. It just computes two envelopes, env1 and env2, filtered with > exponential

Re: [LAD] stereospread.lv2 - Stereo spreading plugin (conjugate random phase all-pass filter pair)

2022-11-18 Thread Fons Adriaensen
On Fri, Nov 18, 2022 at 05:28:15PM +0100, Fons Adriaensen wrote: > Create a filter, using an inverse FFT, that doesn't modify the phase > but just has some random gain between -1 and +1 in each frequency bin. Things could work as well with some completely random FIR filter and w

Re: [LAD] stereospread.lv2 - Stereo spreading plugin (conjugate random phase all-pass filter pair)

2022-11-18 Thread Fons Adriaensen
On Fri, Nov 18, 2022 at 02:10:04PM +0100, Florian Paul Schmidt wrote: > This gain can be cancelled by scaling the magnitude of the fft bin by > 1/(2*cos(theta)). This then ensures summing to the original signal. You'd need quite a high (up to inifite) gain if the phase is near 90 degrees.

Re: [LAD] stereospread.lv2 - Stereo spreading plugin (conjugate random phase all-pass filter pair)

2022-11-16 Thread Fons Adriaensen
On Wed, Nov 16, 2022 at 12:51:44PM +0100, Florian Paul Schmidt wrote: > This ensures that what is a phase theta in the first filter becomes a > phase of -theta in the second filter, and summed that just gives a phase > of 0. 1. If I understand this correctly the L and R outputs have opposite

[LAD] Linear prediction

2022-09-28 Thread Fons Adriaensen
Hello all, Any experts on linear prediction here ? During my current holidays in Greece, apart from SCUBA diving, I've been reading up and doing a lot of simulations (in Python) of algorithms related to linear prediction. This has been - I must adimit - a gaping hole in my practical DSP

Re: [LAD] installing python extensions

2022-09-22 Thread Fons Adriaensen
On Thu, Sep 22, 2022 at 09:49:41AM -0400, Marc Lavallée wrote: > Le 2022-09-22 à 03 h 56, Fons Adriaensen a écrit : > >error: invalid command 'bdist_wheel' > It looks like wheel is not installed (locally or globally). Try installing > it with "pip instal

Re: [LAD] installing python extensions

2022-09-22 Thread Fons Adriaensen
On Mon, Aug 15, 2022 at 05:48:34PM -0400, Marc Lavallée wrote: > So the Makefile could be: > > PIP = python3 -m pip > PKG = zita_audiotools > > build: >     $(PIP) wheel . > > install: >     $(PIP) install --force-reinstall $(PKG)*.whl > > uninstall: >     $(PIP) uninstall $(PKG) > > clean:

Re: [LAD] installing python extensions

2022-08-15 Thread Fons Adriaensen
On Mon, Aug 15, 2022 at 10:54:06AM -0400, Marc Lavallée wrote: > Christopher Arndt sent a long and detailed answer, here's a shorter one. One (metric) unit of Eternal Gratitude to both of you. So > pip install . will install to ~/.local/lib while > sudo pip install . will install to

[LAD] installing python extensions

2022-08-15 Thread Fons Adriaensen
Hello all, I have some mixed python/C++ packages, e.g. zita-audiotools and zita-jacktools. 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

Re: [LAD] library soname, was Re: Rubber Band Library v3.0.0 released

2022-07-28 Thread Fons Adriaensen
On Thu, Jul 28, 2022 at 02:52:03PM +0100, Chris Cannam wrote: > This implies that if you add a function, you need not change the soname. In this case you didn't just add a function, but a completely new and improved algorithm. That's reason enough to increment the major version, even if only for

Re: [LAD] Rubber Band Library v3.0.0 released

2022-07-16 Thread Fons Adriaensen
On Sat, Jul 16, 2022 at 12:02:14AM +0200, Robin Gareus wrote: > Congrats on the release and thanks for the very informative blog post. n++; From the blog: 'Time-stretching in contrast is often useful but marvellously ill-defined.' Indeed. And not only in terms of musical or aesthetic

Re: [LAD] MIDI granularity

2022-06-16 Thread Fons Adriaensen
On Thu, Jun 16, 2022 at 08:37:49PM +0100, Will Godfrey wrote: > Over a hardware DIN port this is of course approx. 1mS, but does anyone know > if it's the same over a USB link? > > Presumably, it would have to be if the source was also sending to the DIN > route. Not really, it could be much

Re: [LAD] A GUI request

2022-06-08 Thread Fons Adriaensen
On Tue, Jun 07, 2022 at 02:15:12PM +0100, Will Godfrey wrote: > In audio software, the classic example being Phasex which seems to > get just about everything wrong :( :-) A good example of the 'identical items arranged in a line' which I mentioned before. It's by no means the only one which

Re: [LAD] A GUI request

2022-06-07 Thread Fons Adriaensen
On Tue, Jun 07, 2022 at 08:49:36AM +0200, Thorsten Wilms wrote: > So far I thought the differences are all about much higher requirements > on readability at a glance and stableness. Not just 'at a glance' but also in exceptional circumstances and under stress. For example imagine your aircraft

Re: [LAD] A GUI request

2022-06-06 Thread Fons Adriaensen
On Sun, Jun 05, 2022 at 09:49:13PM +0100, Will Godfrey wrote: > As a {cough} sprightly 73 year old I'm starting to have sight difficulties - > especially dark colours and night vision. With the current trend of dark GUI > shades this presents me with a problem when using new software. Some, but

Re: [LAD] Fw: Re: Deriving a steady MIDI clock crossplatform?

2022-05-19 Thread Fons Adriaensen
On Thu, May 19, 2022 at 11:17:28PM +0200, Jeanette C. wrote: > Thanks both of you. Based on timed_wait, I looked at the boost libraries and > found two candidates in the Thread library: > conditional_varaible::timed_wait > and > thread::sleep_until > which can both take an absolute time. I

Re: [LAD] Fw: Re: Deriving a steady MIDI clock crossplatform?

2022-05-19 Thread Fons Adriaensen
On Thu, May 19, 2022 at 10:40:48PM +0200, Robin Gareus wrote: > While there is a corresponding mach/clock.h, for the case at hand it is > preferable to use Apple's Core Audio, CoreMIDI. MIDI Event scheduling is > abstracted, and there is dedicated API to convert timestamped events > with high

[LAD] Fw: Re: Deriving a steady MIDI clock crossplatform?

2022-05-19 Thread Fons Adriaensen
- Forwarded message from Fons Adriaensen - Date: Thu, 19 May 2022 22:22:12 +0200 From: Fons Adriaensen To: "Jeanette C." On Thu, May 19, 2022 at 07:52:33PM +0200, Jeanette C. wrote: > I know about one or two applications that use the timeofday/sleep mechanism, > but

[LAD] Aeolus update

2022-05-04 Thread Fons Adriaensen
Hello all, Version 0.10.1 of Aeolus is now available at the usual place: * Cleanup, maintenance, bug fixes. The biggest bug was probably that the 'instability' and 'release detune' parameters set in the stops editor were

[LAD] Updates of zita-audiotools and zita-jacktools

2022-04-22 Thread Fons Adriaensen
Hello all, zita-audiotools-1.3.0 and zita-jacktools-1.6.0 are now available at . If you have previous versions, installing these updates will require some extra work. This is for two reasons: * The python package names have

Re: [LAD] Csound question

2022-03-06 Thread Fons Adriaensen
Hi Jeanette, > if (lastcycle() == 1) then Thanks very much for all the suggestions ! Not having used Csound for at least 15 years, there's a lot I will have to learn (again). Ciao, -- FA ___ Linux-audio-dev mailing list

[LAD] Csound question

2022-03-06 Thread Fons Adriaensen
Hello all, See below... What I want to achieve is to take some action when instr 85 ends. I naively tried using 'gidur' as p3 for instr 85 in the score, but that doesn't work. So how do I trigger instr 86 at the right time ? instr 84 gidur filelen $INPFILE print gidur

[LAD] Jack Transport Question

2022-02-04 Thread Fons Adriaensen
Hello all, Looking at the Jack Transport state machine on , 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

[LAD] Any csound experts here ?

2022-02-01 Thread Fons Adriaensen
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...

Re: [LAD] pipewire

2022-01-20 Thread Fons Adriaensen
Hello, Wim, > Sorry, git for now. I just started to implement the last bits to make a > session manager optional. OK, I'll wait until this is available via Arch (don't want to mix up two potential problems, build/install and configure...) > All alsa devices are wrapped in an adapter. This

Re: [LAD] pipewire

2022-01-19 Thread Fons Adriaensen
On Tue, Jan 18, 2022 at 07:16:39PM +0100, Wim Taymans wrote: > As a bare minimum you would need pipewire (the daemon) and > pipewire-jack (the libjack.so client implementation). With a custom > config file you can make this work exactly like jack (see below). Thanks, will try this, but mnay

[LAD] pipewire

2022-01-17 Thread Fons Adriaensen
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

Re: [LAD] Quantise MIDI note/frequency to musical scale: algorithm?

2021-12-31 Thread Fons Adriaensen
On Fri, Dec 31, 2021 at 12:58:31AM +0100, Jeanette C. wrote: > OK, the project I'm working on is a monophonic step sequencer. You will > find similar functionality in some master control keyboards, softsynths > and other DAWs. It's mostly for convenience's sake or to help people > with less

Re: [LAD] Quantise MIDI note/frequency to musical scale: algorithm?

2021-12-30 Thread Fons Adriaensen
On Thu, Dec 30, 2021 at 02:49:45PM -0800, Yuri wrote: > Mapping is strictly logarithmical, i.e. log(F) would have notes equally > distributed. One note and other note begins in the middle of such interval. > The rest is simple math. That would be true for 'equal temperament', which is more or

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Fons Adriaensen
On Wed, Oct 20, 2021 at 10:26:41AM -0400, David Robillard wrote: > > That C isn't trying to describe the entire world. > > This is a glaring straw man. I'm not sure what you're arguing against, > but it certainly isn't LV2. No, it isn't. Sorry if I gave that impression. It's more likely what

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Fons Adriaensen
On Tue, Oct 19, 2021 at 05:32:59PM -0400, David Robillard wrote: > life is hard. And complex, having real and imaginary parts. > The only reason you can understand a C header that defines a struct > with filter coefficients or whatever is the same. True. > What's the difference? That C isn't

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Fons Adriaensen
On Tue, Oct 19, 2021 at 01:00:24PM -0400, David Robillard wrote: First of all, thanks to all who responded ! Hi David, long time no see... > The reason you can't "just" use the short one everywhere is that they > are not globally unique (being the whole point). But why should it be globally

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Fons Adriaensen
On Tue, Oct 19, 2021 at 12:13:17AM +0200, Robin Gareus wrote: > https://www.w3.org/TR/turtle/ to the rescue :) Been there of course... > Instead of e.g. http://lv2plug.in/ns/lv2core#ControlPort > you can just writelv2:ControlPort That I understand. But: 1. The logic that allows this

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-18 Thread Fons Adriaensen
Sorry to _low_show - this was meant for the list. On Mon, Oct 11, 2021 at 03:19:45PM +0200, _low_show wrote: > Looks great, will make some time to try it out! Thanks for making this! I somehow deleted the original post, but refer to > https://youtu.be/51eHCA4oCEI > https://lv2plug.in/book I

Re: [LAD] zita-a2j and zita-j2a zombie processes

2021-09-24 Thread Fons Adriaensen
On Thu, Sep 23, 2021 at 02:45:34PM -0700, Ethan Funk wrote: > I am using ubuntustudio-controls (and thus autojack) to manage multi- > USB audio interface scenarios as I continue to test my radio automation > software port/upgrade. Can't answer your original question, as I'm not at all familiar

Re: [LAD] Phase rotation

2021-09-07 Thread Fons Adriaensen
On Tue, Sep 07, 2021 at 04:02:19AM +0200, Robin Gareus wrote: > I did some listening tests, both on individual samples as well as using > the plugin on the master-bus with various performances. In many cases it > is audibly transparent. Then the next question is of course: in those cases where

Re: [LAD] Phase rotation

2021-08-31 Thread Fons Adriaensen
On Tue, Aug 31, 2021 at 04:24:43AM +0200, Robin Gareus wrote: > > Now don't believe that phase shifting a signal will always result > > in a waveform with a lower peak/RMS ratio. It could very well > > have the opposite effect. > > Well, there is a minimum. So far I just brute force detect it,

Re: [LAD] Phase rotation

2021-08-31 Thread Fons Adriaensen
On Tue, Aug 31, 2021 at 04:24:43AM +0200, Robin Gareus wrote: > I hoped to sidestep that because the phase-angle should be a sweepable > parameter. I can probably make this work by cross-fading the computed > FIR when the parameter changes. Provided that what you want is the same phase angle on

Re: [LAD] Phase rotation

2021-08-30 Thread Fons Adriaensen
On Sun, Aug 29, 2021 at 10:03:20PM +0200, Robin Gareus wrote: > This works well, except for the first FFT bin: 0 Hz, DC offset. If the > phase-shift changes the average DC level of the signal there is a > discontinuity. To understand why you can't chage the phase of DC at an even more

Re: [LAD] Phase rotation

2021-08-30 Thread Fons Adriaensen
On Sun, Aug 29, 2021 at 10:03:20PM +0200, Robin Gareus wrote: > During the last days, I looked into phase-ration: components of a signal > are delayed differently depending on their frequency. > This works well, except for the first FFT bin: 0 Hz, DC offset. If the > phase-shift changes the

[LAD] web expert advice wanted

2021-08-16 Thread Fons Adriaensen
Hello all, I need some advice from a web protocols expert... I want to record the _audio_ part of during a long time without wasting bandwidth on the video part, and avoiding being 'timed out' or

[LAD] update of zita-jacktools

2021-07-25 Thread Fons Adriaensen
Hello all, zita-jacktools-1.5.3 is now available at the usual place: Changes: Added missing method set_rotation() to JackAmbrot. Ciao, -- FA ___ Linux-audio-dev mailing list

[LAD] updates

2021-07-09 Thread Fons Adriaensen
Hello all, updates on zita-jacktools-1.5.2 Fixed some bugs that made the class destructors segfault. jconvolver-1.1.0 jmatconvol-0.4.2 Added -T option to fconvolver and fmatconvol, truncates output file to input file

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-07 Thread Fons Adriaensen
On Wed, Jul 07, 2021 at 09:58:52PM +0100, Filipe Coelho wrote: > Except your patch was super messy, not formatted correctly and lead to other > issues, as described here: It was indeed a very big one, and fixed several issues: * wrong order of execution of clients, * high order polynomial

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-07 Thread Fons Adriaensen
On Wed, Jul 07, 2021 at 10:44:23PM +0200, Fons Adriaensen wrote: > With jack2 this takes 0.5s to create the clients, and on average 0.1s to > connect all of them in a chain (15 * 32 connect calls). Correction: after removing some print() statements the total connections time was reduced

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-07 Thread Fons Adriaensen
On Wed, Jul 07, 2021 at 01:00:21PM +0200, Wim Taymans wrote: > Challenge accepted!... I made a little jack client with 32 input and 32 output > ports that memcpy the samples. Then I started 16 of those and linked them > all in a long chain. > > Then I linked the input of the chain to a USB mic

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-07 Thread Fons Adriaensen
On Tue, Jul 06, 2021 at 03:54:22PM -0700, Fernando Lopez-Lezcano wrote: > Yes, yes, agreed. And most of the time you cannot remove stuff, and that is > by design. That has been my impression as well. > I long for simple text configuration files, you change it, restart whatever > it is if it is

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-06 Thread Fons Adriaensen
On Tue, Jul 06, 2021 at 12:37:55PM +0100, Will Godfrey wrote: > At one time you added things that you wanted. These days you have to remove > what you don't want - but might not even know was there until it interferes > with what you want to do. This is *exactly* what I profoundly hate about the

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-06 Thread Fons Adriaensen
On Tue, Jul 06, 2021 at 12:05:00PM +0200, Wim Taymans wrote: > The pipewire daemon is meant to be small and modular. You could run > a custom version of that with only what you want. It could possibly be > smaller than jack. Systemd started off like that as well... and now it has its tentacles

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-06 Thread Fons Adriaensen
On Tue, Jul 06, 2021 at 10:04:28AM +0100, Will Godfrey wrote: > What on earth has this got to do with systemd? Although I > suppose I shouldn't be surprised with it coming from redhat. I've started moving away from systemd on all systems. Not finished yet but getting close. Had a look at the PW

Re: [LAD] Playing FLAC files from Python

2021-06-13 Thread Fons Adriaensen
On Sun, Jun 13, 2021 at 03:05:11PM +0100, Keith Edmunds wrote: > Has anyone had success in playing flac files via Python, and been able to > start playback at some arbitrary point? The JackPlayer class in zita-jacktools can do that. It's both a Python class and a Jack client. Any number of

Re: [LAD] SysEx data-conversion woes: nibbles and complements (Microwave 2)

2021-05-13 Thread Fons Adriaensen
On Thu, May 13, 2021 at 09:27:57PM +0200, Jeanette C. wrote: > May 13 2021, Fons Adriaensen has written: > ... > > FFT theory will provide > > a solution. If you want to think about it, I can give you two hints: > > > > * It's related to the sin() vs.

Re: [LAD] SysEx data-conversion woes: nibbles and complements (Microwave 2)

2021-05-13 Thread Fons Adriaensen
On Thu, May 13, 2021 at 02:23:41PM +0200, Jeanette C. wrote: > I was thinking of both, in the long term. Hearing this, I might postpone > the to-Microwave part. :) Is there a particular name/method for this > kind of problem? I'd like to try to do my own research, at least until > I'm stumped. :)

Re: [LAD] SysEx data-conversion woes: nibbles and complements (Microwave 2)

2021-05-13 Thread Fons Adriaensen
On Thu, May 13, 2021 at 12:59:32PM +0200, Jeanette C. wrote: > Is the 0x80 type size specific or would it be the same for converting to > double? The same. > May I mention your name in the README of the finished tool? First FFT > and now this! You may... Will that tool read the sysex data and

Re: [LAD] SysEx data-conversion woes: nibbles and complements (Microwave 2)

2021-05-13 Thread Fons Adriaensen
On Thu, May 13, 2021 at 11:18:49AM +0200, Jeanette C. wrote: > > How does it sound ? > Many, many thanks, Fons! I can't exactly say how it sounds, because I > don't have a listing of waveforms within wavetables. But there is a list > of all spectra, as images, I think this is it: >

Re: [LAD] SysEx data-conversion woes: nibbles and complements (Microwave 2)

2021-05-13 Thread Fons Adriaensen
On Thu, May 13, 2021 at 09:14:47AM +0200, Jeanette C. wrote: > Only the wave data (128 bytes): > https://www.dropbox.com/s/q5rcm3cvtfp8cdu/pure_wave_data.dat I get a 'smooth' waveform whch makes be believe the result is correct, but it certainly is not a sine wave. No fundamental F1, very strong

Re: [LAD] Converting single-cycle wave to harmonic spectrum

2021-05-10 Thread Fons Adriaensen
On Mon, May 10, 2021 at 11:00:10PM +0200, Jeanette C. wrote: > The output can be read as two halves: > up to half the array: > output[k] = real[k] the real part of the FFT > The second half: > output[size -k] = imaginary[k], the imaginary/complex part of the FFT > The output shows 0 for the first

Re: [LAD] Converting single-cycle wave to harmonic spectrum

2021-05-10 Thread Fons Adriaensen
On Mon, May 10, 2021 at 03:17:12PM +0200, Jeanette C. wrote: > There are numerous audiofiles around containing one single cycle wave to > be used with multiple wavetable synthesizers, both in hard and software. > I can only assume that these are matched to the number of samples they > contain.

Re: [LAD] Converting single-cycle wave to harmonic spectrum

2021-05-10 Thread Fons Adriaensen
On Mon, May 10, 2021 at 12:20:56PM +0200, Jeanette C. wrote: > The input waveform is exactly one single cycle > The waveform has only harmonic overtones. You may be making a dangerous assumption (if you want an accurate result): that a single cycle corresponds exactly to an integer number of

Re: [LAD] Cli sound file player requirements

2021-05-09 Thread Fons Adriaensen
On Sun, May 09, 2021 at 02:55:51PM +0100, John Murphy wrote: > I need a command line sound file player which I can somehow control, > while playing, to go immediately to a new position in the same file > and keep playing without missing a beat. And a way to pause/continue. Zita-jacktools has a

Re: [LAD] update of zita-njbridge

2021-04-27 Thread Fons Adriaensen
On Tue, Apr 27, 2021 at 10:12:28AM +0200, Jörn Nettingsmeier wrote: > On 4/16/21 10:03 AM, Fons Adriaensen wrote: >> * added --ipv4 and --ipv6 options > > Sigh. There goes my last excuse to not learn about IPv6 multicasting. :o) You may well be the first to use that...

[LAD] update of zita-njbridge

2021-04-16 Thread Fons Adriaensen
Hello all, zita-njbridge 0.4.8 is now available at the usual place. Changes: * added --ipv4 and --ipv6 options * removed some unused code * some minor fixes Ciao, -- FA ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org

  1   2   3   4   5   6   7   8   9   10   >