mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
adjust volumes
This commit is contained in:
@@ -3,4 +3,4 @@ STCode is a simple stereo encoder for FM, it uses pasimple and math to:
|
||||
- Calculate mono signal from s16le ((L+R)/2)
|
||||
- Generate the stereo pilot in phase to the stereo subcarrier
|
||||
- Generate the stereo diffrence signal using DSB-SC
|
||||
All that in about 3.5% cpu usage on a RPI-5!
|
||||
All that in about 3.5% cpu usage on a RPI-5 (lpf makes it 10, but stereo tool has 3 threads which do 100% cpu usage anyway, one 200)!
|
||||
@@ -18,8 +18,8 @@
|
||||
#define CLIPPER_THRESHOLD 0.425 // Adjust this as needed
|
||||
|
||||
#define MONO_VOLUME 0.45f // L+R Signal
|
||||
#define PILOT_VOLUME 0.025f // 19 KHz Pilot
|
||||
#define STEREO_VOLUME 0.45f // L-R signal
|
||||
#define PILOT_VOLUME 0.0225f // 19 KHz Pilot
|
||||
#define STEREO_VOLUME 0.35f // L-R signal
|
||||
|
||||
#ifdef PREEMPHASIS
|
||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||
|
||||
Reference in New Issue
Block a user