Move audio clip to another stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
Move audio clip to another stack
I have a stack with an audio clip that I want to use in another stack- but I can't find my original audio file-
Is there a way to export/extract the resource, or copy it to the other stack?
Thanks.
Ron
Is there a way to export/extract the resource, or copy it to the other stack?
Thanks.
Ron
It's been ages since I used clips, but they're considered objects, so all object manipulation tasks should be possible on them, including "copy" and "clone".
As for exporting, I don't know a build in way, but there are applications that can insert themselves into the audio output and record any sound coming out of the speakers, for example "Audio Hijack" for Mac OS X.
As for exporting, I don't know a build in way, but there are applications that can insert themselves into the audio output and record any sound coming out of the speakers, for example "Audio Hijack" for Mac OS X.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Hi Ron,
Try this:
(where you have to replace <path to a new file> with a valid file path). Now you can import this file into any other stack.
It would, indeed, also be possible to copy or clone an audio or video clip.
Best,
Mark
Try this:
Code: Select all
put the text of audio clip "blabla" into url "binfile:<path to a new file>"
It would, indeed, also be possible to copy or clone an audio or video clip.
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
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
I'm trying that
when I use:
put the text of AudioClip "Open.wav" into URL "binfile:/Open2.wav"
I get:
Message execution error:
Error description: Object: object does not have this property
When I use:
put AudioClip "Open.wav" into URL "binfile:/Open2.wav"
It produces a file, but it is a Text file with the same content as the message used:
Yes, I can capture it with WireTap Pro or SnapZ, etc. but I'd like to figure out how to move them.
put the text of AudioClip "Open.wav" into URL "binfile:/Open2.wav"
I get:
Message execution error:
Error description: Object: object does not have this property
When I use:
put AudioClip "Open.wav" into URL "binfile:/Open2.wav"
It produces a file, but it is a Text file with the same content as the message used:
I tried to use copy, but the only place I can access/see it is in the Application Browser and there is no Copy function there (grayed out) (AudioClips have no user interface)put AudioClip "Open.wav" into URL "binfile:/Open2.wav"
Yes, I can capture it with WireTap Pro or SnapZ, etc. but I'd like to figure out how to move them.
Hi Ron,
You're right, you can' export audio clips, only video clips. I have posted a bug concerning this problem http://quality.runrev.com/qacenter/show_bug.cgi?id=7515
With being able to copy, we mean that you can use the copy command. We don't mean that you can select Copy from a menu.
This should work. You can execute it from the message box or a script.
Best,
Mark
You're right, you can' export audio clips, only video clips. I have posted a bug concerning this problem http://quality.runrev.com/qacenter/show_bug.cgi?id=7515
With being able to copy, we mean that you can use the copy command. We don't mean that you can select Copy from a menu.
Code: Select all
copy audioClip 1 to stack "A new stack"
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
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
Tried it
Gee, that was easy! 

The hard part is always finding the right command, or if there is none to do the task. The simple part is using the command, and the extremely hard part is to make your own when there is none 

Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode