Page 1 of 1
Player object with audioClip
Posted: Tue Nov 02, 2010 6:08 am
by luvnpeas
How can I make the source of a player object an audio clip rather than an external file? I don't want it linking to an external file that I have to include with the stack. I want all image and audio files included in the stack.
Re: Player object with audioClip
Posted: Tue Nov 02, 2010 10:32 am
by Mark
Hi luv,
Use Import as Control (in the File menu). Note that the number of formats that work as control is limited.
Best,
Mark
Re: Player object with audioClip
Posted: Tue Nov 02, 2010 5:08 pm
by luvnpeas
That won't work, because it is a midi. I can see how to play an audioClip with the play command, and how to play an externally referenced file in a player object. How do I play an audioClip (midi in Quicktime format) with a player object? Or otherwise play a Quicktime movie not as an externally referenced file, but as audio stored in the stack?
Re: Player object with audioClip
Posted: Tue Nov 02, 2010 5:16 pm
by Mark
luv,
I think you understand by now that what you want is impossible with RR/LC.
If you want to embed a sound file in your stack, you might save it in a custom property for distribution. When the stack opens on someone else's computer, write the file to the temp folder and use it from there.
Best,
Mark
Re: Player object with audioClip
Posted: Tue Nov 02, 2010 5:17 pm
by Klaus
Hi,
you can't play any not referenced file in a player object!
Import the clip into the stack, write it back to disk when necessarry (specialfoderpath("temporary")) and the set the filename of a player.
Best
Klaus