Train-Sim.Com
MSTS Sound Design

Poor Sampling Rate: FIXED

Poor Sampling Rate: FIXED – image 1

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #173

Charter Member · 72 posts

LAST EDITED ON Jul-20-02 AT 06:05 PM (EDT)

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).

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 288 posts

RE: Poor Sampling Rate: FIXED

LAST EDITED ON Jul-20-02 AT 09:30 PM (EDT)

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.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 325 posts

RE: Poor Sampling Rate: FIXED

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.

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured November 19, 2002. About this archive.