Page 1 of 1

do we have access to the audio in a clip?

Posted: Fri Sep 18, 2009 11:08 pm
by Surreal
i was under the impression that we could use a clip like a buffer.

that may have been imagined.

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

Posted: Sat Sep 19, 2009 2:48 am
by G.
actually i thought it would be the case.
unfortunately not... (at this time ?)

g

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

Posted: Sat Sep 19, 2009 5:18 pm
by Gregory Taylor
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.

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

Posted: Mon Sep 21, 2009 2:35 am
by Surreal
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.

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

Posted: Mon Sep 21, 2009 11:10 pm
by Machinate
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?

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

Posted: Tue Sep 22, 2009 12:31 am
by Gregory Taylor
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.

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

Posted: Tue Sep 22, 2009 1:01 am
by longjohns
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

?

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

Posted: Tue Sep 22, 2009 6:01 am
by Machinate
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.

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

Posted: Tue Sep 22, 2009 6:04 am
by Machinate
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.