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;
--
midiclock from live audio?
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 39
- Joined: Sat Aug 29, 2015 3:53 pm
- Has thanked: 9 times
- Been thanked: 6 times
Re: midiclock from live audio?
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
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()