Search found 4 matches

by buzzbuzz
Tue Aug 19, 2008 9:32 pm
Forum: Windows
Topic: Exporting Selection Info
Replies: 8
Views: 1136

Re: Exporting Selection Info

Aha! My problem is mostly solved. First, I figured out that (snd-t0 s) works on mono but not stereo audio signals. To use stereo, you first have to split the channels into left and right. So now I get a result of 0 as expected. I still would like to get the absolute time from Audacity. I'll let you ...
by buzzbuzz
Thu Aug 14, 2008 10:35 pm
Forum: Windows
Topic: Exporting Selection Info
Replies: 8
Views: 1136

Re: Exporting Selection Info

When I ran your code, I didn't get an output of 0. The program gave me nothing - not NIL and not an error message. Just a blank text document. However, it should give zero like you said, because I agree (snd-t0 s) is just relative time. Seems like there should be some way to get the absolute time fr...
by buzzbuzz
Wed Aug 13, 2008 8:29 pm
Forum: Windows
Topic: Exporting Selection Info
Replies: 8
Views: 1136

Re: Exporting Selection Info

Thanks for your suggestion, but I'm still having problems - sorry I'm new to this. I tried the following Nyquist code to get Audacity to output the time of the first sample of my selection to a text file called "test.txt" (setq fp (open "test.txt" :direction :output)) (setf time ...
by buzzbuzz
Tue Aug 12, 2008 9:20 pm
Forum: Windows
Topic: Exporting Selection Info
Replies: 8
Views: 1136

Exporting Selection Info

Does anyone know how to export the absolute time of a selection? The following Nyquist code will export the duration to a text file, but I can't figure out how to also export the absolute times of the start and end of the selection. (setq fp (open "test.txt" :direction :output)) (setf dura...