How To: Change Your Bike Sounds
Posted: Mon Mar 07, 2011 10:39 pm
Creating the File:
To edit the sound of your bike, you will need to make a new file. Create a new text document and name it with the bike's name, or skin name. For example, If the bike skin is called "yz125-2010 Stock-Blue.png", it will try the following files in order:
Editing the File:
Once you are done making the file, open it up with a text editor (you can do it with Notepad++, if you don't want to download it, add the .txt back to the end of the file you just made, but make sure to take it back off when you're done editing it).
Inside the file it should look like this (for example):
The first line sets delay line 0 to simulate a 1.75 foot pipe at .4 amplitude.
The second line sets lines 1-15 to simulate a 2.5 foot pipe at -.4 amplitude with the lines covering .3 feet.
The numbers are in the format of:
Pipe command has two parameters which give the first and last delay lines to affect (the start and end lines). There are 16 delay lines to adjust. Here is an explanation of what the lines do:
If anyone sees anything to change let me know .
I hope this helped some. Major thanks to jlv, who posted most of the information in this tutorial, I just put it all together.
To edit the sound of your bike, you will need to make a new file. Create a new text document and name it with the bike's name, or skin name. For example, If the bike skin is called "yz125-2010 Stock-Blue.png", it will try the following files in order:
- yz125-2010 Stock-Blue.pipeinfo
- yz125-2010 Stock.pipeinfo
- yz125.pipeinfo
- default125.pipeinfo
Editing the File:
Once you are done making the file, open it up with a text editor (you can do it with Notepad++, if you don't want to download it, add the .txt back to the end of the file you just made, but make sure to take it back off when you're done editing it).
Inside the file it should look like this (for example):
Code: Select all
pipe 1.75 0.1 0.4 0 0
pipe 2.5 0.3 -0.4 1 15
The second line sets lines 1-15 to simulate a 2.5 foot pipe at -.4 amplitude with the lines covering .3 feet.
The numbers are in the format of:
Code: Select all
pipe 'pipe length' 'line coverage length' 'amplitude' 'start line' 'end line'
A tip to not have insanely loud/messed up sounds is to make sure the absolute values of the amplitudes (of each 'pipe...' line you have) add up to less than 1. Otherwise it's going to be an amplifier and give you feedback.jlv [url=http://mxsimulator.com/benchracing3/viewtopic.php?p=158880#p158880]in the snapshot release topic[/url] wrote: Each one echoes the signal back after a delay with the given amplitude. The pipe command divides the length by the speed of sound to get the delay. When you set more than one line at a time, it spreads them out over the distance given by the silencer length which gives you a poor man's low pass filter.
If anyone sees anything to change let me know .
I hope this helped some. Major thanks to jlv, who posted most of the information in this tutorial, I just put it all together.