ELI5 : Arabic rhythms

I only really know music from the Western tradition, and I'm struggling to understand how the approach of the Arab world (in its huge variation) differs.

For context, I experiment with music. Recently I've spent a lot of time making VST plugins, many of them generative. ( https://danja.github.io/downspout/ ).

One of the experiments (below) has made me curious how Arabic rhythms differ from, say, regular polyrhythms/polymeters (which they kinda sound like). Wikipedia/Googling gives me the impression that it's done more like from a playbook - there are a bunch of known preset beats (plus improvisation).

I'd like to somehow get a VST to generate in this style, but I don't get it yet.

Yesterday I was playing with a setup that boiled down to a rhythm generator plus melody generator plus some harmony.

I'd chosen to use a Phrygian Dominant scale, so already the result had an exotic (to me) feel.

The drum beat I had was very much 4/4 based, basically EDM.

But what I hadn't noticed when I pressed play was that I'd accidentally left a loop section in the DAW - random amount, about a bar and a half. When that hit the whole nature changed. The whole thing sounded straight from Morocco or somewhere.

Rather than wait for happy accidents, I'd like to be able to get that kind of result intentionally.

reddit.com
u/danja — 3 days ago
▲ 10 r/VSTi

What does a good sampler look like?

For background, I'm old enough that I remember Fairlights being a thing. (I became a coder around the same period).

I've got a bloody awful hardware sampler, Akai MPX8, and loads of alternatives in the box. I run Reaper so there's the gloriously named ReaSampleOMatic5000 (right?) and confusing scripts. But all these things seem really, really clunky in operation.

But I've been working on plugins a lot recently, for my own enjoyment - mostly generative, experimental things. It only occurred to me the other day that a major thing lacking from my home studio is a decent sampler (sic). So it's time I made one.

Right now it's minimal pre-release quality, but all open source so you might as well have the link : https://danja.github.io/downspout/plugins/campione/ (bookmark now, look in a few months).

What I'd like advice on is your experiences of a *good* sampler, if such a thing exists already. What does it do that pleases you? If you have a *bad* sampler, what should it do that it doesn't?

I know the immediate thing is, if there is a sound on the wire or a field recording/commercial pack file somewhere, it should be possible just to drop it in without thinking, either get a per-midi note one shot drum or whatever, or one or more tonal sounds that place themselves on the keyboard with pitch control. Basic editing for sure, so you don't have to spend an hour with Audacity just to normalise a cowbell.

