deleting and audio file

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
herbwords
Posts: 70
Joined: Sat Dec 01, 2007 2:59 am

deleting and audio file

Post by herbwords » Fri Feb 26, 2010 12:32 am

how do you delete a Control(audio file) you've imported into a stack?

Regulae
Posts: 136
Joined: Tue Oct 20, 2009 6:05 am

Re: deleting and audio file

Post by Regulae » Fri Feb 26, 2010 5:52 am

Go to the menu bar and under “Tools”, open the “Application Browser”. Scroll down to find your stack listed, which will list the cards, AudioClips and VideoClips. If you click “AudioClips”, in the right pane you should see listed those imported in your stack. I’m using Windows, so a right mouse button on an audioclip title brings up a menu, with “Delete” on it. You can also note the ID number, and type in the message box “delete audioclip id ????”, (???? being the id number of the clip). Hope that helps.

Regards,

Michael

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: deleting and audio file

Post by Klaus » Fri Feb 26, 2010 11:24 am

Hi Regulae,
...
delete ac "name of audioclip here"
...
will also work.


Best

Klaus

herbwords
Posts: 70
Joined: Sat Dec 01, 2007 2:59 am

mp3 files

Post by herbwords » Fri Feb 26, 2010 6:01 pm

delete ac "clipName" - worked fine. I have a Mac and you can usually just hilite the clip name and hit delete.

Also, why can't we use mp3 files? They are so much smaller then aif or wav?

thanks

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Re: deleting and audio file

Post by Janschenkel » Fri Feb 26, 2010 6:45 pm

MP3 is unfortunately a patent mine field - if RunRev were to add it directly to the revPlatform, they would have to pay license fees.
It would be nice if they added support for patent-free formats such as Ogg Vorbis and Theora, but I'm not sure this would be seen as high-priority.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply