0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-27 03:23:54 +01:00

adjust volumes

This commit is contained in:
2024-12-31 21:08:59 +01:00
parent a17b0cfed0
commit ea9bcc56ed
4 changed files with 8 additions and 8 deletions

View File

@@ -20,11 +20,11 @@
#define INPUT_DEVICE "real_real_tx_audio_input.monitor"
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.425 // Adjust this as needed
#define CLIPPER_THRESHOLD 1.0 // Adjust this as needed
#define MONO_VOLUME 0.5f // L+R Signal
#define STEREO_VOLUME_AUDIO 1.0f // L-R signal (once demodulated)
#define STEREO_VOLUME_MODULATION 0.4f // L-R signal (on MPX)
#define STEREO_VOLUME_MODULATION 0.5f // L-R signal (on MPX)
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -20,13 +20,13 @@
#define INPUT_DEVICE "real_real_tx_audio_input.monitor"
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.425 // Adjust this as needed
#define CLIPPER_THRESHOLD 1.0f // Adjust this as needed
#define MONO_VOLUME 0.45f // L+R Signal
#define PILOT_VOLUME 0.0175f // 19 KHz Pilot
#define SIN38_VOLUME 0.35f
#define COS38_VOLUME 0.05f
#define SIN76_VOLUME 0.05f
#define SIN38_VOLUME 0.15f
#define COS38_VOLUME 0.15f
#define SIN76_VOLUME 0.15f
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -18,7 +18,7 @@
#define INPUT_DEVICE "real_real_tx_audio_input.monitor"
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.425 // Adjust this as needed, this also limits deviation, so if you set this to 0.5 then the deviation will be limited to half
#define CLIPPER_THRESHOLD 0.75 // Adjust this as needed, this also limits deviation, so if you set this to 0.5 then the deviation will be limited to half
#define VOLUME 0.03f // SCA Volume
#define VOLUME_AUDIO 1.0f // SCA Audio volume

View File

@@ -18,7 +18,7 @@
#define INPUT_DEVICE "real_real_tx_audio_input.monitor"
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.425 // Adjust this as needed
#define CLIPPER_THRESHOLD 0.45 // Adjust this as needed
#define MONO_VOLUME 0.45f // L+R Signal
#define PILOT_VOLUME 0.0175f // 19 KHz Pilot