midiclock from live audio?

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
dormirj
Established Member
Posts: 58
Joined: Thu Jul 20, 2017 9:13 am

midiclock from live audio?

Post 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;
--

VanHammen
Established Member
Posts: 19
Joined: Sat Aug 29, 2015 3:53 pm

Re: midiclock from live audio?

Post 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()

dormirj
Established Member
Posts: 58
Joined: Thu Jul 20, 2017 9:13 am

Re: midiclock from live audio?

Post by dormirj »

very nice! thanks for this;

greetings;

Post Reply