[LAU] Auto-fitting loops [WAS:] Qtractor 0.1.3 (frugal damsel) released!

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux audio users <linux-audio-user@...>
Date: Sunday, May 4, 2008 - 8:57 am

Rui Nuno Capela wrote:

> when you import (or drop) a new audio file into the qtractor time-line,

I don't know if you're at all into blue/csound, but I did an instrument
called BeatPlayer, which automatically fits loops to the tempo of a
tune. You can check it out in blue share (if you have blue running).

Anyways the idea is pretty simple:

1) For this to work the loops you want to auto-fit must be truncated to
1, 2, 4, 8 etch bars (1/2 and 1/4 etc is ok too). Also I have a tempo
threshold which I set to 160, meaning the beats must be between 80 and
160 BPM (most of my beats are). Thoughout I'll asume 4/4 meter.

2) Supposed you have a 1 bar beat at 80BPM, sampled at 44.1, this will
be 60/80 * 4 * 44100 = 132300 samples long. Two bars will be 264600
samples, four bars 529200. This means that any 44100 beat fitting 1) and
beeing between 132300 and 264600 samples long will be one bar, and if
it's between 264600 and 529200 samples it will be two bars, etc.

3) Using 2) you can guess the number of bars (1/4, 1/2, 1, 2, 4, 8, etc)
and based on that and the length (and samplerate) you can calculate the
original BPM, and then you can figure out how much the beat needs to be
"transposed" or "stretched" fo fit the current tempo.

It's really a quite simple idea and it works very well.

Maybe something along these lines could be integrated into your program,
it sounds like it's what people are asking for...

Just my .02 :-)

--
peace, love & harmony
Atte

http://atte.dk | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Florian Schmidt, (Fri May 2, 3:59 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Fri May 2, 5:16 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Florian Schmidt, (Sun May 4, 1:24 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sun May 4, 2:51 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Russell Hanaghan, (Fri May 2, 7:45 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sat May 3, 2:03 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Russell Hanaghan, (Fri May 2, 8:33 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Fri May 2, 7:21 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sat May 3, 1:13 pm)
[LAU] Auto-fitting loops [WAS:] Qtractor 0.1.3 (frugal damse..., Atte André Jensen, (Sun May 4, 8:57 am)
Re: [LAU] Auto-fitting loops [WAS:] Qtractor 0.1.3 (frugal d..., Atte André Jensen, (Sun May 4, 4:24 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Pieter Palmers, (Sat May 3, 1:57 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sat May 3, 2:12 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sat May 3, 11:19 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sun May 4, 12:59 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sun May 4, 5:24 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sun May 4, 7:06 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Rui Nuno Capela, (Sun May 4, 12:07 pm)
Re: [LAU] [LAA] Qtractor 0.1.3 (frugal damsel) released!, Anders Dahnielson, (Sat May 3, 2:32 pm)