8,184
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
|width=50% valign=top| | |width=50% valign=top| | ||
: .wav | : .wav | ||
: 22.05KHz (mono / stereo) or 44.1KHz (mono) | |||
: 22.05KHz / 44.1KHz | : uncompressed (PCM) or compressed (MS-ADPCM) | ||
: uncompressed (PCM) | |||
|valign=top| | |valign=top| | ||
: .aif / .aifc / .afc | : .aif / .aifc / .afc | ||
: mono / stereo | : 22.05KHz (mono / stereo) | ||
: compressed (ima4) | : compressed (ima4) | ||
|} | |} | ||
==Helpful conversion tools== | ==Helpful conversion tools== | ||
===for PC=== | ===for PC=== | ||
To create suitable files you could use | |||
To create suitable files you could use [http://audacity.sourceforge.net/download/beta_windows#recdown audacity] and its [http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg ffmpeg Export Library]. '''(No size limit of source file.)''' | |||
After you installed both goto Audacity > Preferences... > Libraries - click on Locate... button and find the installed library file. | |||
'''wav''': Open your sound file then goto File > Export... > Save As: yourfile.wav; Format: Custom FFmpeg Export; Options... > wav; pcm_s16le; Sample Rate: 22050; OK and save the file<br>'''(adpcm_ms doesn't work with Audacity 1.3 Beta)''' | |||
'''aif''': Open your sound file then goto File > Export... > Save As: yourfile.aif; Format: Custom FFmpeg Export; Options... > aiff; adpcm_ima_qt; Sample Rate: 22050; OK and save the file | |||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav_tn.png] [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_tn.png] | |||
---- | |||
Another conver program is [http://www.riverpast.com/en/prod/audioconverter/download/ River Past Audio Converter 7.8]. (Also mirrored [http://dl.dropbox.com/u/139715/modding_tools/audioconverter_wmf_setup.exe here].) '''(4 minute size limit of source file. Nonetheless this program can be considered as alternative, it's also a bit esier to install and use.)''' | |||
In order to make your sounds available on both sides - pc and mac - you need to create them twice (one time from a wav source and another time from an aif/aifc/afc source). Note that the aif formate needs the IMA 4:1 compressor. | In order to make your sounds available on both sides - pc and mac - you need to create them twice (one time from a wav source and another time from an aif/aifc/afc source). Note that the aif formate needs the IMA 4:1 compressor. | ||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_aif.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_aif_tn.png] [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_wav.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_wav_tn.png] | [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_aif.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_aif_tn.png] [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_wav.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/mp3_to_compressed_wav_tn.png] | ||
---- | |||
When you're done you can use [http://mods.oni2.net/node/72 Onisplit GUI] to convert yourfile.aif/.wav, OSBDyourfile.grp.xml and OSBDyourfile.amb.xml to the .oni-file formate. Use the "manual command input": | When you're done you can use [http://mods.oni2.net/node/72 Onisplit GUI] to convert yourfile.aif/.wav, OSBDyourfile.grp.xml and OSBDyourfile.amb.xml to the .oni-file formate. Use the "manual command input": | ||
Line 53: | Line 70: | ||
To create suitable sound files you could use [http://audacity.sourceforge.net/download/beta_mac#recdown audacity] and its [http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg ffmpeg Export Library]. | To create suitable sound files you could use [http://audacity.sourceforge.net/download/beta_mac#recdown audacity] and its [http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg ffmpeg Export Library]. | ||
After you installed both goto Audacity > Preferences... > Libraries - click on Locate... button and find the installed library file. | |||
'''wav''': Open your sound file then goto File > Export... > Save As: yourfile.wav; Format: Custom FFmpeg Export; Options... > wav; pcm_s16le; Sample Rate: 22050; OK and save the file<br>'''(adpcm_ms doesn't work with Audacity 1.3 Beta)''' | |||
'''aif''': Open your sound file then goto File > Export... > Save As: yourfile.aif; Format: Custom FFmpeg Export; Options... > aiff; adpcm_ima_qt; Sample Rate: 22050; OK and save the file | |||
[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_tn.png] | [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_wav_tn.png] [http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/Audacity_tn.png] | ||
Line 70: | Line 91: | ||
In case you want to create a simple sound file you can basically copy the code and change the red marked stuff. | In case you want to create a simple sound file you can basically copy the code and change the red marked stuff. | ||
* <Oni Version=" "> - self-explanatory, isn't it? | * <Oni Version=" "> - self-explanatory, isn't it? | ||
* <NumberOfChannels> - here you tell Oni if your sound file is mono | * <NumberOfChannels> - here you tell Oni if your sound file is "1" (22.05 kHz, mono) or "2" (22.05 kHz, stereo; (PC-only:) 44.1 kHz, mono), if you set the wrong value the music will sound distorted | ||
* <Sound> - this is the sound file (for example: <font color=#AAAAAA>SNDD</font>nyan<font color=#AAAAAA>.oni</font>), file prefix and suffix aren't used | * <Sound> - this is the sound file (for example: <font color=#AAAAAA>SNDD</font>nyan<font color=#AAAAAA>.oni</font>), file prefix and suffix aren't used | ||
edits