trigger clips via audio level?

Learn about building and using Max for Live devices.
Post Reply
badkop
Posts: 23
Joined: Mon Sep 10, 2007 11:03 pm

trigger clips via audio level?

Post by badkop » Sat Oct 30, 2010 8:13 pm

Hi all

I'm wondering if someone has gone ahead an made a patch for this (honestly I don't have the programming chops yet, still a beginner):

I'd like to be able to (randomly) switch between audio clips on a track by using an audio input (microphone).
So if for example I thump the table that the mic is on, the current audio clip changes. I imagine the best way in is to look at targeting the follow actions for the clips or something, but beyond that don't really know where to start.

I guess there might be a way to do this without even using Max, but I'm stumped.

Any suggestions or pointers appreciated.

Cheers

Paul

badkop
Posts: 23
Joined: Mon Sep 10, 2007 11:03 pm

Re: trigger clips via audio level?

Post by badkop » Sun Oct 31, 2010 2:08 am

Hi Peter

Yeah I have M4L but not the skills:)
Was wondering if someone has already beaten me to it.

Cheers

Paul

olivierseb
Posts: 230
Joined: Sun Dec 11, 2005 8:52 pm
Location: FRANCE
Contact:

Re: trigger clips via audio level?

Post by olivierseb » Sun Oct 31, 2010 3:15 am

badkop wrote:Hi Peter

Yeah I have M4L but not the skills:)
Was wondering if someone has already beaten me to it.

Cheers

Paul
Hi Paul,

yes, this possible, AFAIR someone made a m4L device to trigger Record via audio in
Have a look on this forum or at http://www.maxforlive.com/index.php

olivier
Image

MacBookPro17", mac OS 10.6.2/RME FF400 & FF800
http://www.olivierseb.com

Max for Live training sessions in Paris @
http://www.apaxxdesigns.com/

Max for Live training sessions in Rennes @
http://www.intouchmedia.fr

ppm4l
Posts: 7
Joined: Thu Jul 29, 2010 3:08 pm

Re: trigger clips via audio level?

Post by ppm4l » Sun Oct 31, 2010 9:24 am

you just need a basic envelope follower connected to the correct LOM commands to clip-switch/launch. everything is actually ready for you in m4l examples. e.g. Max5/patches/m4l-patches/Tools reources/M4L.envfol~.maxpat and then the built in m4l lessons in live also have some clips plumbing.

this device does not do what you want, but does do the first bit very well:

http://www.maxforlive.com/library/device.php?id=251

... will be updated soon i hope...

in the meantime, a bit of hacking and patching and you are away.

hth

badkop
Posts: 23
Joined: Mon Sep 10, 2007 11:03 pm

Re: trigger clips via audio level?

Post by badkop » Mon Nov 01, 2010 2:33 pm

Thanks to both of you. I'll get digging into the m4L examples and see what I can do...

Paul

Post Reply