PDA

View Full Version : Poor Sampling Rate: FIXED



Waterbool
07-20-2002, 06:04 PM
I dont know if anyone has posted solution for this but I post it anyway.
IF you have for example horn sound recorded with 44khz you will see/hear how that sound file suffers when it is converted to 11khz. But I have(maybe someone else has too)invented solution, thanks to Ville Saarelainen who gave the original idea.
This is from my Dv12 locomotive that uses 44khz inside horn sound:
Stream (

Priority ( 6 )
Triggers ( 2
Discrete_Trigger ( 8 StartLoopRelease ( 1 File ( "dv_horn1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )

Discrete_Trigger ( 9 ReleaseLoopReleaseWithJump () )
)
FrequencyCurve(
Variable2Controlled
CurvePoints ( 3
0.000 44100
0.500 44100
1.000 44100
)
Granularity ( 100 )
)
)

As you can see I have added FrequencyCurve to it
and changed all 11025 and 12000's to 44100.
I hope you got what I mean. I am not sure how many CurvePoints are necessary but I one isnt enough(I have tested).

chuckzeiler
07-20-2002, 09:26 PM
Now we need someone who is computer savvy to tell us what the hit is on memory. Extra samples, extra CPU time.

Edit
And what is Granularity (100). I don't know what that controls.

SP9800
07-24-2002, 08:21 PM
You only need two curve points. Remove the middle one and change the 3 to a 2.

I believe Granularity specifies the smoothness of the curve.