Try this:
# define a filename
yourdir$ = "somedir"
outputfiledata$ = yourdir$ + "somefile"
# remove it first if existing
filedelete 'outputfiledata$'
# load a sound with Big Endian format
Read Sound from raw 16-bit Big Endian file... 'your
sound file'
# generate a pitch obj
To Pitch... 0.01 75 300
# obtain the pitch value
pitch_value = Get value at time... 'your time stamp'
Hertz Linear
# write into the file
resultline$ = "'some other thing
here''tab$''pitch_value$'"
fileappend 'outputfiledata$' 'resultline$'
fileappend 'outputfiledata$' 'newline$'
# Done.
Hope it helps.
Liumei
--- asu_snehal <asu_snehal@...> wrote:
> Dear All,
>
> I am new to the group and would like to know any
> info regarding PITCH.
>
> I have a wave file which i want to analyse. I want
> to store all the
> pitch values into a text file so that for any give
> time in the wave
> file i can see what was the pitch of the speaker.
>
> Similarly i want to analyse all other parameters.
> But if i can get
> started with one i will be able to understand how it
> works.
>
> Thanks a lot
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com