You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ The available option list will be the following:
20
20
-g, --gain Gain (in dB) of the sine sweep
21
21
-h, --help Output this help message
22
22
-i, --in-file Input audio file
23
+
-n, --normalize Set normalization mode
24
+
-ng, --norm-gain Set normalization peak gain (in dB)
23
25
-o, --out-file Output audio file
24
26
-r, --reference Reference audio file
25
27
-s, --sweep Produce sine sweep signal
@@ -110,6 +112,13 @@ For more information, see `room-raider --help`.
110
112
111
113
The file `response.wav` will have the same number of channels as `room-outputs.wav` and will contain the electroacoustic impulse responses from soundcard output to each of the test microphones.
112
114
115
+
Additionally, the output sample can be normalized with options ```-n``` and ```-ng```. While ```-ng``` option sets the maximum peak level (in dB) of the output sample,
116
+
the ```-n``` option allows to specify the normalization algorithm:
117
+
***none** - do not use normalization (default);
118
+
***above** - normalize the file if the maximum signal peak is above the specified peak level;
119
+
***below** - normalize the file if the maximum signal peak is below the specified peak level;
120
+
***always** - always normalize output files to match the maximum signal peak to specified peak level.
0 commit comments