Commit Graph

68 Commits

Author SHA1 Message Date
Florian Schöck d81db0e798 preemphasis is now configurable from CLI
by adding -preemph [eu/us/{cutoff freq}] to your Pi FM parameters, you can now select the right preemphasis for your region
2016-03-12 19:05:39 +01:00
Florian Schöck 2cc5d96e62 switched the filter to a much better sounding one
previouse filter was described by:
y[n] = bx[n]-bx[n-1]+ay[n-1]
filter is now described by:
y(n) = x(n) - a x(n-1)
with 'a' = old 'b'
even i have no idea if that coefficient 'a' is selected correctly, it sounds much better than before
2016-03-12 18:16:45 +01:00
Florian Schöck e0cc4fe10a low-pass filter now has 22050Hz cutoff
Might not apply to the fm standards, but since you are not supposed to use it publicly, it doesn't matter
2016-03-12 17:36:47 +01:00
Florian Schöck 3629b9ec46 Code cleanup
whitespaces instead of tabs, see ad766936dc
2016-03-12 17:32:38 +01:00
Florian Schöck ad766936dc Initial implementation of aa preemphasis
Implemented as a first-order highpass filter
2016-03-12 00:57:21 +01:00
Christophe Jacquet 0fd4c1c030 Add tip to README 2016-02-07 16:05:29 +01:00
Christophe Jacquet c0d45323e4 Make the program more resilient to different configurations wrt the mailbox device 2015-09-06 20:02:31 +00:00
Christophe Jacquet 293b8f2000 Frequency range compatible with the Japanese band 2015-09-05 18:45:31 +00:00
Christophe Jacquet 6d8fe70793 Kill the carrier upon exit 2015-09-05 18:38:52 +00:00
Christophe Jacquet 589e825b33 Add fully functional support for the Raspberry Pi 2 2015-09-05 15:39:37 +00:00
Christophe Jacquet 001ecb3e09 Fixes 2015-09-04 20:02:05 +02:00
Christophe Jacquet 2d316cf121 Fixes 2015-09-04 20:01:10 +02:00
Christophe Jacquet c0e9095c87 Clarification: what PiFmRds is not, legal aspects. 2015-09-04 19:59:02 +02:00
Christophe Jacquet b3de5ab29d Now compiles on the Raspberry Pi 2, although it does not work 2015-08-31 20:34:25 +00:00
Christophe Jacquet f8613175ae Support for toggling the Traffic Announcement (TA) flag at run-time 2014-11-01 12:00:48 +01:00
Christophe Jacquet aa4d85450d Cleanly stop the DMA engine even when no file is found. Following the bug report by Github user CRC-Mismatch 2014-10-19 19:41:21 +02:00
ChristopheJacquet 0bf57f9ce0 Merge pull request #10 from Stealthii/float-ppm
Have ppm use float precision
2014-09-21 12:06:28 +02:00
Daniel Porter 16c9f1aed8 Have ppm use float precision 2014-08-04 01:21:31 +01:00
Christophe Jacquet a985b7db02 Remove unnecessary debug display 2014-06-22 22:35:27 +02:00
Eric Limpens 46d81c12fe Include string.h (not strings.h) to avoid warning about implicit declaration of strcmp 2014-06-22 21:16:11 +02:00
Christophe Jacquet c73e0a2079 Now generates clock time (CT) information once per minute 2014-06-22 18:58:52 +02:00
Christophe Jacquet 9a819e5001 Safely exits when it is impossible to seek back in the audio file 2014-06-22 18:00:38 +02:00
Christophe Jacquet c67306ea9b More documentation fixes 2014-05-04 18:21:40 +02:00
Christophe Jacquet 0ac16eff52 Documentation fixes 2014-05-04 18:20:49 +02:00
Christophe Jacquet 20a56c47b0 Add the ability to receive commands on a named pipe 2014-05-04 12:41:28 +02:00
Christophe Jacquet 4fdd59327b Platform-aware Makefile 2014-04-28 19:38:53 +02:00
Christophe Jacquet 921d60b0de Fix the README 2014-04-28 19:28:06 +02:00
Christophe Jacquet bf21074ca4 Fix the README 2014-04-28 19:21:42 +02:00
Christophe Jacquet 9a6ac7c310 Add support for piping audio data to Pi-FM-RDS' standard input 2014-04-28 19:17:10 +02:00
Christophe Jacquet d199a74b2a Add compilation options to use the Pi's FPU and vector unit. This lessens CPU usage greatly 2014-04-19 23:25:13 +02:00
Christophe Jacquet aa9d43f4ae Fix in the README 2014-04-14 18:56:35 +02:00
Christophe Jacquet 7c0bc17188 Updated README 2014-04-14 18:53:38 +02:00
Christophe Jacquet b6ba9fb12a Better stereo sample file 2014-04-14 18:28:28 +02:00
Christophe Jacquet 7efee690b3 Fix 19kHz stereo pilot level 2014-04-14 18:27:02 +02:00
Christophe Jacquet 93fc47c555 pi_fm_rds.c now uses fm_mpx.c, but stereo not yet functional 2014-04-14 18:11:36 +02:00
Christophe Jacquet dad13529a3 Better handling of command line in rds_wav.c 2014-04-14 17:32:04 +02:00
Christophe Jacquet e758ee63a0 Functional rds_wav that generates stereo multiplex signals 2014-04-14 17:26:56 +02:00
Christophe Jacquet e1defb48e6 Started working on generating a complete FM multiplex 2014-04-14 01:03:32 +02:00
Christophe Jacquet 901c975ec6 Improved README 2014-04-08 23:37:01 +02:00
Christophe Jacquet 05d64a36e2 Improved README 2014-04-07 19:56:27 +02:00
Christophe Jacquet e5a7f19065 Documentation++ 2014-04-06 22:45:36 +02:00
Christophe Jacquet cb1d10e331 Documentation++ 2014-04-06 22:38:53 +02:00
Christophe Jacquet 5a02d1ab31 Documentation++ 2014-04-06 22:33:52 +02:00
Christophe Jacquet bfd74170bc Documentation++ 2014-04-06 22:27:42 +02:00
Christophe Jacquet f5a6b4f84e Documentation++ 2014-04-06 22:26:33 +02:00
Christophe Jacquet 1d61607b6a Documentation++ 2014-04-06 22:26:06 +02:00
Christophe Jacquet f41de0468e Documentation++ 2014-04-06 22:06:32 +02:00
Christophe Jacquet 61351e76bb Documentation++ 2014-04-06 21:44:42 +02:00
Christophe Jacquet 7897110a82 Documentation++ 2014-04-06 21:39:33 +02:00
Christophe Jacquet a7a9329ceb More work on README 2014-04-06 20:09:16 +02:00