Player object with audioClip
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Player object with audioClip
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
Hi luv,
Use Import as Control (in the File menu). Note that the number of formats that work as control is limited.
Best,
Mark
Use Import as Control (in the File menu). Note that the number of formats that work as control is limited.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Player object with audioClip
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
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Player object with audioClip
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
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