Page 1 of 1

midiclock from live audio?

Posted: Wed Jan 02, 2019 11:35 pm
by dormirj
hello there,

i've been looking around for a simple way to get a working midi clock from a situation with live audio from speakers, i've so far found out about "aubiotrack", but it doesn't seem to generate a clock as far as i see it, it just sends midi-taps when it thinks a "beat" happens, and i haven't been able to work it out. what i'm looking for is something akin to "Waveclock" (http://wavesum.net/products.html), although i don't care too much if it's perfectly accurate, i'd be okay with "kinda working".

anyone ever found such a program on linux or have snapped something up in supercollider or pd?

greetings and deepest thanks;
--

Re: midiclock from live audio?

Posted: Thu Jan 03, 2019 4:11 pm
by VanHammen
bipscript is a simple music scripting language that has experimental support for beat-tracking based on the BTrack library: https://github.com/adamstark/BTrack

the script below will listen and track on an audio input named "tracking" - connect your speakers to that

give it a few seconds to sync, then start the transport via e.g. QJackCtl - MIDI beat clock comes out of the MIDI output called "clock"

bipscript install and docs: http://www.bipscript.org

Code: Select all

local input = Audio.Input("tracking")
Audio.BeatTracker(120).connect(input)

local clock = Midi.BeatClock()
Midi.Output("clock").connectMidi(clock)

System.stayAlive()

Re: midiclock from live audio?

Posted: Fri Jan 25, 2019 12:13 pm
by dormirj
very nice! thanks for this;

greetings;