do we have access to the audio in a clip?

Learn about building and using Max for Live devices.
Post Reply
Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

do we have access to the audio in a clip?

Post by Surreal » Fri Sep 18, 2009 11:08 pm

i was under the impression that we could use a clip like a buffer.

that may have been imagined.

G.
Posts: 82
Joined: Mon Nov 19, 2007 10:44 am
Location: Paris

Re: do we have access to the audio in a clip?

Post by G. » Sat Sep 19, 2009 2:48 am

actually i thought it would be the case.
unfortunately not... (at this time ?)

g

Gregory Taylor
Posts: 268
Joined: Tue Sep 01, 2009 3:11 pm

Re: do we have access to the audio in a clip?

Post by Gregory Taylor » Sat Sep 19, 2009 5:18 pm

You can certainly drag clips out of the Live.browser onto a dropfile object and load them into a Max buffer~ object (see the LoopShifter if you'd like to see a patch that implements that). Since you can do that, you can certainly also drag something out of the looper as a Sample and then dump that into a buffer. I just did it.

When you think of using the Live API in the current version of Max for Live, you should generally ask yourself something like, "Can I currently do this when using a hardware controller?" as a guide/rule of thumb to what - in the present situation - is possible.

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: do we have access to the audio in a clip?

Post by Surreal » Mon Sep 21, 2009 2:35 am

OK...that is a good sign...actually, you are right. what i want to do is monitor what clip is playing in a track and grab that clip for mangling. and that seems possible based on what you outline. worst case scenario...i use a mouse i guess.

Machinate
Posts: 11648
Joined: Thu Jun 24, 2004 2:15 pm
Location: Denmark

Re: do we have access to the audio in a clip?

Post by Machinate » Mon Sep 21, 2009 11:10 pm

okay, so we have two "sections" here:

1: We can *drag* a clip to the dropfile object and get the audio location that way.

2: We can "look inside" clips from the live.* objects

- can we combine those?

Do number one without having to drag? Simply by playing the clip we get the location?
mbp 2.66, osx 10.6.8, 8GB ram.

Gregory Taylor
Posts: 268
Joined: Tue Sep 01, 2009 3:11 pm

Re: do we have access to the audio in a clip?

Post by Gregory Taylor » Tue Sep 22, 2009 12:31 am

Unless I'm seriously misunderstanding you, no. You can't have 'em both - at this point in time. While I can see why you'd like to to do it, again - you need to be thinking of a hardware controller for the initial Live API stuff. The list of the things you can do are all in that Live Object Model ref page. If it's not there, you can't do it.

longjohns
Posts: 9088
Joined: Mon Dec 22, 2003 3:42 pm
Location: seattle

Re: do we have access to the audio in a clip?

Post by longjohns » Tue Sep 22, 2009 1:01 am

can you achieve some of this by sacrificing a physical soundcard in/out?

e.g. have a track in live dedicated to being a "max buffer" which routes to a physical out, and your max patch reading from a particular input?

latency issues assumed to be surmountable in some way or other

?

Machinate
Posts: 11648
Joined: Thu Jun 24, 2004 2:15 pm
Location: Denmark

Re: do we have access to the audio in a clip?

Post by Machinate » Tue Sep 22, 2009 6:01 am

longjohns wrote:can you achieve some of this by sacrificing a physical soundcard in/out?

e.g. have a track in live dedicated to being a "max buffer" which routes to a physical out, and your max patch reading from a particular input?

latency issues assumed to be surmountable in some way or other

?
that would be making it too complex: you can read audio directly from the track with the audioin - what I'm looking to do is the same things the dropbox device does.
mbp 2.66, osx 10.6.8, 8GB ram.

Machinate
Posts: 11648
Joined: Thu Jun 24, 2004 2:15 pm
Location: Denmark

Re: do we have access to the audio in a clip?

Post by Machinate » Tue Sep 22, 2009 6:04 am

Gregory Taylor wrote:Unless I'm seriously misunderstanding you, no. You can't have 'em both - at this point in time. While I can see why you'd like to to do it, again - you need to be thinking of a hardware controller for the initial Live API stuff. The list of the things you can do are all in that Live Object Model ref page. If it's not there, you can't do it.
:cry:

Well, consider this a feature request:
"Get filepath for currently playing audio clip" - I'd reckon a merger between live.drop and observer.
mbp 2.66, osx 10.6.8, 8GB ram.

Post Reply