Live API : Copy Paste?

Learn about building and using Max for Live devices.
3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Re: Live API : Copy Paste?

Post by 3dot... » Sat Mar 20, 2010 9:31 pm

^^ yeah.. totally agree..
I'm still learning Max/4l.. and that's the part where what's absent stands out more..
when you already 'know' the tools well .. you're more aware of the limitations.. and know where NOT to go..
yeah ..here's to hoping for an all-encompasing live platform in 2012 ( 8O ..if there is no Mayan apocalypse..)
Image

bulo
Posts: 434
Joined: Sat Sep 09, 2006 7:57 pm
Location: France
Contact:

Re: Live API : Copy Paste?

Post by bulo » Sun Mar 21, 2010 12:27 am

Keystroke emulation is easy with the aka.keyboard external. http://www.iamas.ac.jp/~aka/max/#aka_keyboard
My tongue spits english like a frog and my head is currently searching for a comprehensive language.
And I shit here

3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Re: Live API : Copy Paste?

Post by 3dot... » Sun Mar 21, 2010 8:32 am

bulo wrote:Keystroke emulation is easy with the aka.keyboard external. http://www.iamas.ac.jp/~aka/max/#aka_keyboard
..been there...
not for windows...
thx...
Image

julienb
Posts: 1843
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live API : Copy Paste?

Post by julienb » Sun Mar 21, 2010 8:41 am

I guess I'm not helping here but..
instead of always waiting for THE tool that fits exactly our need, consider to use mouse for this very easy copy/paste. no?
I mean, API is nice. But it must not be the thing that polarize us on it.
screen/mouse are very fine for a lot of operation.
we can try to:
- twist the tool (it could work!)
- ask new feature (it is interesting too)
but we don't have to forget basic interface can be use at the same time.



(those who know me know well I'm still VERY interested by new feature, testing thing, customizing etc... I just want to add my 2 cents here about using interfaces)
Julien Bayle
Art + Teaching/Consulting

Ableton Certified Trainer
Max Certified Trainer


Structure Void / Ableton Certified Training Center

bulo
Posts: 434
Joined: Sat Sep 09, 2006 7:57 pm
Location: France
Contact:

Re: Live API : Copy Paste?

Post by bulo » Sun Mar 21, 2010 10:41 am

Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.
My tongue spits english like a frog and my head is currently searching for a comprehensive language.
And I shit here

julienb
Posts: 1843
Joined: Sat Oct 29, 2005 1:15 pm
Location: France
Contact:

Re: Live API : Copy Paste?

Post by julienb » Sun Mar 21, 2010 10:45 am

bulo wrote:Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.
workaround or not workaround?! :)

I'm kidding!
Julien Bayle
Art + Teaching/Consulting

Ableton Certified Trainer
Max Certified Trainer


Structure Void / Ableton Certified Training Center

3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Re: Live API : Copy Paste?

Post by 3dot... » Sun Mar 21, 2010 12:45 pm

bulo wrote:Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.
hmmm... I'll try it when I get home ..THANKS !

hit me up if you have other suggestions..
I'm sure it's doable using the Java classes..maybe with 'processing'..
but that will require a weekend to research this..
maybe someone can come up with a windows native solution like aka.keyboard using C/C++..
Image

bulo
Posts: 434
Joined: Sat Sep 09, 2006 7:57 pm
Location: France
Contact:

Re: Live API : Copy Paste?

Post by bulo » Sun Mar 21, 2010 1:56 pm

bulo wrote:
Maybe you can do a keyboard simulator with the "spell" object?
I'm at work, so I didn't try yet.

Quote:
http://cycling74.com/docs/max5/refpages ... spell.html


workaround or not workaround?!

I'm kidding!
Oh yeah, ok!
Mmm...that's gonna be painfull :lol:

I remember someone post a clip deleter m4l device for windows; but it probably needs a midiyoke also. I don't remember well, but it's on maxforlive.com
My tongue spits english like a frog and my head is currently searching for a comprehensive language.
And I shit here

Twigg
Posts: 41
Joined: Mon Jul 25, 2005 6:57 am

Re: Live API : Copy Paste?

Post by Twigg » Sun Mar 21, 2010 11:08 pm

bulo wrote:Keystroke emulation is easy with the aka.keyboard external. http://www.iamas.ac.jp/~aka/max/#aka_keyboard
Though thisvis cool, and I wish it worked for windows, it does however not address the VERY first point when I started this post.

There is a 100% crash in M4L when you use Copy/Paste via Ctrl-C/Ctrl-V.
However if you use Mouse and do Ctrl/drag and drop, it will copy successfully.

Any form of keyboard emulation is useless. I need a direct API call to circumvent the whole copy paste. The api is good but it doesn't support New Clip, or Copy Envelopes...

bulo
Posts: 434
Joined: Sat Sep 09, 2006 7:57 pm
Location: France
Contact:

Re: Live API : Copy Paste?

Post by bulo » Mon Mar 22, 2010 12:28 am

it does however not address the VERY first point when I started this post.
Oh yes, sorry. I've totally miss that. Plus, I had switched on 3dot...'s problem. :)
Actually, I didn't even notice you were here :lol:
:arrow:

(Why do you need to switch to midi map mode just after copying a midi clip? Is the crash also happen if you're doing things between the cmd-C and cmd-M?)
Edit: Ok; I've just try and... it's a very annoying bug! And to answer my own question... it also crashes when the cmd-C cmd-M are not consecutive.
It's a big fucking bug.
My tongue spits english like a frog and my head is currently searching for a comprehensive language.
And I shit here

Twigg
Posts: 41
Joined: Mon Jul 25, 2005 6:57 am

Re: Live API : Copy Paste?

Post by Twigg » Mon Mar 22, 2010 3:55 am

bulo wrote: It's a big fucking bug.

Ya. Once you press ctrl-c, its a ticking time bomb until you hit ctrl-m to chamge your assignment which I do all the time.

Post Reply