This commit is contained in:
Kuba 2023-11-23 14:32:33 +00:00
parent 434a32e3a6
commit 66974f2c7e
3 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ now you know what you can pass as the args to the program, but theres a pipe sti
`COA` - change compressor attack<br>
`RDV` - gain but not audio but rds gain<br>
`PAU` - pause, kinda, it will cancel out any audio, you could use `GAI 0` but you could forgor the old gain value, right?<br>
`PIV` - gain but not audio or rds but stereo pilot gain<br>
`PIV` - gain but not audio or rds but stereo pilot gain (default = 0.9)<br>
<br>
and thats all, and remember kids dont pirate

View File

@ -325,7 +325,7 @@ int fm_mpx_get_samples(float *mpx_buffer, int drds, float compressor_decay, floa
if(1) {
mpx_buffer[i] += 4.05*(out_left+out_right) + // Stereo sum signal
4.05 * carrier_38[phase_38] * (out_left-out_right) + // Stereo difference signal
(pilot_volume-0.1)*carrier_19[phase_19]; // Stereo pilot tone (doing 0.1 minus to balance it out, as by default its 0.9, but to make the 1.0 the normal value of the volume)
pilot_volume*carrier_19[phase_19]; // Stereo pilot tone (doing 0.1 minus to balance it out, as by default its 0.9, but to make the 1.0 the normal value of the volume)
phase_19++;
phase_38++;

View File

@ -259,7 +259,7 @@ int main(int argc, char **argv) {
float compressor_max_gain_recip = 0.01;
int enable_compressor = 1;
float rds_volume = 1.0;
float pilot_volume = 1.0;
float pilot_volume = 0.9;
int ta = 0;
int tp = 0;
int af_size = 0;