News for hackers. Stuff that matters.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by Lucasoato on Tuesday September 14, 2021 @05:11PM (#28531295)
I'm a software developer right now but I've worked with DAWs as a producer for more than 5 years. You can't even imagine how frustrating is working with Digital Audio Workstation. One messy plug-in and you can lose hours and hours of work. Preset management is a nightmare, there are so many things that they could do to go forward, but the Sequencer market is stall and hasn't moved in years.

Imagine if they applied something similar to a git versioning system to music projects.... I don't even know if the VST interface can be used or if it's licensed somehow from Steinberg.

Also consider that there are no good audio drivers for Linux (like Asio for example) so you're almost forced to stay in windows or Mac...

No plug-in or DAW has a CLI... I could go on for hours...

I'm doing some digital audio processing for a startup idea and the only thing I've came up with is using sox trough a Python API.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @05:16PM (#28531377)
> Also consider that there are no good audio drivers for Linux (like Asio for example) so you're almost forced to stay in windows or Mac...

This is false.

> Imagine if they applied something similar to a git versioning system to music projects.

People have done this. Using git itself is a little problematic because it is very line-oriented and most project file formats for DAWs are not.

Regarding plugins, I know that I'm not the only lead developer of a DAW who, if they possibly could, would refuse to support plugins entirely. The problem is that most users want more functionality than a DAW itself could feasibly provide (they also sometimes like to use the same functionality (plugin) in different DAWs or different workflows).

There are things close to DAW functionality that have a CLI (such as ecasound). You can also run plugins from the command line by using standalone plugin hosts. You can use oscsend(1) to control plugins inside several different plugin hosts.

It sounds to me as if you've worked with a relatively small number of DAWs on only Windows and macOS and are not really aware of the breadth or depth of the "field".

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by dewert on Tuesday September 14, 2021 @06:02PM (#28532045)
> > Also consider that there are no good audio drivers for Linux (like Asio for example) so you're almost forced to stay in windows or Mac...

> This is false.

This was my immediate thought as well. Not sure what level we're talking here, so sorry if I'm addressing the wrong part of the stack, but JACK on Linux has been a great experience for me in terms of latency and ease of use. I run into way more day-to-day problems on Windows.

What feature specifically are you missing on Linux?

Re: plugins, DAWs with VST sandboxing are great. I use Bitwig, and I've never lost work due to a plugin crash.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by noahadavis on Tuesday September 14, 2021 @09:50PM (#28534232)
And now that we have PipeWire, getting low latency audio is extremely easy too.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lolcat_cowsay on Wednesday September 15, 2021 @04:19AM (#28536599)
JACK is also really easy to setup with PipeWire.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by hammyhavoc on Wednesday September 15, 2021 @03:14PM (#28543117)
PipeWire is love. PipeWire is life. Doing post on a documentary whilst using PipeWire. Linux for audio is finally there.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by officeplant on Wednesday September 15, 2021 @05:15PM (#28544457)
>Re: plugins, DAWs with VST sandboxing are great. I use Bitwig, and I've never lost work due to a plugin crash.

Exactly, the original thread reads as someone who hasn't touched a modern DAW from the last 8 years or so. Even Renoise has multicore support with sandboxed plugins so one of my ancient free shitty vsts doesn't bring down the whole system.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by stevefolta on Tuesday September 14, 2021 @06:51PM (#28532587)
> Using git itself is a little problematic because it is very line-oriented and most project file formats for DAWs are not.

Ardour and Reaper use plaintext project formats that work well with Git, at least for basic versioning.

> Regarding plugins, I know that I'm not the only lead developer of a DAW who, if they possibly could, would refuse to support plugins entirely. The problem is that most users want more functionality than a DAW itself could feasibly provide (they also sometimes like to use the same functionality (plugin) in different DAWs or different workflows).

I think the answer to this would be something like Reaper's "JS" plugins, which are written in a small compiled language and distributed as source code. Compared to "JS", it would need to: 1) be open source; 2) be a better language; and 3) support pretty skeuomorphic graphics ('cause people seem to really want that in their plugins). Ardour seems to be working on something like this using Lua (don't know about the graphics, or if the plugins could be supported in other DAWs).

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @07:08PM (#28532740)
Ardour uses XML for its session format, which is not a line-oriented format. Git can handle it, most of the time, but is not ideal. Something that groks the concept of XML nodes would do a better job (i.e. less conflicts duing merge resolution).

Ardour comes with a small set of basic "curated" plugins written in C or C++, that are "blessed" by us. Writing DSP plugins in Lua is also possible, but generally discouraged and, as you guessed, you can't provide a dedicated GUI for them, nor can they be used elsewhere (same limitation as Reaper's Jesusonic plugins).

However, even if those details were improved, the idea that a DAW manufacturer is going to be able to supply the precise EQ that demanding users want, let alone noise reduction, polyphonic pitch correction, and so, so much more, strikes me as unrealistc.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tialaramex on Tuesday September 14, 2021 @07:29PM (#28532958)
Note that git's diffs and merges are customisable. If somebody wants to put in the effort for a particular format, they can write tools that perform these two specific tasks and git can be told "Here are the tools for this repo" and deliver the benefits of improved tooling. It's definitely possible that could be worth doing for a DAW if used with git.

Git even understands that it's possible that you can neatly summarise a change in text (for display e.g. as part of the change log) but that summary is not actionable (so the data stored to implement that change is different), e.g. I believe git's man pages provide an example showing how you can get EXIF from a JPEG so that your git tools say the change was from "Photo of Pam and mummy" to "Cropped image of Pam" when actually it's a huge binary data change that is unintelligible to reader.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by Arelius on Tuesday September 14, 2021 @07:58PM (#28533222)
I mean, If git's been around for ages by now, and this doesn't exist for even json + xml already and robustly, there must be some sort of problem?
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jacquesm on Wednesday September 15, 2021 @06:23AM (#28537389)
The problem is quite simple: if it isn't supported by the base installation it might as well not exist. Github/Gitlab is how most companies and people now experience git, and afaik you can't add those custom plug-ins to those platforms easily if at all.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by wizzwizz4 on Tuesday September 14, 2021 @09:28PM (#28534041)
The tools don't preserve the literal contents of the file; only the JSON / XML semantics. This makes them unpopular. (Source: I decided not to use them because of this; I needed hashes to remain stable for some reason I can't quite recall.)
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by Elv13 on Tuesday September 14, 2021 @07:29PM (#28532961)
> you can't provide a dedicated GUI for them

You could expose enough GTK bits to expose an event loop to the LGI lua library. It's gobject-introspection for Lua. Since you already use these libs, it would not make Ardour any bigger.

I am not saying it's a great idea to mix GUI and a realtime DSP in the same thread, but it would be supported in you see some demand there.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @07:41PM (#28533076)
I've previously written a long-ish article about the role of Lua/scripting in general in the context of a libre & open-source DAW before:

https://discourse.ardour.org/t/is-open-source-a-diversion-fr...

There's really no technological reason for not allowing Lua to create GUIs within Ardour. It's more a question of whether or not we actually want to. Either way, you would not be mixing GUI and realtime code - the architecture of Ardour doesn't allow that.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by diskzero on Tuesday September 14, 2021 @11:40PM (#28534985)
Nice article Paul. It is motivating me to take another look at Ardour. I have also worked on some very large audio/video authoring tools. When we made the new lighting tools at Dreamworks, you could only create the UI using the scripting system. I am not sure if that discipline is still observed, but it was a good way to make sure that there wasn't a 2nd class citizen status given to extending the UI.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @11:51PM (#28535055)
Thanks. Thing is, in an open source system, there are no 2nd class citizens caused by the "eat your own dogfood" rules (or lack thereof). You want to change the GUI in Ardour? The code is all right there.

The question I was raising (which I think you understand) is whether most users care that this is possible if it can't be done without a rebuild (compiling).

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by diskzero on Wednesday September 15, 2021 @01:41AM (#28535648)
Right. In the case of the studio tools, artists could extend the application but not touch the core. Much like Ardour, having to build the application from source was more complex and who wants to make their users do that?
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jacquesm on Wednesday September 15, 2021 @06:24AM (#28537400)
I've been reading all of your comments in this thread and the links provided carefully, thank you for all the great work on Ardour and the degree of forethought that goes into it, it really shows in the final product.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by kortex on Tuesday September 14, 2021 @08:03PM (#28533273)
Just use DVC for any non-line-oriented files. If you don't want cloud backing stores, it's pretty easy to set up using the "local remote" pointing to a custom path (e.g. External drive) if you are the only person working on it. Otherwise I'd recommend symlinks.

www.dvc.org

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomc1985 on Tuesday September 14, 2021 @08:47PM (#28533638)
> Regarding plugins, I know that I'm not the only lead developer of a DAW who, if they possibly could, would refuse to support plugins entirely. The problem is that most users want more functionality than a DAW itself could feasibly provide (they also sometimes like to use the same functionality (plugin) in different DAWs or different workflows).

Honestly the sound quality of most DAWs' built-in effects and synths are garbage. Even the effects section of most VST synths is bad! Best to allow plugins rather than trying to reinvent the wheel; you'll have to pry my beloved serum/iZotope/u-he/softube plugins out of my cold dead hands

Also, the "sometimes" is an understatement. Anyone who's been doing this a while likely to be pretty invested in the plugins they have. I would say the majority of working musicians that use DAWs work this way

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @10:08PM (#28534378)
I think you are misinterpreting that comment, I believe the idea there would be to have built-in functionality that would be equal or surpassing to those plugins, possibly by merging the actual plugins with the DAW. Of course doing that in a way that will please everyone is a lot harder to do than it sounds and is likely not even feasible, but the supposed benefit would be that the DAW could better integrate that functionality and would not have to deal with a lot of the reliability issues that exist with plugins. (Disclaimer: I agree with the GP comment in the sense that dropping plugins from DAWs would be a great thing to do if it were at all possible, but it currently really isn't)
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomc1985 on Tuesday September 14, 2021 @10:28PM (#28534505)
The thing is, doing something that would 'be equal or surpassing' is pretty much impossible at an acceptable cost. You can probably write something that's 'good enough' that some people might be happy with -- that is what most all-in-one DAWs do -- but the beauty of the plugin system is that you can delegate development duties for those components to someone who a company who specializes in effects, for example. Or even a specific effect! There are developers who just write synths, or just write reverbs, or whatever. And we want to use their products!
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @10:34PM (#28534551)
That's the thing though, not having plugins would not mean that you can't delegate development duties for a synth or reverb out to another company. I am not sure where you are drawing that conclusion from. It just means that the development would be happening within the DAW.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomc1985 on Tuesday September 14, 2021 @10:56PM (#28534704)
A large part of the reason those developers can exist independently is because they can target every DAW. So either you will have to hire them all or find new specialists, or develop that specialization yourself.

Even in the case of developers only targeting one DAW (Pro Tools), at least one company (AIR music) saw that it was worth the extra effort to release its products in other plugin formats like VST.

Honestly, I would not like to see new developers trying to oust the plugin standard. It's one of those quirks about music software that exists for very good reason.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @11:20PM (#28534858)
I'm sorry, I don't get where this is coming from, the specialists don't need to be hired to write the same code again. The old code can just be re-used. If I could guess, I think this is stemming from a misunderstanding that "no plugins" means "no code re-use" which is an understandable misunderstanding (say that 5 times fast) but it isn't the case.

In my opinion, plugins only exist because it's convenient to package a synthesizer/reverb/whatever for users that way, but there is no reason that can't be supplanted with something that is more convenient. Of course if it's less convenient then that wouldn't be worth doing, if that is your concern then I agree with you there.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomc1985 on Tuesday September 14, 2021 @11:59PM (#28535112)
Not saying no code reuse. But if you're going to reuse code across multiple DAWs, then a plugin system is the established standard.

Do you think those existing developers are just going to drop their code into your environment and hit compile? How do you plan on getting all these musical components into your DAW? It doesn't work like that. Someone is going to have to write something, or you're going to be acquiring the rights to existing code somehow, which is still going to have to be ported to your environment.

Or you could skip all that and implement VST. There are even libraries that present a standard interface and output plugins in all the major formats, so you could target that instead. (I forget the name of the framework I'm thinking of but it was written by the Cockos guy and his DAW's ReaPlugs effects suite targets that library)

How would you motivate a synth/effects developer want to spend time on your project? Unless you hire them, and if you're going to ask them to "write reusable code," they're going to point to their existing portfolio of plugins.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Wednesday September 15, 2021 @01:17AM (#28535514)
It doesn't really matter who does the work, if you were writing a new DAW, you'd probably do it. But if you were working on an established & popular DAW, plugin developers could be convinced to do it if there was benefit to them (more optimizations, more features, more convenience, less bugs, etc).

I don't think it is currently popular for plugin developers to implement against VST themselves, the libraries you mention seem to be gaining a lot of traction, at least from my experience from trying to catalog open-source plugins on github.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @10:55PM (#28534695)
Why would people who can sell (or at least pitch) their plugin(s) to the users of 12-20 excellent DAWs decide to go work for just one of those DAWs ?
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @10:56PM (#28534710)
I don't understand why you are saying that either, please explain. Nobody needs to work for just one, as any code can be linked into any number of DAWs.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomc1985 on Tuesday September 14, 2021 @11:00PM (#28534740)
How is that much different from a plugin system? Because now you have developers writing bespoke code with a shim for each host DAW. At that point you've pretty much developed your own modular component protocol... literally a step away from a plugin system
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @11:12PM (#28534817)
It's not different, and in fact most DAWs are already doing something along these lines internally to actually implement an abstraction layer that can load various plugin formats and have them all interact. That's actually my key point: it wouldn't be significantly different for users.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @11:53PM (#28535069)
But there are (at least) 12-20 DAWs, each with their own (internal) abstraction designs. It's bad enough having to write (or being able to write) plugins for:

   AAX, VST, AU, LV2 (at least)
Now you'd be talking about 12-20+ different "plugin APIs". That's not going to fly.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Wednesday September 15, 2021 @12:15AM (#28535217)
As per your other comment, it seems things are already going in that direction, if developers are treating their plugins as being written in a format that could be described as "AU that is compatible with Logic but nothing else" or something like that (substitute for any format/DAW combination that the developer wants). So I would say that in a way it has already flown regardless of how we feel about it.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @10:53PM (#28534680)
It wasn't really a misinterpretation.

Merging plugins "with the DAW" is entirely feasible in the open source world where I live and work, and we do that sort of thing when appropriate.

But the reliability issues do not come from the fact that plugins are dynamically loaded shared objects (mostly); they come from the vastly different levels of skill AND very different interpretations of subtle aspects of plugins APIs (notably threading, GUI<->DSP communication and more). These are hard to get rid of if you've really got a diverse, distributed and largely independent "team" of developers working on something.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @11:08PM (#28534794)
I still don't get how that is related, in my opinion, that is unlikely to change until there are tools that make it easy to resolve all those various threading/communication/latency issues on the developer side before a plugin is even distributed. So as long as you can just distribute any old shared object to get around that, I don't expect to see it to improve.

Maybe someone could come up with another way to do it that works across DAWs, and then plugins could still happen, but I consider this unlikely because with that there is never going to be a reliable way for the host to verify it that works better than what we have now (user reports X plugin works with Y host, etc).

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @11:56PM (#28535087)
It's not hard to stress test plugins. There are a few good tools for some formats out there. They can verify things that most DAWs will not (e.g. by deliberately cross-threading calls and so forth).

The problem is getting people to care. For years, on macOS, the "standard" for plugin developers has been "does it work in Logic?" There were even plugins that would fail auval(1) (the command line AudioUnit validator), but somehow pass in Logic. As far as their developers were concerned, the plugin worked. Working on Ardour, I've seen at least a dozen plugins that used ambiguity in the AU spec to justify why "well, it works in Logic even if it doesn't follow your interpretation of the spec" was the end of their interest.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Wednesday September 15, 2021 @12:18AM (#28535233)
That's what I mean. The solution there would be to get Logic to run "auval" before loading the plugin which ensures that developers don't do that. But for users of Logic doing that serves no benefit as it doesn't actually guarantee the plugins run more reliably, so it won't happen. And even if it did happen, there would be no guarantee that the stress testing tool wasn't also written against other ambiguities in the spec.

Edit: I also think testing is hard in general for plugin developers to use correctly. I personally would prefer to see plugin APIs designed in a better way that make it so it's hard to accidentally cause race conditions.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Wednesday September 15, 2021 @12:50AM (#28535379)
Logic does actually use auval these days, so things are improving. But this still doesn't catch the cases where the issue is something that auval can't or doesn't test (e.g stuff related to GUI interaction).

Plugin API design is an art, indeed. There was recently a brief bubble of activity on KVR among a number of independent plugin devs who found many things to dislike about VST3. A long discussion ensued, there was some talk of picking up LV2 instead, then it all evaporated and nothing was left. The last time the industry tried this was in around 2003, and nothing came (directly) of that effort either.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Wednesday September 15, 2021 @01:10AM (#28535483)
That's also another aspect where the plugin API vendors have not much incentive to fix things, because users can just use another thing on top of it (JUCE, DPF, etc) that makes better progress towards solving these issues from the developer perspective, but still DAWs are left with the tractability problem for other plugins that don't use that.

To me, if there is any interest in solving that, I would just expect someone to put a new plugin backend in JUCE/DPF that is specific to the DAW and then compile that together with the plugins into a big giant build. That's more what I mean by "dropping plugins", it's how you avoid the MxN problem too. But I think that many DAWs (including Ardour) gain little benefit from doing this at this time, so if that was what your original sentiment was, I agree.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by officeplant on Wednesday September 15, 2021 @05:20PM (#28544521)
>Honestly the sound quality of most DAWs' built-in effects and synths are garbage.

Have you ever tried Reason? Then again I'm actually using Reason as a plugin (via vst3 to vst2 wrapper) so I can sequence it easily with renoise. Because why not just load a DAW in your DAW.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomc1985 on Wednesday September 15, 2021 @08:42PM (#28546434)
Hah, I have a copy of Reason Lite that I got for free that loads as a VST. Mainly use it for ReBirth, but now even that's redundant since FL has its own 303 emulation that's pretty good

Back in the day producers used to complain that you could recognize a Reason track from a mile away. FL used to have the same problem. 'Garbage' is probably an overstatement nowadays (at least judging by the FLStudio demo tracks, their quality has been steadily improving over time) but the meme persists.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by officeplant on Thursday September 16, 2021 @10:22AM (#28552185)
For sure, Reason 3 and older especially had it's own recognizable sound.

Personally I like using "garbage" plugins in my music. I've gotten some nice strange out of old free vst plugins run through much nicer effects racks.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by wwweston on Tuesday September 14, 2021 @06:27PM (#28532349)
> This is false.

Suffice it to say that it's non-obvious to me where to start to go about getting a stable and mobile (ie laptop) experience. I'd like nothing better than to receive a response that makes me feel sheepish for thinking that Linux is the problem, and if anyone can give out good pointers I'd imagine you can.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @06:50PM (#28532582)
Well, first of all let's start with noting that hardware can prevent you from ever getting a stable response. Some explanatory background on that here:

https://manual.ardour.org/setting-up-your-system/the-right-c...

On Linux you do not (as a rule) install device drivers for your devices. They come with the system or they (generally) don't exist. I know of only one audio interface manufacturer who ever maintained their own drivers outside of the kernel tree (i.e. not part of mainstream Linux) and even they have had their drivers integrated now.

Next, since you're on a laptop, you're relieved of the unenviable task of figuring out whether to use a PCI(.) bus device or a USB interface. USB is your only option. The good news here is that any USB audio interface that works with an iPad also works on Linux. Why? Because iPad doesn't allow driver installs, and so manufacturers have been forced to make sure their devices work with a generic USB audio class device driver, just like they need to do on Linux. With very few exceptions, you can more or less buy any contemporary USB audio interface these days, just plug it into your Linux laptop (or desktop or whatever), and it will work.

What can be an issue is a lack of ability to configure the internals of the device. Some manufacturers e.g. MOTU have taken the delightful step of doing this by putting an http server on the device, and thus allowing you to configure it from any browser on anything at all. Others have used just generic USB audio class features, allowing it to be controlled from the basic Linux utilities for this sort of thing. And still more continue to only provide Windows/macOS-native configuration utilities. For some devices, dedicated Linux equivalents exist. Best place to check on that would be to start at linuxmusicians.com and use their forums.

Beyond the hardware, it's hard to give more advice because it depends on the experience/workflow you want to use. If you're looking for something Ableton Live-like, Bitwig is likely your best option. If you want a more traditional linear timeline-y DAW ala ProTools, Logic etc., then Reaper, Ardour or Mixbus would probably be good choices. If you want to do software modular, VCV Rack is head and shoulders above anything else (and runs on other platforms too).

There's a very large suite of LV2 plugins on Linux. Stay away from CALF even though they look pretty. The others range from functional to excellent. Your rating will depend on your workflow and aesthetics. You will not find libre plugins that do what deeply-DSP-oriented proprietary plugins do (e.g. Izotope, Melodyne), though you may be satisfied with things in the same ballpark (e.g. Noise Repellent and AutoTalent).

There's a growing body of VST3 plugins for Linux. If you're looking for amazing (non-libre) synths, U-he has all (?) their products available in a perpetual beta for Linux. Great stuff. There are plenty of libre synths too. There's an LV2 version of Vital called Vitalium which is more stable than the VST3 version; this synth has had rave reviews from many different reviewers.

Sample libraries are a problem because most of them are created for Kontakt. You have a choice of running Kontakt inside a Windows VST adapter (e.g. yabridge) or using other formats such as SFZ or DecentSampler, both of which have both free and libre players. pianobook.co.uk has hundreds of somewhat interesting sample libraries, many (but definitely not even most) of them available in DS format.

Hope this helps.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by wastholm on Wednesday September 15, 2021 @01:18AM (#28535519)
> Stay away from CALF even though they look pretty.

Why, what's wrong with them?

Thanks for a very informative comment!

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Wednesday September 15, 2021 @01:31AM (#28535580)
There are egregious DSP errors, including zipper noise and flat-out incorrect EQ-ing, plus they are one of the most reliable sources of crashes for Ardour users (at least). There are better alternatives even just within libre-space for everything that CALF does (they do, however, look very nice).
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by wastholm on Wednesday September 15, 2021 @01:50AM (#28535694)
Thanks, I'll keep this in mind. (I have given some Calf plugins some light usage in Qtractor without noticing any obvious problems.)
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by wwweston on Tuesday September 14, 2021 @10:10PM (#28534400)
Thanks for the generous and informative response!
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by supernintendo on Tuesday September 14, 2021 @09:08PM (#28533860)
> Also consider that there are no good audio drivers for Linux (like Asio for example) so you're almost forced to stay in windows or Mac...

ASIO, really? Sorry but you couldn’t pay me to go back to that broken piece of crap after switching to Linux and JACK2. I’m actually traumatized by that piece of software, thinking of moments where ASIO would just break and cause my Live session to collapse into a glitchy cacophony of latency-induced noise. I’ve seen this happen on several computers with different Windows installations and external audio hardware and the problem always ends up being ASIO. Some of the producers I knew swore off anything that wasn’t a Mac because of this exact problem.

The problem with audio production on Linux in 2021 isn’t the audio protocol. It’s that most free and open source audio production software for Linux is dreadful to use. UX is actually very important for DAWs. I want to like Ardour but it’s a miserable piece of software to try to make music in. Feels like a chore to perform any action, kills my vibe, would not recommend. After trying really hard to become comfortable using it, I finally gave up and bought Bitwig. It’s a proprietary DAW and kinda expensive but I’ve been producing music with it for a couple of years and it’s a dream to use - sort of a spiritual successor to Ableton IMO.

> No plug-in or DAW has a CLI…

Most people who make music don’t care about this. I’m a software developer and musician who only uses Linux and I don’t care about this. In my opinion, Linux developers of free and open source creative software should spend less time building these features for other developers and focus more on making their software feel good to create with. If I feel bad trying to use your clunky-ass UI to make my art / music / whatever then I’m not going to hold myself back because it has a free software license. I’m going to find a piece of software that gets out of the way and lets me make what I want to make.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @11:11PM (#28534808)
> I want to like Ardour but it’s a miserable piece of software to try to make music in. Feels like a chore to perform any action, kills my vibe, would not recommend. After trying really hard to become comfortable using it, I finally gave up and bought Bitwig. It’s a proprietary DAW and kinda expensive but I’ve been producing music with it for a couple of years and it’s a dream to use - sort of a spiritual successor to Ableton IMO.

As I've mentioned above, I get all kinds of email about Ardour, some declaring their love for it, and some much more condemnatory than anything you've said here.

The point is that "trying to make music" isn't much of a description: people's workflows for "making music" vary dramatically. Not many years ago, more or less the only way to do this was to record yourself playing one or more instruments and/or singing. These days, there are many fundamentally different workflows, and countless minor variations of each one. If Bitwig works for you, it's no surprise that Ardour doesn't. There's a bunch of people for whom the opposite is true. You have to be prepared to try different tools and figure out which ones work for you.

Finally, ASIO and JACK don't really at the same level. JACK on Windows actually uses ASIO. The comparison to ASIO on Linux is ALSA, and sure, I'd agree that it's better than ASIO is most ways (though maybe not 100%).

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by supernintendo on Wednesday September 15, 2021 @12:05AM (#28535158)
> The point is that "trying to make music" isn't much of a description: people's workflows for "making music" vary dramatically. Not many years ago, more or less the only way to do this was to record yourself playing one or more instruments and/or singing. These days, there are many fundamentally different workflows, and countless minor variations of each one.

Excellent point and apologies if that comment came across as inflammatory. I really respect the work you and the Ardour team have done even if it's not for me (and infinite thanks for your work on JACK, it truly is a special piece of software). My frustration has more to do with there not being a FOSS DAW that gives me that true Ableton-like experience. I understand why though, this stuff is hard to build and one workflow does not fit all as you point out.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by thefr0g on Thursday September 16, 2021 @07:07AM (#28550230)
Ardour is really great for recording and mixing. For a more "contemporary" workflow you might want to try zrythm¹, it's getting better and better. (I still use Bitwig though…) If you exclusively make electronic music you could also look into LMMS², it's more of an electronic-music-toy than an actual DAW but thats not necessarily a bad thing.

¹ https://www.zrythm.org/en/explore.html ² https://lmms.io/

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by supernintendo on Saturday September 18, 2021 @06:14AM (#28575018)
> For a more "contemporary" workflow you might want to try zrythm¹, it's getting better and better.

Oh wow, Zrythm looks awesome! Thank you for the suggestion, I'll be taking this DAW for a spin sometime soon. :)

> Ardour is really great for recording and mixing.

Yeah, I'm actually warming up to Ardour as a general mix & mastering environment. It reminds me of Logic Pro in that sense, being more suited for final touches than composition (in my personal workflow).

> If you exclusively make electronic music you could also look into LMMS², it's more of an electronic-music-toy than an actual DAW but thats not necessarily a bad thing.

How is LMMS these days? I tried it sometime last year and had a lot of fun but it crashed too much for my personal comfort (tbf that could have just been whatever buggy LV2 / VST plugins I was testing). It comes a bit closer to the "look and feel" I look for in a DAW - kinda reminds me of older versions of FL Studio which is kewl because that's the software I learned how to produce music on.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jefftk on Tuesday September 14, 2021 @10:06PM (#28534361)
>> No plug-in or DAW has a CLI

> I’m a software developer and musician who only uses Linux and I don’t care about this.

I am a software developer and musician who uses Linux and I do care about this. I run headless, and control my audio software through custom logic and hardware while playing live. I ended up writing a custom synthesizer and see because I couldn't find anything that works well for my use case

(I'm still open to something else; my synth doesn't sound very good. Designing custom sounds is not something I'm great at or something where I really want to focus.)

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @11:05PM (#28534773)
You can run Ardour headless and control it 100% using OSC (from the command line, with oscsend, or from a touch device (phone/tablet) using eg. TouchOSC). You could also get significant but not as extensive control using MIDI.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by supernintendo on Tuesday September 14, 2021 @11:05PM (#28534767)
> I am a software developer and musician who uses Linux and I do care about this. I run headless, and control my audio software through custom logic and hardware while playing live. I ended up writing a custom synthesizer and see because I couldn't find anything that works well for my use case

That's pretty cool. Most modern DAWs allow you to define per-controller triggers for custom logic in the form of MIDI events. I guess you could write a CLI that maps custom commands to MIDI events and allows you to send those events to your DAW when they are called. It's not exactly what you're describing (and maybe it doesn't fit your use case) but is that something you've considered?

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by nprateem on Tuesday September 14, 2021 @11:01PM (#28534746)
There will always be tinkerers who write their own synths. Everyone else just uses serum or whatever and makes music.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by stinos on Wednesday September 15, 2021 @06:06AM (#28537265)
ASIO, really?

Havng had zero problems with this (already many years ago, in the days where getting low latency on linux was extremely hard) on a variety of machines but all with pretty decent cards is it possible that the problem has nothing to do with ASIO but rather with crappy drivers / manufacturers? Or perhaps you just had bad luck?

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by sasaf5 on Tuesday September 14, 2021 @09:49PM (#28534227)
JACK2? Sorry my ignorance, it's been a while I abandoned Linux audio for Ableton on Windows with a focusrite Scarlet. Did they solve that JACK/alsa problem? Without running a2j in the background?
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @10:05PM (#28534351)
Which problem are you referring to? a2jmidi should work fine as long as you have access to the device. But in any case that should not be necessary anymore if you use pipewire, which should be able to manage all the devices at once.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by sasaf5 on Tuesday September 14, 2021 @10:28PM (#28534513)
The problem was that extra a2jmidi hoop adding a lot of friction to my creative process. Also I wanted to keep it on indefinitely to use it as an instrument, and a2jmidi would crash after a few days.

Also there was the night spent recompiling the right version of bison in the middle of Qsampler's dependency hell, so that I could have a piano sound. That was all in 2017.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @10:42PM (#28534593)
I'm not sure what you mean extra hoop? You just start a2jmidi and then connect the device. Crashes would indeed be an issue, generally if you want to mitigate those, you would want to:

- Auto restart any important services (with systemd or similar)

- Use JACK/Pipewire session management

- Report the crash to the developers (of a2jmidi in this case, but it could be anything)

I honestly have never used LinuxSampler so I can't comment on that, I believe they have some strange licensing thing going on.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @11:07PM (#28534782)
The extra hoop is having to start a2jmidi and have the ports not be as "integrated" into the JACK server ports as they could be.

By contrast, JACK1 contains a2jmidid as a builtin client, no extra work is needed. You just start JACK, all your MIDI devices are listed.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by lavabiopsy on Tuesday September 14, 2021 @11:24PM (#28534888)
I have switched to Pipewire but last time I tried JACK2 there were tools that would auto-start a2jmidi for all available midi ports. This is trivial to do. If hotplug was a concern then someone could just write it to run based on udev triggers.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by supernintendo on Tuesday September 14, 2021 @10:48PM (#28534641)
I don't run a2j or even have it installed so in my case it doesn't seem to be a problem. My audio production setup isn't highly complex FWIW but with the following configuration I have had no issues with audio or MIDI input and output. All of my devices are just plug-and-play for both Bitwig and qjackctl:

- Distro: Arch Linux

- Audio backend: JACK2 and PipeWire

- USB Audio Interface: Behringer U-Phoria UMC404HD

- USB controllers: Akai APC 40 mkii, Casio CTK-6200

- Microphone: Zoom H6

I run this exact setup on my Ryzen desktop and a Thinkpad T480 with no problems. I've also tried routing the audio output of various software directly into my DAW using qjackctl, works perfectly fine.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by container on Wednesday September 15, 2021 @02:27PM (#28542547)
I kind of dropped out of Linux audiosome time ago. Can I ask why both pipewire and jack? I thought pipewire was supposed to implement most (all?) the stuff that jackd does.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by supernintendo on Saturday September 18, 2021 @06:41AM (#28575111)
Sorry, looking back at my wording I can see how that's confusing. You are correct. PipeWire replaces the standard JACK libraries with its own ABI-compatible implementations. This allows any JACK-compatible application to support audio through PipeWire using the same APIs it would normally use for JACK. This is also how PipeWire handles support for PulseAudio, ALSA and other multimedia libraries; it kinda reminds me of Wine for Linux audio protocols, if my understanding is correct anyway.

To use PipeWire in place of JACK, you have to install a specific package (`pipewire-jack` on Arch Linux) and run all of your audio applications using a wrapper command called `pw-jack`. You can update the `.desktop` entries for audio software on your system to automatically run this command; I've done that and everything I use launches correctly, tbh I forget that PipeWire is there. I just use Bitwig, qjackctl, Catia, etc. and they all think they're using JACK but really everything is being handled by PipeWire. Pretty kewl and it's been working perfectly for me for quite some time. :)

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by rudenoise on Tuesday September 14, 2021 @05:17PM (#28531392)
Things to check:

For audio on linux: https://pipewire.org/

For a more code oriented audio workflow (python lib to load VST and AU) https://github.com/spotify/pedalboard

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @05:19PM (#28531421)
Pipewire is a layer above most of the really important stuff.

Pedalboard is also not a realtime audio environment (as was clarified by one of its developers here on the HN thread last week). In that sense it is extremely different from Bespoke (and nearly everything else).

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by pandakar on Wednesday September 15, 2021 @03:02AM (#28536102)
For you pythonheads, please check out Olivier's wonderful pyo https://github.com/belangeo/pyo
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by Lucasoato on Tuesday September 14, 2021 @07:30PM (#28532967)
I'll never thank you enough for linking pedalboard... That's exactly what I've always needed lol
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by gregsadetsky on Tuesday September 14, 2021 @08:22PM (#28533431)
It was posted here less than a week ago too!

https://news.ycombinator.com/item?id=28458930

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by xbpx on Tuesday September 14, 2021 @05:19PM (#28531425)
Since you're a software dev you may have explored supercollider and other environments where you can employ great tools. I've been looking for a hybrid UI/UX + Audio programming environment that would combine the freedom of code with the visual cues of a DAW but haven't found the ideal fit. So far I've been rolling my own with cl-collider, a common lisp client for Supercollider which uses some lisp tricks (macros) to good effect.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by sharklazer on Wednesday September 15, 2021 @10:27AM (#28539473)
Been using DAWs for 20 years now. Of course they aren’t changing... what even should change? They work, and do what they’re supposed to.

Most plugins these days are stable, and don’t crash. I haven’t had issues in like 10 years honestly. At least if you’re paying for them from groups who have a reputation.

Git for a music project would be detrimental, going to be really honest.

Linux can run things just fine. JACK has been a relatively stable audio platform. RT pre-emption can help. The only issue with Linux I see is software support. But with Apple making some less than stellar choices, I expect linux to become more important to the daw/digital recording ecosystem

One fantastic one that does work well on linux (reaper) also has a scripting interface. Not a CLI but actually more useful.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by tomduncalf on Wednesday September 15, 2021 @03:14AM (#28536183)
> One messy plug-in and you can lose hours and hours of work

If you’re meaning from crashes, Bitwig has configurable levels of process isolation for plugins - I guess the trade off is performance, I haven’t tested it out so can’t comment on how well it works.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by scns on Wednesday September 15, 2021 @02:00AM (#28535753)
Try Bitwig, plugins will crash on their own there. It even runs on Linux.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by grishka on Tuesday September 14, 2021 @08:29PM (#28533476)
> One messy plug-in and you can lose hours and hours of work.

What if you run each plugin in a separate process, or does IPC add too much overhead or not provide enough bandwidth for this to be feasible?

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Tuesday September 14, 2021 @09:20PM (#28533958)
Although we are still debating with some smart people about this (since actual measurements call it into question), this was our (Ardour dev team's) take on this question:

https://ardour.org/plugins-in-process.html

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by grishka on Wednesday September 15, 2021 @12:20AM (#28535244)
The answer is "too much overhead" but the overhead isn't coming from where I assumed it would. I thought it could be too expensive to pass the required amount of data through the kernel (at least 48000 samples per track per second), but that's not the problem, it turns out it's the context switches. Huh.

edit: I now also remembered that virtual memory is a thing and you can share a chunk of physical memory between processes to avoid the need to copy anything at all.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jacquesm on Wednesday September 15, 2021 @06:32AM (#28537436)
Context switches on Linux are a pretty heavy affair, this is the result of some choices in the distant past when the number of context switches per second was much higher than on most other platforms and so it was deemed to be 'good enough'. Unfortunately this rules out a lot of real time or near real time work, especially when the workload is divided over multiple user space processes.
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Wednesday September 15, 2021 @08:11AM (#28538053)
A citation is required for this claim.

I know of no evidence that Linux context switching on x86/x86_64 is slower than any other OS, and some suggestions that it is faster (Linux does not save/restore FP state, which Windows (at least at one point) does).

Linux is as capable or more capable of realtime work than any other general purpose OS, and the latency numbers from actual measurement are excellent (when using RT_PREEMPT etc).

What are you referring to?

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jacquesm on Wednesday September 15, 2021 @09:40AM (#28538900)
Back in the day when the Linux kernel was first written there was a huge argument between Linus and Andrew Tanenbaum about whether or not the micro or macro kernel road was the superior one.

Tanenbaum argued that a microkernel was lighter, and could switch context faster than a macrokernel (the likes of which UNIX was typically reincarnated with). Linus argued that throughput, not latency is what matters to end users. At that time your typical OS switched tasks 18.5 times per second and Linux did substantially better than that. Case closed, the throughput argument won.

But now, many years later the consequences of that mean that we are switching contexts orders of magnitude slower than we could have because the context contains a lot more information than it strictly speaking has to. My own QnX clone switched 10K / second on a 486/33, and yes, the IPC mechanism meant that throughput suffered but for real time applications with a lot of the hard stuff in userspace context switches are far more important than throughput (and incidentally, also for perceived responsiveness of the OS and apps).

The latency numbers are excellent from the perspective of very forgiving applications, a typical DAW runs with 1K or even larger sample buffers which is acceptable, but for many real time applications that is an eternity and so those are not typically built using Linux as the core but some dedicated RTOS.

edit: I had 100K / second before, this was in error. It's been 30 years ;)

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Wednesday September 15, 2021 @01:17PM (#28541784)
If you read the article linked to in the article I linked to above (which is fairly out of date, from 2010):

https://blog.tsunanet.net/2010/11/how-long-does-it-take-to-m...

you will find that on Linux a context switch takes about 30 usec. More recent measurements that take account of the effect of the TLB flush put the range at 10-300usec.

That means that in 2010, on Linux, you could reasonably expect to do at least 30k/sec. In 2021, with realistic audio processing workloads, the range is probably 3-50k/sec.

The 486 is a much lower register count than contemporary processors, which accounts for the faster context switching.

Modern audio processing software on Linux can run with 64 sample buffers, not 1k.

This recent paper on RT linux on RPi/Beagleboard single board systems concludes that on some of these relatively "low power" systems, 95% of latencies are in the 40-60usec range, which is completely adequate for the majority of RTOS tasks (but not all).

https://www.mdpi.com/2073-431X/10/5/64/pdf

>"The majority of Linux kernels’ measurements with PREEMPT_RT-patched kernel show the minimum response latency to be below 50 μs, both in user and kernel space. The maximum worst-case response latency (wcrl) reached 147 μs for RPi3 and 160 μs for BBB in user space, and 67 μs and 76 μs, respectively, in kernel space (average values). Most of the latencies are quite below this maximum (90% and 95%, respectively, for user space and kernel space). In general, it seems that maximal latencies do not often cross these values."

[ ... ]

"As an outcome, Linux kernels patched with PREEMPT_RT on such devices have the ability to run in a deterministic way as long as a latency value of about 160 μs, as an upper bound, is an acceptable safety margin. Such results reconfirm the reliability of such COTS devices running Linux with real-time support and extend their life cycle for the running applications."

This slide presentation offers up very similar numbers with graphs, also on ARM systems (I think):

https://elinux.org/image/d/de/Real_Time_Linux_Scheduling_Per...

This article shows cyclictest, a very minimal scheduling latency tester, getting the following results on an x86_64 system:

"The average average latency (Avg) is 4.875 us and the average maximum latency (Max) is 20.750 us, with the Max latency on 23 us. So, the average latency raises by 1.875 us, while the average maximum raises by 1.875 us, with the maximum latency raised by 2 us."

https://bristot.me/demystifying-the-real-time-linux-latency/

They conclude

> "Maximum observed latency values generally range from a few microseconds on single-CPU systems to 250 microseconds on non-uniform memory access systems, which are acceptable values for a vast range of applications with sub-millisecond timing precision requirements. This way, PREEMPT_RT Linux closely fulfills theoretical fully-preemptive system assumptions that consider atomic scheduling operations with negligible overheads."

I'm not sure where you're getting your current info from, but I'm extremely confident that it's wrong. If I had to guess, you have not kept up with the impact of the PREEMPT_RT patchset on the kernel, nor scheduling improvements in general, but I don't know (obviously).

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jacquesm on Wednesday September 15, 2021 @01:40PM (#28542072)
The last time that I've been actively involved with the development of real time control of time critical hardware on linux was about 2007 (very high speed stepper motor driven plasmacutter, slow down in a curve and you've ruined the workpiece), so for sure I'm out of the loop but I do have a fairly large Linux audio setup with all of the real time patches installed and clearly if it is possible to run with 64 sample buffers I have not been able to do so on my hardware, 1K really is the minimum before I get - inevitably, unfortunately - dropouts under relatively light load.

It might be worth documenting my setup (reproduced across three different machines, a laptop, an 'all-in-one' and a very beefy desktop), to see what could be improved because that difference is substantial.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jcelerier on Wednesday September 15, 2021 @04:45PM (#28544132)
> but I do have a fairly large Linux audio setup with all of the real time patches installed and clearly if it is possible to run with 64 sample buffers I have not been able to do so on my hardware, 1K really is the minimum before I get - inevitably, unfortunately - dropouts under relatively light load.

that sounds very weird, I don't even run a RT kernel and I have no trouble running at 64 with a fair amount of plug-ins and even 32 samples when I just want some live guitar effects (i7 6900k, RME multiface 2). My only configuration is installing this AUR package: https://archlinux.org/packages/community/any/realtime-privil...

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Wednesday September 15, 2021 @01:53PM (#28542201)
I've linked to it elsewhere in these comments, but this tries to describe in broad terms why any given x86* computer may not be able to meet your latency goals:

https://manual.ardour.org/setting-up-your-system/the-right-c...

There's a wide variety of reasons, all of which can interact. It's one of the few good arguments for buying Apple hardware, where this is not an issue.

Over the years I've been working on pro-audio/music creation on Linux (22+ years), I've had a couple of systems that could perform reliably at 64 samples/buffer. My current, based on a Ryzen Threadripper 2950X, can get down to 256 but not 128 or 64.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by jacquesm on Wednesday September 15, 2021 @03:09PM (#28543062)
Ok, so at a guess then that 64 is an optimum configured set of hardware bought specifically with the goal of reaching that minimum, and for more realistic 'run of the mill' hardware it would be 256 and up?

If someone were to put together a guaranteed low latency config and keep it patched using a custom distro (assuming say 'Ubuntu Studio' would not be up to the task, would there be a market for that? Are there such suppliers? What specifically is different in Apple hardware that it works there?

I read that page earlier, its helpful, but more helpful would be a shopping list that says 'get this: it will work, assuming you install this particular distro'. And after independent verification you could then add alternatives for each slot. For me for instance a big question would if NVidia video cards would break the latency guarantees (their driver is pretty opaque) by keeping interrupts masked for too long in their drivers. If that would be a deal breaker then I'd have to set up a system only for studio use.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by PaulDavisThe1st on Wednesday September 15, 2021 @03:39PM (#28543430)
The problem with "shopping lists" is that, at least in the past, it's turned out that companies like e.g. mobo manufacturers change the chipsets in the corners of these devices without even changing the product ID. If I told you a mobo to buy, there's no guarantee that you'll actually get what I was recommending.

Lots of efforts have been made over the years to create "audio PC" companies. Even with the Windows market within their intent, I don't know of a single one that has lasted more than a year or two. How much of that is a market problem and how much of it is a problem of actually sourcing reliable components, I don't know. I do know that when large scale mixing console companies find mobos that work for them, they buy dozens of them, just to ensure they don't get switched out by the manufacturer.

Apple stuff works because Apple sort of has to care about this workflow functioning correctly. There's no magic beyond careful selection of components and then rigorously sourcing them for the duration of a given Apple product's lifetime.

I have no actual evidence on the video adapter front, but my limited experience would keep me aware from NVidia if I was trying to build a low latency audio workstation. Back in the olden days (say, 2002), there were companies like Matrox who deliberately made video adapters that were "2D only, targetting audio professionals". These cards were properly engineered to get the hell off the bus ASAP, and didn't have of the 3D capabilities that audio professionals (while wearing that hat) really don't tend to need.

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by rhizome on Tuesday September 14, 2021 @10:28PM (#28534510)
Sox was a significant player in a pipeline I wrote for a YouTube-y company 15 years ago. Worked well enough to (help) get the company acquired!
Re:Bespoke Synth 1.0 – open-source software modular synthesizer by Minor49er on Tuesday September 14, 2021 @06:00PM (#28532019)
> No plug-in or DAW has a CLI

You might be interested in MrsWatson. Even though the development on it has been discontinued, there is still a lot of potential for its use:

http://teragonaudio.com/MrsWatson

Re:Bespoke Synth 1.0 – open-source software modular synthesizer by obiefernandez on Wednesday September 15, 2021 @04:45AM (#28536737)
My holy grail project sounds like something you and I could collaborate on someday. Essentially a way to represent a DAW project in plain text so it can be versioned in Git and easy to collaborate on. Happy to discuss anytime [email protected]