So I need to make a script that will be able to easily extract the first 10 seconds of audio from an audio file.
I found this on the web, after looking for "extract first 10 seconds of audio"
but it doesn't work, since it's for Ti.Media (whatever that is):
var sound = Ti.Media.createSound({
sound: file,
duration: 10
});
→ error: couldn't write the class name after this identifier.
I want to extract the first 10 seconds of classical songs, and be able to recognize the composer and title in Anki. ^^
Anyone has any knowledge about scripts?
Cheers!
-Mesqueeb
Last edited by Mesqueeb (2011 December 16, 2:39 am)