Beat detection to MIDI

Discussion of Digital Performer use, optimization, tips and techniques on MacOS.

Moderator: James Steele

Forum rules
This forum is for most discussion related to the use and optimization of Digital Performer [MacOS] and plug-ins as well as tips and techniques. It is NOT for troubleshooting technical issues, complaints, feature requests, or "Comparative DAW 101."
Post Reply
EveningSky
Posts: 21
Joined: Wed Jan 24, 2007 4:02 pm
Primary DAW OS: MacOS

Beat detection to MIDI

Post by EveningSky »

Hello MOTUnation,
Is it possible to use Beat detection to create a MIDI file of the syncopation of an audio file, and then use that syncopation in the form of a MIDI file to create a MIDI percussion accompaniment file?
I am working with DP7.
Thank you,
ES
DP7.24, Mac Pro 2.8GHz Xenon, 828MKII, Logic 8, OSX.6
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Beat detection to MIDI

Post by FMiguelez »

Huh?

What do you mean by "syncopation of an audio file"??? :?

Please clarify what you want to do.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
EveningSky
Posts: 21
Joined: Wed Jan 24, 2007 4:02 pm
Primary DAW OS: MacOS

Re: Beat detection to MIDI

Post by EveningSky »

Detect beats in my song with a beat detection algorithm, and create a MIDI file using the beat detection data so that I can apply a MIDI drum module and add percussion.
DP7.24, Mac Pro 2.8GHz Xenon, 828MKII, Logic 8, OSX.6
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Beat detection to MIDI

Post by FMiguelez »

Oh. I see. I couldn't see what "syncopation" had to do with this.

Well, you can certainly use Beat Detection for what you want. It might or not work depending on the music that would be analyzed by DP. The more rhythmic it is, the more accurate everything will be.

Personally, I'd rather use Record Beats (coarse) and then Adjust Beats (fine) if necessary, particularly if the tempo is not steady throughout the song.

There's an encyclopedic thread about Beat Detection, where our own Magic Dave from MOTU talks about this at length and with great detail. It's quite old, but I'm sure you can find it using the Search feature. It might even be in the DP Tips Sheet thread (it's a sticky somewhere up there).
There's also the manual...
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
Shooshie
Posts: 19820
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Dallas
Contact:

Re: Beat detection to MIDI

Post by Shooshie »

The post by Magic Dave is in the Tips Sheet, here.

Shooshie
|l| OS X 10.12.6 |l| DP 10.0 |l| 2.4 GHz 12-Core MacPro Mid-2012 |l| 40GB RAM |l| Mach5.3 |l| Waves 9.x |l| Altiverb |l| Ivory 2 New York Steinway |l| Wallander WIVI 2.30 Winds, Brass, Saxes |l| Garritan Aria |l| VSL 5.3.1 and VSL Pro 2.3.1 |l| Yamaha WX-5 MIDI Wind Controller |l| Roland FC-300 |l|
User avatar
stubbsonic
Posts: 5150
Joined: Fri Dec 22, 2006 12:56 pm
Primary DAW OS: MacOS
Contact:

Re: Beat detection to MIDI

Post by stubbsonic »

If your project is already "resolved" to the click, and what you want to do is extract various rhythms from an audio track-- i.e., as MIDI notes-- you could use various filters to isolate the frequencies (i.e. Kick?)-- and possibly use a gate-- then use the TRIGGER audio plug in to generate notes that you record to another track.

I've not used it in a while, and can't remember how to send the notes to a specific channel, or assign as an input. I could look in the manual, but I'd hate to ruin it for you. 8)
M1 MBP; OS 15.3, FF800, DP 11.33, PC3K7, K2661, iPad6, Godin XTSA (w/ SY-1000), 2 Ibanez 5-string basses (1 fretted, 1 fretless), FX galore

http://www.jonstubbsmusic.com
EveningSky
Posts: 21
Joined: Wed Jan 24, 2007 4:02 pm
Primary DAW OS: MacOS

Re: Beat detection to MIDI

Post by EveningSky »

Thank you to all for your responses.

Stubsonnic, you appear to describe what I want to do. I would so much like to exploit the Beat Detection Analysis to trigger drum samples, but alas, DP does not appear to offer that ability (at least in current form).

Is there a 3rd party SW package which would do that, such as some of the MIDI drum packages on the market?

It is a shame IMO, because on my curent "OPUS" beat detection appears to very nicely identify many well placed "beats".

Frustration!!!

Yours,
ES
DP7.24, Mac Pro 2.8GHz Xenon, 828MKII, Logic 8, OSX.6
User avatar
stubbsonic
Posts: 5150
Joined: Fri Dec 22, 2006 12:56 pm
Primary DAW OS: MacOS
Contact:

Re: Beat detection to MIDI

Post by stubbsonic »

For the sake of clarity, instead of thinking of "beats" as "drum hits," think of them as marks on a time ruler. Beat detection is looking at attack transients and sticking little specialized markers there.

If you want to take a rhythmic audio track and exploit it to create MIDI tracks, than the process I described will work for complex audio (like a drum track, or a rhythm gtr, or full mix). Essentially, you can use a filter or EQ to narrow down the frequency (for a particular part, or pass), then run that filtered audio signal into the Trigger plug in. You can repeat that process for different frequency bands.

There may be some other ways within DP.

If the audio is melodic and monophonic, you can use DP's pitch engine to create a MIDI track. If it is harmonic (polyphonic) but a single instrument (like piano or some guitar) you can pony up for a version of Melodyne that includes DNA (direct-note access-- polyphonic pitch detection). That can create MIDI as well.
M1 MBP; OS 15.3, FF800, DP 11.33, PC3K7, K2661, iPad6, Godin XTSA (w/ SY-1000), 2 Ibanez 5-string basses (1 fretted, 1 fretless), FX galore

http://www.jonstubbsmusic.com
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Beat detection to MIDI

Post by FMiguelez »

I personally think it's quite simple. It's just a matter of picking the right tool for the job.

If it's something with clear rhythmic shapes, with clear attacks, Beat Detection can work.
But if it's melodic, sustained, or polyphonic stuff with no clear rhythms, then Record Beats works best (pianos, guitars, etc), especially if all one wants is to create an artifact-free tempo track.

My two cents.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
Post Reply