mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 16:59:16 +02:00
light changes
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"port": 13452,
|
"port": 13452,
|
||||||
"time": 1735655261170,
|
"time": 1735658190321,
|
||||||
"version": "0.0.3"
|
"version": "0.0.3"
|
||||||
}
|
}
|
||||||
@@ -11,8 +11,14 @@ All that in about 3.5% cpu usage on a RPI-5 (lpf makes it 10, but stereo tool ha
|
|||||||
|
|
||||||
Also nearly no latency, not like Stereo Tool (or mpxgen which doesn't even work)
|
Also nearly no latency, not like Stereo Tool (or mpxgen which doesn't even work)
|
||||||
|
|
||||||
|
As far as i've tested it (29-31 december) it's been fine but after a fix it was great, so i'd redecommend you
|
||||||
|
|
||||||
# SCAMod
|
# SCAMod
|
||||||
SCAMod is a simple FM modulator which can be used to modulate a secondary audio stream, has similiar cpu usage and latency as STCode
|
SCAMod is a simple FM modulator which can be used to modulate a secondary audio stream, has similiar cpu usage and latency as STCode
|
||||||
|
|
||||||
|
Has a fine quality, but as it goes for 12 khz fm signals
|
||||||
|
|
||||||
# QDCode
|
# QDCode
|
||||||
QD code is a FM quadrophonic encoder, following the Dorren standard
|
QD code is a FM quadrophonic encoder, following the Dorren standard
|
||||||
|
|
||||||
|
I haven't tested this, but i'm scared, i don't have a decoder anyway
|
||||||
+2
-2
@@ -178,11 +178,11 @@ int main() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
float mono = (current_left_input + current_right_input) / 2.0f; // Stereo to Mono
|
float mono = (current_left_input + current_right_input) / 2.0f; // Stereo to Mono
|
||||||
float stereo = (current_left_input - current_right_input) / 2.0f; // Also Sterreo to Mono but a bit diffrent
|
float stereo = (current_left_input - current_right_input) / 2.0f; // Also Stereo to Mono but a bit diffrent
|
||||||
|
|
||||||
mpx[i] = mono * MONO_VOLUME +
|
mpx[i] = mono * MONO_VOLUME +
|
||||||
pilot * PILOT_VOLUME +
|
pilot * PILOT_VOLUME +
|
||||||
(stereo * stereo_carrier) * STEREO_VOLUME; // DSB-SC modulate
|
(stereo * stereo_carrier) * STEREO_VOLUME; // DSB-SC modulation
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pa_simple_write(output_device, mpx, sizeof(mpx), NULL) < 0) {
|
if (pa_simple_write(output_device, mpx, sizeof(mpx), NULL) < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user