Single File Details
Mark Smith
lists at futilism.com
Fri Feb 27 15:52:57 EST 2009
Len, I have a stack that reads the headers of WAV, AIFF, AU and SD2
files and gives you an array of the various audio properties - sample
rate, number of channels etc. If that would be useful to you, it's here:
http://maspub.s3.amazonaws.com/audiofileinfo.zip
Best,
Mark
On 27 Feb 2009, at 18:45, len-morgan at crcom.net wrote:
> I can't seem to find a command for this:
>
> I want to get a list of files to be converted (they happen to be
> wav files
> but it doesn't really matter). As I go through each file in the
> list, I
> want to be able to update a progress bar that indicates how far
> through
> the list I am and another one that indicates how far through the
> current
> file I am.
>
> The first requirement was easy and is working. I need to be able
> to find
> out the file size so I can calculate the current progress in that one
> file. I know I can use "the detailed files" to get all of the info
> on all
> of the files in the default directory but is there something that will
> allow me to get just the information on a single file?
>
> I am currently using "answer file" to get the list of files
> (returns one
> per line) so I COULD get the detailed files from that since they
> will only
> be allowed to select files from a single directory at a time (that
> IS true
> isn't it?).
>
> Any ideas would be appreciated.
>
> While I'm here.... :-) , has anyone written scripts that will read
> through
> and process a wav file and would be willing to share what they've
> learned?
> Might save me some time. If not, I'll contribute what I end up
> with when
> I'm done.
>
> len morgan
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list