Commit Graph
100 Commits
Author SHA1 Message Date
kuba 427383de75 smaller buffer size 2025-12-31 20:03:10 +01:00
kuba f34e32bde6 increase buffer size 2025-12-31 20:01:46 +01:00
kuba 0968373064 remove bs412 max 2025-12-31 12:12:37 +01:00
kuba f10f67c606 sqrt of 2? 2025-12-31 12:06:48 +01:00
kuba 3def94aeda move clipper thing 2025-12-31 11:09:47 +01:00
kuba 237914d820 calibration mode 3: 19 khz sine wave at 0 dbr of bs412 2025-12-31 11:05:04 +01:00
kuba 48a30c89af remove limiter 2025-12-31 10:52:19 +01:00
kuba d3c39c4827 do dbr properly 2025-12-31 10:51:22 +01:00
kuba 55dba6dbed reduce gain 2025-12-30 23:16:03 +01:00
kuba e2811df7d5 at the start it blasts volume, after the minute of tuning in 2025-12-30 22:36:08 +01:00
kuba 37b2ff7857 rms? 2025-12-30 22:31:50 +01:00
kuba 3146e838e0 more variables 🫩 2025-12-30 22:29:08 +01:00
kuba d8890e69c6 save variables 2025-12-30 22:25:44 +01:00
kuba 89df94b096 wrong counter 2025-12-30 22:20:29 +01:00
kuba fb5c8f46ef can compress? 2025-12-30 22:18:03 +01:00
kuba b0d7d2fdbe yeah no 2025-12-30 22:12:57 +01:00
kuba d06c7d7bd0 peak? 2025-12-30 22:11:07 +01:00
kuba 2b65557dfe sliding window? 2025-12-30 22:06:59 +01:00
kuba a5149126c0 set target to -100 to disable it 2025-12-30 21:16:50 +01:00
kuba 966fa2a64c this is asbest as i could make it 2025-12-29 23:07:49 +01:00
kuba 3db33fef70 fix 2025-12-29 23:03:53 +01:00
kuba 1d9cbf7893 maybe thats why? 2025-12-29 21:59:55 +01:00
kuba 87e97017df more standard 2025-12-29 21:58:10 +01:00
kuba 3577d67264 make dbr calculation precise 2025-12-29 21:46:41 +01:00
kuba 53d5d8ec6b what the fuck 2025-09-27 15:23:52 +02:00
kuba a83c813ff4 increase buffer sizes 2025-09-27 15:21:04 +02:00
kuba 7350cbcf1e add headroom option 2025-08-06 19:56:16 +02:00
kuba 07bf22e3ff compute mono and stereo volumes automatically 2025-08-06 19:45:49 +02:00
kuba 3ff2ea3a3d little optimizations 2025-08-06 19:14:49 +02:00
kuba 6b46716860 remove polar stereo
fix
2025-08-05 13:22:14 +02:00
kuba 12e54f44e2 litlle bit optimizations on init 2025-08-04 14:34:16 +02:00
kuba de8f4de914 go back to 4750 2025-08-03 21:48:26 +02:00
kuba 5a534aca37 add reload warnings and run clock at 1187.5 khz instead of 4750 2025-08-03 21:11:59 +02:00
kuba 345c087fc2 small optimazations 2025-08-03 20:34:16 +02:00
kuba 633d588aa4 link libs when needed 2025-08-03 20:27:55 +02:00
kuba facef5aba3 change the config file stuff 2025-08-03 17:20:33 +02:00
kuba 8f4d222660 remove useless print 2025-08-03 16:21:43 +02:00
kuba 56117c1933 return the actually fucking clipped sample (facepalm moment) 2025-08-03 16:16:54 +02:00
kuba 07017aacd8 show gain with dbr 2025-08-03 16:13:54 +02:00
kuba db61f78e5a introduce soft clipping into bs412 2025-08-03 16:03:15 +02:00
kuba de8f4652a4 something here and there 2025-08-03 15:58:43 +02:00
kuba 122677ef1e bug 2025-08-02 18:16:31 +02:00
kuba a7a3b49452 fix bug 2025-08-02 18:14:24 +02:00
kuba 55981533b8 ensure stop 2025-08-02 17:57:33 +02:00
kuba bbcce3ff71 fuck you 2025-08-02 17:54:32 +02:00
kuba e099e62949 keep gain across reloads 2025-08-02 17:53:45 +02:00
kuba 36cc57109e after reloading it would quit, thats why 2025-08-02 13:12:08 +02:00
kuba 21fe8c925b add reloading on SIGHUP signals, but these will not touch the audio runtime 2025-08-02 13:08:52 +02:00
kuba 13583c1728 things 2025-08-02 12:41:04 +02:00
kuba 55ecde6673 little optimalization, move the rds buffer into runtime 2025-08-02 12:07:46 +02:00
kuba 3cde61f31e remove bs412 +.1 limiter 2025-07-25 17:54:05 +02:00
kuba 59a099c619 option to disable agc when max == 0, also don't initialize filters if they're off 2025-07-15 22:10:16 +02:00
kuba 777993a2d6 again but properly 2025-07-15 21:07:01 +02:00
kuba 3d338bda38 get rid of the lookahead 2025-07-15 21:06:40 +02:00
kuba f7cd9d47e1 now? 2025-07-15 21:00:49 +02:00
kuba a557e101b2 it does break it but idk why 2025-07-15 21:00:12 +02:00
kuba 9c89e9f601 this seems to break something 2025-07-15 20:57:51 +02:00
kuba ae9453b63c show avg deviation in debug too 2025-07-15 20:55:32 +02:00
kuba cb60c4cc9c maybe this fixes something 2025-07-15 20:49:54 +02:00
kuba e766ed8964 fix bad calculation 2025-07-15 20:44:52 +02:00
kuba 6f23536c4c set bs412 gain to 0 on start 2025-07-15 20:39:33 +02:00
kuba ff494b549b i fucking hate vscode's suggestions 2025-07-15 20:36:41 +02:00
kuba 6008d5e2e3 bs412 lookahead 2025-07-15 20:36:05 +02:00
kuba 229ceff6d2 move lpf after agc 2025-07-12 13:50:33 +02:00
kuba e0847d3a57 fix audio_deviation 2025-07-12 13:47:51 +02:00
kuba d2ae90d872 some changes here and there 2025-07-12 13:28:16 +02:00
kuba 779259012e change filter order (used to be preemp -> lpf -> agc, now is lpf -> agc -> preemp) 2025-07-10 20:28:52 +02:00
kuba 55d0d72042 now 2025-07-10 20:16:23 +02:00
kuba c5b3fde1b9 wow 2025-07-10 20:14:39 +02:00
kuba a1a55a6d35 oh shit 2025-07-10 20:12:29 +02:00
kuba 668dfea9f2 make bs412 a dynamic compressor (boosts, and attunuates instead of just attenuating dynamically) 2025-07-10 20:11:52 +02:00
kuba 4146110e6e kinda change the agc 2025-07-10 20:09:49 +02:00
kuba 7956b7d989 will thjis commit break everything? 2025-07-10 19:32:21 +02:00
kuba db60762057 this is better than the powf func 2025-07-10 19:23:40 +02:00
kuba 7abf177b5f lol 2025-07-10 19:00:08 +02:00
kuba 9df5eeb47a change bs412 implementation 2025-07-10 18:59:39 +02:00
kuba e82c617dab disable filters if their values are 0, add lpf_cutoff config and also rechain the bs412 compressor, as mpx_in used to be pure pass, but now it is added before the bs412 compressor 2025-07-10 18:51:32 +02:00
kuba 6b0dd96de5 change bs412 clipper value 2025-07-09 08:37:59 +02:00
kuba f06f9056fa actually fix bs412 2025-07-09 08:35:36 +02:00
kuba ec8c898e0c fix bs412 2025-07-09 08:33:45 +02:00
kuba d01b46af5f limit min of bs412 to 0 2025-07-08 23:20:04 +02:00
kuba 779b8d89b0 im about to lose my HEADer 2025-07-08 23:18:51 +02:00
kuba 58881858dd configure the bs412 max 2025-07-08 23:18:08 +02:00
kuba d78e82122a limit the gain 2025-07-08 23:13:50 +02:00
kuba d60128df75 wow 2025-07-08 23:12:48 +02:00
kuba de8a36e431 what the fuck is the problem (also aveRAGE) 2025-07-08 23:12:16 +02:00
kuba f937bd81b7 clip breaks evrything? 2025-07-08 23:07:26 +02:00
kuba 58a37da27c clip bs412 and make it simpler to understand, both by me and the compiler 2025-07-08 23:04:38 +02:00
kuba dced0383d5 shit 2025-07-08 22:59:17 +02:00
kuba 69494eaac4 try another bs412 compressor implementation 2025-07-08 22:56:44 +02:00
kuba 52f2f61a9a tilt correction? (yes, ai wrote it, you hate me because of that? find a tilt filter yourself then that you can copy the code of) 2025-07-08 19:54:15 +02:00
kuba 8932a9a24d change logic of the master volume 2025-07-08 19:39:25 +02:00
kuba cc35da31e3 add option to dynamically configure volume levels in the config file (bro really feels like a professional dev) 2025-07-06 22:04:55 +02:00
kuba f9465cd1f5 add a audio preamp value to fm95 2025-07-06 21:59:15 +02:00
kuba 1bdb7bb35b there is no need for sepeate configs, but yet there is? 2025-06-29 11:05:19 +02:00
kuba 657901384a fix some stuff 2025-06-29 11:02:02 +02:00
kuba 1f53022c59 oh rigth 2025-06-29 10:58:53 +02:00
kuba ef3170b2d2 add config to chimer 2025-06-29 10:56:08 +02:00
kuba 8e1048b994 expose bs412 agc settings 2025-06-28 19:26:40 +02:00
kuba 06b37119d4 cap bs412 2025-06-28 19:22:44 +02:00