-
Notifications
You must be signed in to change notification settings - Fork 40
/
HOW TO ADD SOUNDS.txt
95 lines (73 loc) · 4.03 KB
/
HOW TO ADD SOUNDS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
https://github.com/Metastruct/garrysmod-chatsounds
1. Fork the repository: https://help.github.com/articles/fork-a-repo/
=== using GitHub for Windows: https://windows.github.com/ ===
2. Click the "Clone in Desktop" button on https://github.com/Metastruct/garrysmod-chatsounds
( or if you forked: https://github.com/YOUR_USERNAME/garrysmod-chatsounds )
=== using TortoiseSVN: http://tortoisesvn.net/downloads.html ===
2. Right click in your addons folder and "SVN Checkout..." the url: https://github.com/Metastruct/garrysmod-chatsounds/trunk
( or if you forked: https://github.com/YOUR_USERNAME/garrysmod-chatsounds/trunk )
3. Add the sounds using the preferred format.
=============================================
format : ogg
ogg quality : ~30% / ~3
sample rate : 44.1 kHz
channels : mono (if it's music use stereo)
bit depth : 16 bit
=============================================
- Must follow Github's AUP
- Name your folders properly, this involves naming the folder after a category that fits all of its contained sounds
- "Personalized folders" are to be avoided, do not just shove whatever inside a folder with your name
- Ensure that you can spell
4. Make sure you remove left over files that aren't ogg files
5. If necessary, you can add a "map.txt" into the folder that contains lines formatted like this:
[source] ; [dest]
or like this
[source] ; [dest]; replace
[source] is the sound name that you want to copy or move
[dest] is the sound name that you want to copy or move to
'replace' is a keyword that you can add to move instead of copy
The file is executed from top to bottom.
"sound name" can refer to either single sounds or entire sound groups.
If [dest] exists already, [source] will be added/merged (see the example below).
If you have a sound named "single" and a sound group "multi", you could, for example, create such a map:
single; single2
single ;single3
single2;single4
single; single1; replace
multi; multiple; replace
single1; multiple
This would change the generated list from the default:
single = single.ogg; multi = {multi/1.ogg, multi/2.ogg}
to something like this:
single1 = single.ogg
single2 = single.ogg
single3 = single.ogg
single4 = single.ogg
multiple = {multi/1.ogg, multi/2.ogg, single.ogg}
Note, you can't add a line like "single; singleX" to the bottom of this example file because at that point "single"
doesn't exist anymore (it has been moved in line 4 ("single; single1; replace" <- note the "replace" keyword))
6. Run "chatsounds-preprocessor.exe" in the root of the repo ( optional, will be generated by a CI script
and committed as a separate commit in case you don't run it )
7. Commit!! ( and Sync if using GitHub for Windows )
8. If you forked you will need to create a "Pull Request": https://help.github.com/articles/creating-a-pull-request/
( if using GitHub for Windows you can click the button to the left of "Sync" to do a pull request
but be sure to select "Metastruct/master" as the destination branch )
You can use Audacity, foobar2000 or Adobe Audition to convert to ogg.
HOW TO CONVERT STEREO TRACKS TO MONO IN AUDACITY:
1. Select the track by clicking in its Track Control Panel
2. Click Tracks > Stereo Track to Mono
HOW TO CHANGE OGG QUALITY IN AUDACITY:
1. Click on "File" > "Export"
2. Select "Ogg Vorbis Files" in the "Save as type" drop-down menu.
3. Click on "Options..."
4. Adjust the slider and set it to 3
5. Press OK
HOW TO CONVERT WITH FOOBAR2000:
1. Right click on desired track, then Convert -> Quick Convert
2. Select "Ogg Vorbis", then press Edit and set Quality to q3.0
3. Press OK, then Convert
4. At this step you will be required to specify path to oggenc2, if you haven't done it already.
Download it from here: http://www.rarewares.org/files/ogg/oggenc2.87-1.3.3-generic.zip
Put it in some folder and specify path to it when foobar2000 prompts for it.
In Adobe Audition it helps to make markers and name markers that you can export all at once in the end.
In Audacity you can attach marker to current selection by pressing Ctrl-B.