mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 00:39:17 +02:00
adjust volumes for mpx
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"port": 13452,
|
"port": 13452,
|
||||||
"time": 1737462229390,
|
"time": 1737492785115,
|
||||||
"version": "0.0.3"
|
"version": "0.0.3"
|
||||||
}
|
}
|
||||||
@@ -20,9 +20,9 @@
|
|||||||
#define BUFFER_SIZE 512
|
#define BUFFER_SIZE 512
|
||||||
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
|
#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_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
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#define BUFFER_SIZE 512
|
#define BUFFER_SIZE 512
|
||||||
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
|
#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
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
#define BUFFER_SIZE 512
|
#define BUFFER_SIZE 512
|
||||||
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
|
#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
|
||||||
#define STEREO_VOLUME 0.3f // L-R signal
|
#define STEREO_VOLUME 0.45f // L-R signal
|
||||||
|
|
||||||
#ifdef PREEMPHASIS
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
+3
-3
@@ -19,12 +19,12 @@
|
|||||||
#define INPUT_DEVICE "SCA.monitor"
|
#define INPUT_DEVICE "SCA.monitor"
|
||||||
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
|
#define OUTPUT_DEVICE "alsa_output.platform-soc_sound.stereo-fallback"
|
||||||
#define BUFFER_SIZE 512
|
#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 VOLUME_AUDIO 1.0f // SCA Audio volume
|
||||||
#define FREQUENCY 67000 // SCA Frequency
|
#define FREQUENCY 67000 // SCA Frequency
|
||||||
#define DEVIATION 6000 // SCA Deviation
|
#define DEVIATION 7000 // SCA Deviation
|
||||||
|
|
||||||
#ifdef PREEMPHASIS
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
@@ -22,9 +22,9 @@
|
|||||||
#define BUFFER_SIZE 512
|
#define BUFFER_SIZE 512
|
||||||
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
|
#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
|
||||||
#define PILOT_VOLUME 0.035f // 19 KHz Pilot
|
#define PILOT_VOLUME 0.09f // 19 KHz Pilot
|
||||||
#define STEREO_VOLUME 0.4f // L-R signal
|
#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
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
+3
-3
@@ -20,9 +20,9 @@
|
|||||||
#define BUFFER_SIZE 512
|
#define BUFFER_SIZE 512
|
||||||
#define CLIPPER_THRESHOLD 0.525 // Adjust this as needed
|
#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
|
||||||
#define PILOT_VOLUME 0.035f // 19 KHz Pilot
|
#define PILOT_VOLUME 0.09f // 19 KHz Pilot
|
||||||
#define STEREO_VOLUME 0.3f // L-R signal
|
#define STEREO_VOLUME 0.45f // L-R signal
|
||||||
|
|
||||||
#ifdef PREEMPHASIS
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
@@ -21,8 +21,8 @@
|
|||||||
#define BUFFER_SIZE 512
|
#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 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 MONO_VOLUME 0.075f // Mono Volume
|
||||||
#define STEREO_VOLUME 0.02f // Stereo Volume
|
#define STEREO_VOLUME 0.025f // Stereo Volume
|
||||||
|
|
||||||
#ifdef PREEMPHASIS
|
#ifdef PREEMPHASIS
|
||||||
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
#define PREEMPHASIS_TAU 0.00005 // 50 microseconds, use 0.000075 if in america
|
||||||
|
|||||||
Reference in New Issue
Block a user