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

adjust volumes for mpx

This commit is contained in:
2025-01-21 21:55:08 +01:00
parent 3ac9d67e3d
commit 43521d90a8
8 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
{
"port": 13452,
"time": 1737462229390,
"time": 1737492785115,
"version": "0.0.3"
}

View File

@@ -20,9 +20,9 @@
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
#define MONO_VOLUME 0.6f // L+R Signal
#define MONO_VOLUME 0.5f // L+R Signal
#define STEREO_VOLUME_AUDIO 1.0f // L-R signal
#define STEREO_VOLUME_MODULATION 0.1f // L-R signal
#define STEREO_VOLUME_MODULATION 0.5f // L-R signal
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -19,7 +19,7 @@
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
#define MONO_VOLUME 0.6f // L+R Signal
#define MONO_VOLUME 0.45f // L+R Signal
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -20,8 +20,8 @@
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
#define MONO_VOLUME 0.6f // L+R Signal
#define STEREO_VOLUME 0.3f // L-R signal
#define MONO_VOLUME 0.45f // L+R Signal
#define STEREO_VOLUME 0.45f // L-R signal
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -19,12 +19,12 @@
#define INPUT_DEVICE "SCA.monitor"
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
#define BUFFER_SIZE 512
#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 CLIPPER_THRESHOLD 1 // 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 0.1f // SCA Volume
#define VOLUME_AUDIO 1.0f // SCA Audio volume
#define FREQUENCY 67000 // SCA Frequency
#define DEVIATION 6000 // SCA Deviation
#define DEVIATION 7000 // SCA Deviation
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -22,9 +22,9 @@
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
#define MONO_VOLUME 0.6f // L+R Signal
#define PILOT_VOLUME 0.035f // 19 KHz Pilot
#define STEREO_VOLUME 0.4f // L-R signal
#define MONO_VOLUME 0.45f // L+R Signal
#define PILOT_VOLUME 0.09f // 19 KHz Pilot
#define STEREO_VOLUME 0.45f // L-R signal possibly can be set to .9 because im not sure if usb will be 2 times stronger than dsb-sc
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -20,9 +20,9 @@
#define BUFFER_SIZE 512
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
#define MONO_VOLUME 0.6f // L+R Signal
#define PILOT_VOLUME 0.035f // 19 KHz Pilot
#define STEREO_VOLUME 0.3f // L-R signal
#define MONO_VOLUME 0.45f // L+R Signal
#define PILOT_VOLUME 0.09f // 19 KHz Pilot
#define STEREO_VOLUME 0.45f // L-R signal
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america

View File

@@ -21,8 +21,8 @@
#define BUFFER_SIZE 512
#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 MONO_VOLUME 0.02f // Mono Volume
#define STEREO_VOLUME 0.02f // Stereo Volume
#define MONO_VOLUME 0.075f // Mono Volume
#define STEREO_VOLUME 0.025f // Stereo Volume
#ifdef PREEMPHASIS
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america