Though I am wary of scope creep (I do have AI assisting me with the code, so it's very easy to go off on a tangent). Where should the sampler functionality stop when it comes to granular & wavetable synthesis, delay/looping? Or do you think, same infrastructure, make space for them as well?

Imagine your ideal sampler. Tell me what it looks like please.

reddit.com
u/danja — 5 days ago

Bread stamp

I'm sorry, I don't have a pic of the carving. But about 5 years ago my neighbour got wind that I did woodcarving. They had a stamp, "SRC" that goes into bits of dough, to make tiny bread offerings. It must have dated from about 1700, this stump of chestnut wood, totally frayed after annual use, hardly anything left.

Fortunately I'd collected some nice pieces of boxwood when a neighbour cut down a hedge.

Apparently it still works.

San Rocco is the patron saint of dogs, btw, I strongly recommend his story if you want a canine uplift.

u/danja — 8 days ago

Which bands currently do old school?

I do like the NiN/Skinny Puppy style material, (and Black Sabbath) but the industrial I originally love is that of TG, Cabaret Voltaire, Nocturnal Emissions, SPK.

Who is doing the dangerous material these days?

reddit.com
u/danja — 8 days ago

The joy of generative

Of all subs, this must be the most exacting for the sounds you produce. But I got increasingly bored of the sequences I was making, either through keyboard or note by note in the DAW. Also effects and mixing.

So I got coding. With significant help from AI on several levels.

Don't get me wrong, GPT-generated slop will always be disappointing slop. Having it do everything is the dullest approach.

So I've been playing with generative VST plugins, which has been interesting. Made loads (with that AI assistance). I have no guarantee that they will work on any other setup than my own, but even if these things don't work for you out of the box, I recommend your own exploration.

https://danja.github.io/downspout/

I've also put together a Generative Audio Workstation, but this currently is Linux-only.

https://github.com/danja/transmission

So rather than trying to invent a tune from scratch, you use patterns that are known to work. Folks like Bach, Beethoven, their music is ever so algorithmic. So why not embrace it?

This solo jam yesterday has aspects I'd like to show. I started with a Phrygian Dominant scale, the result is kinda acid house, as played at a Jewish wedding :

https://youtu.be/qVaDCrCZ7S4?is=efQIrG0FOgTq2HAw

reddit.com
u/danja — 8 days ago

I make things for my future self

I was late diagnosed ADHD. Always had this funny little trait. Make something for myself, for tomorrow. Tools usually.

But ideas. Set things up for myself.

Very self-centred. A lot of fun since I realized it was one of my neuroquirks.

I write software in the office that I piss about to in the music to m.

Does anyone else make treats for their future self?

https://youtu.be/qVaDCrCZ7S4?is=jrxTrpr73tnBPzFM

u/danja — 8 days ago

Forums for discussion of research?

This sub only accepts posts related to published, peer-reviewed papers. I am doing legitimate research but it is still very early days, there's unlikely to be a paper for a year or two. But exactly because the project is young, suggestions and advice from the community could be very useful.

So where do people discuss these things?

reddit.com
u/danja — 10 days ago

Envelope follower - it worked!

Against all the odds. The design came straight out of op amp data sheets (3xTL072). There isn't a zener on the input.

In the rack, with drum machine input, outputs attached to a Rings, ADSR & VCA : https://youtube.com/shorts/Sy0-VKIavtg

u/danja — 10 days ago
▲ 11 r/modular

Probability

That this envelope follower won't work.

u/danja — 14 days ago
▲ 17 r/EuroPi+1 crossposts

Fully Assembled EuroPi Stock

For the first time ever the EuroPi is now available as a fully assembled module directly from Allen Synthesis!

  • Raspberry Pi Pico 2 included
  • Pre-loaded with the full menu system (50+ scripts)
  • Fully calibrated
  • Aluminium panel with colour print
  • Adafruit STEMMA compatible I²C port

Available at allensynthesis.co.uk

u/allensynthesis — 14 days ago
▲ 26 r/AudioProgramming+2 crossposts

Transmission : a Generative Audio Workstation

First let me make clear that this is *not* an entirely AI-driven system like Suno etc, though AI can be used with it (via MCP).

https://github.com/danja/transmission

At its core is a graph-oriented VST3 host system, essentially a stripped-down DAW with emphasis on modular configuration of plugins. In use you add and connect plugins in the window using the mouse. You can also access the parameters of the individual plugins.

I have been experimenting with generative plugins recently, which I usually use with Reaper. For example, with Bassgen you pick a style, scale and other parameters and it automatically outputs a MIDI bass line.

https://danja.github.io/downspout/

This led me to look at other DAWs (in part to figure out how to build for Windows & MacOS). Which in turn led me to wonder what a generative system would look like, built from scratch.

The RDF-based graph model was derived from a previous project I had, designed for text processing. That was manually coded, but I have made extensive use of AI assistance (Codex) in developing this. So it's *not exactly* vibe coded.

Although I did ask AI to suggest & build additional plugins that would work well in this system. 10 new plugins, most pretty awful, all will need a lot of attention to be useful...

It's very new, so I am looking for ideas to take it forward, suggestions welcome.

u/danja — 19 days ago

Free Windows DAW that will run on Wine?

I have some VST plugins in development and am trying to make them cross-platform, but I only have Linux machines.

I've got GitHub workflows doing the builds for Windows & MacOS. I've had reports of limited success on Windows, would like to be able to do more testing locally.

I do plan to somehow get Windows running properly somewhere, but in the interim having a DAW on Wine seems like a way I can do partial checks without hopping OS.

In case anyone's interested, the plugins are here (only properly tested on Reaper on Ubuntu) :

https://danja.github.io/downspout/

reddit.com
u/danja — 25 days ago

Starter patch, from/to files?

I only just discovered TD was available on Linux (1) so am a total noob. But I get the idea of Operators and signal flow etc.

What I would like to do is take a pre-existing audio file and a video file, run these through effects and output a combined video+audio file.

But after a couple of hours hunting and trial and error I haven't been able to find Operators that offer the right kind of I/O connectors.

Just the names of the relevant Operators will probably be enough to get me past this mini-block, but any other tips appreciated.

  1. https://github.com/iswad-lab/TouchDesigner-Linux
u/danja — 25 days ago