Commit Graph

  • 59a099c619 option to disable agc when max == 0, also don't initialize filters if they're off kuba 2025-07-15 22:10:16 +02:00
  • 777993a2d6 again but properly kuba 2025-07-15 21:07:01 +02:00
  • 3d338bda38 get rid of the lookahead kuba 2025-07-15 21:06:40 +02:00
  • f7cd9d47e1 now? kuba 2025-07-15 21:00:49 +02:00
  • a557e101b2 it does break it but idk why kuba 2025-07-15 21:00:12 +02:00
  • 9c89e9f601 this seems to break something kuba 2025-07-15 20:57:51 +02:00
  • ae9453b63c show avg deviation in debug too kuba 2025-07-15 20:55:32 +02:00
  • cb60c4cc9c maybe this fixes something kuba 2025-07-15 20:49:54 +02:00
  • e766ed8964 fix bad calculation kuba 2025-07-15 20:44:52 +02:00
  • 6f23536c4c set bs412 gain to 0 on start kuba 2025-07-15 20:39:33 +02:00
  • ff494b549b i fucking hate vscode's suggestions kuba 2025-07-15 20:36:41 +02:00
  • 6008d5e2e3 bs412 lookahead kuba 2025-07-15 20:36:05 +02:00
  • 229ceff6d2 move lpf after agc kuba 2025-07-12 13:50:33 +02:00
  • e0847d3a57 fix audio_deviation kuba 2025-07-12 13:47:51 +02:00
  • d2ae90d872 some changes here and there kuba 2025-07-12 13:28:16 +02:00
  • 779259012e change filter order (used to be preemp -> lpf -> agc, now is lpf -> agc -> preemp) kuba 2025-07-10 20:28:52 +02:00
  • 55d0d72042 now kuba 2025-07-10 20:16:23 +02:00
  • c5b3fde1b9 wow kuba 2025-07-10 20:14:39 +02:00
  • a1a55a6d35 oh shit kuba 2025-07-10 20:12:29 +02:00
  • 668dfea9f2 make bs412 a dynamic compressor (boosts, and attunuates instead of just attenuating dynamically) kuba 2025-07-10 20:11:52 +02:00
  • 4146110e6e kinda change the agc kuba 2025-07-10 20:09:49 +02:00
  • 7956b7d989 will thjis commit break everything? kuba 2025-07-10 19:32:21 +02:00
  • db60762057 this is better than the powf func kuba 2025-07-10 19:23:40 +02:00
  • 7abf177b5f lol kuba 2025-07-10 19:00:08 +02:00
  • 9df5eeb47a change bs412 implementation kuba 2025-07-10 18:59:39 +02:00
  • 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 kuba 2025-07-10 18:51:32 +02:00
  • 6b0dd96de5 change bs412 clipper value kuba 2025-07-09 08:37:59 +02:00
  • f06f9056fa actually fix bs412 kuba 2025-07-09 08:35:36 +02:00
  • ec8c898e0c fix bs412 kuba 2025-07-09 08:33:45 +02:00
  • d01b46af5f limit min of bs412 to 0 kuba 2025-07-08 23:20:04 +02:00
  • 779b8d89b0 im about to lose my HEADer kuba 2025-07-08 23:18:51 +02:00
  • 58881858dd configure the bs412 max kuba 2025-07-08 23:18:08 +02:00
  • d78e82122a limit the gain kuba 2025-07-08 23:13:50 +02:00
  • d60128df75 wow kuba 2025-07-08 23:12:48 +02:00
  • de8a36e431 what the fuck is the problem (also aveRAGE) kuba 2025-07-08 23:12:16 +02:00
  • f937bd81b7 clip breaks evrything? kuba 2025-07-08 23:07:26 +02:00
  • 58a37da27c clip bs412 and make it simpler to understand, both by me and the compiler kuba 2025-07-08 23:04:38 +02:00
  • dced0383d5 shit kuba 2025-07-08 22:59:17 +02:00
  • 69494eaac4 try another bs412 compressor implementation kuba 2025-07-08 22:56:44 +02:00
  • 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) kuba 2025-07-08 19:54:15 +02:00
  • 8932a9a24d change logic of the master volume kuba 2025-07-08 19:39:25 +02:00
  • cc35da31e3 add option to dynamically configure volume levels in the config file (bro really feels like a professional dev) kuba 2025-07-06 22:04:55 +02:00
  • f9465cd1f5 add a audio preamp value to fm95 kuba 2025-07-06 21:59:15 +02:00
  • 1bdb7bb35b there is no need for sepeate configs, but yet there is? kuba 2025-06-29 11:05:19 +02:00
  • 657901384a fix some stuff kuba 2025-06-29 11:02:02 +02:00
  • 1f53022c59 oh rigth kuba 2025-06-29 10:58:53 +02:00
  • ef3170b2d2 add config to chimer kuba 2025-06-29 10:56:08 +02:00
  • 8e1048b994 expose bs412 agc settings kuba 2025-06-28 19:26:40 +02:00
  • 06b37119d4 cap bs412 kuba 2025-06-28 19:22:44 +02:00
  • b6231bb345 expose more settings to config and change bs412 compression logic kuba 2025-06-28 19:22:09 +02:00
  • 64424959ab be412 :( kuba 2025-06-28 18:44:03 +02:00
  • 37fa5ee8ac that must be the guy kuba 2025-06-28 18:40:26 +02:00
  • e21e458936 idk kuba 2025-06-28 18:38:45 +02:00
  • 0ae988a126 what kuba 2025-06-28 18:32:38 +02:00
  • 2091b87ea6 change up the config stuff kuba 2025-06-28 18:32:01 +02:00
  • 26f9ccc0c7 part 2? kuba 2025-06-28 18:15:58 +02:00
  • aaea2fbf65 fm95 now uses ini config files! kuba 2025-06-28 18:14:53 +02:00
  • 638114715b change agc settings kuba 2025-06-28 16:56:07 +02:00
  • 07a56bebeb restructure fm95 sligthly kuba 2025-06-28 16:48:33 +02:00
  • fa19d53d38 restructure sca95 kuba 2025-06-28 16:21:14 +02:00
  • cf24e3698d remove dcf95 kuba 2025-06-28 16:07:23 +02:00
  • ffbd230a37 restructure chimer95 kuba 2025-06-28 16:03:04 +02:00
  • 6cea5eee19 fix access denied errors kuba 2025-06-28 15:45:22 +02:00
  • 29fc066376 big 2.0, restructurize fm95 kuba 2025-06-28 13:24:07 +02:00
  • 44d54899f0 minor changes kuba 2025-06-27 20:05:32 +02:00
  • 9c7018132f optimize a bit the stereo encoder and in case of read error from the rds or mpx devices just disable them kuba 2025-06-27 10:42:02 +02:00
  • ee1a6f5c14 reduce lpf kuba 2025-06-21 16:01:46 +02:00
  • 4f4f6e5d93 sca moved out... kuba 2025-06-21 15:25:22 +02:00
  • 1f2da09e89 oops kuba 2025-06-21 15:07:18 +02:00
  • 16f0a53c05 start modularization kuba 2025-06-21 15:06:27 +02:00
  • 33ffcd9682 do not do dynamic memory, static memory = static stability kuba 2025-06-21 14:27:21 +02:00
  • 102067881d DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC DO NOT USE MALLOC kuba 2025-06-21 14:25:39 +02:00
  • dbd5aa7180 no clue kuba 2025-06-21 14:19:29 +02:00
  • e2a8f6c8f4 course doesnt work kuba 2025-06-21 14:12:27 +02:00
  • 5a03d06508 wanted good, but had to use malloc kuba 2025-06-21 14:09:25 +02:00
  • d0b817026f man kuba 2025-06-21 14:07:31 +02:00
  • aa6f87c0da changes here and there kuba 2025-06-21 14:05:56 +02:00
  • 9bfff3fef2 increase lpf order kuba 2025-06-21 13:33:03 +02:00
  • 842a87a120 clean up a bit kuba 2025-06-16 10:57:36 +02:00
  • fac42da5fe what? kuba 2025-06-16 10:36:47 +02:00
  • b984fb293c change variable name kuba 2025-06-16 10:35:57 +02:00
  • 4f8d0639bd optimize (also merge move preemp ref) kuba 2025-06-16 10:34:08 +02:00
  • 334688b785 optimize or just clean up kuba 2025-06-09 20:13:43 +02:00
  • cad6080c07 do the preemp gain properly, set a refrence freq (+0db) sligthly above the LPF cutoff, thus we avoid clipping kuba 2025-06-09 20:03:44 +02:00
  • bcb9559d59 move constants.h and the oscillator into libfm from libfmdsp kuba 2025-06-09 19:56:25 +02:00
  • 90e9925399 minor change to RDS2, dont allow the two additional carriers's device to be on when RDS isnt even on kuba 2025-06-09 16:12:45 +02:00
  • f11f25c8f0 change bs412 gain reduction logic, still issue #2 should be unchanged kuba 2025-06-09 16:10:27 +02:00
  • 4764e5768e increase lpf order kuba 2025-06-08 12:12:25 +02:00
  • 0a132b1a52 update readme kuba 2025-06-08 10:37:25 +02:00
  • b0657274fb close rds2 while cleaning up, forgot that kuba 2025-06-08 10:28:10 +02:00
  • 7ff2caec3e some additional optimizations kuba 2025-06-08 10:25:20 +02:00
  • 178b42386a speed up agc (in performance, not audio levels) kuba 2025-06-08 10:21:13 +02:00
  • 256f91fbdf remove darc, shorten audio.c and add some error checking for pulse api kuba 2025-06-08 10:00:03 +02:00
  • 77489752f9 maybe 0.01% cpu usage down kuba 2025-06-05 19:27:23 +02:00
  • b18fa83005 eat shit, compiler kuba 2025-05-31 11:51:47 +02:00
  • 4fdb2dff0d bug is 100% related to bs412 kuba 2025-05-31 11:51:26 +02:00
  • 82a74db8b1 maybe this is wrong? kuba 2025-05-31 11:50:30 +02:00
  • 0a138420ad when clipper threshold set too high the whole mpx goes? what the fuck kuba 2025-05-31 11:47:20 +02:00
  • 7da1ab87ad optimize a bit kuba 2025-05-31 11:37:32 +02:00
  • f7e0fcf84a optimize kuba 2025-05-31 11:30:18 +02:00