Wykres commitów

92 Commity (1423af8c6eb201a92d992965e01073717cbc5fdb)

Autor SHA1 Wiadomość Data
F5OEO 1423af8c6e
Readme
Begin to modify instructions
2018-03-22 12:01:25 +01:00
F5OEO b54300c9e6 Merge pull request #86 from tomswartz07/master
Update README
2017-10-27 00:20:18 +02:00
Tom Swartz a153026645 Update README 2017-10-26 17:13:38 -04:00
F5OEO 38079ca8bc Merge pull request #72 from bskari/avconv
Fix Python interface and add support for broadcasting any avconv supported media
2017-07-19 20:09:05 +02:00
Brandon Skari 53f573b4fd Improve some documentation, bump version # 2017-06-16 14:44:11 -06:00
Brandon Skari cc0d5e2baf Fix reading wav samples
Wave samples are stored as a 16 bit little endian signed integer, and
then converted to floats by dividing by 32768. I was reading in numbers
as unsigned.
2017-06-15 01:29:48 -06:00
Brandon Skari b7826adc22 Skip to data section regardless of file format
PCM WAV files should have the "data" header in a specific place, but
whatever format avconv spits out has it further on. Just read until we
hit that.
2017-05-26 21:31:15 -06:00
Brandon Skari 5dac2164cb Log debug output from avconv; catch exceptions and properly join avconv thread 2017-05-18 00:02:21 +00:00
Brandon Skari da2b5b04b3 Simplify error reporting; work around some confusing problems with avconv 2017-05-17 23:57:13 +00:00
Brandon Skari ce21edcfe3 Fix data fill loops 2017-05-17 23:54:00 +00:00
Brandon Skari 95c61179ed Update dependency requirements 2017-05-15 15:40:59 -06:00
Brandon Skari bcc68e6973 Try to open /dev/mem before calling rpitx
mailbox.c tries to open /dev/mem and calls exit if it doesn't have
permission, which will forcefully exit the Python runtime. Try to open
it and throwing an exception if it fails before umping into C to give
users a chance to recover.

Also, because avconv is writing to a pipe, having the read end of the
pipe unexpectedly close breaks the terminal. I kept having to run
`reset` to get it back.
2017-05-15 15:35:51 -06:00
Brandon Skari b85ece8df6 Remove dependency on libsndfile
Wav files include the length of the data in the file header. libsndfile
expects this length to be there and be sane. Unfortunately, when piping
data from avconv, this length is dummied out because the full length is
not known yet, so libsndfile can't be used to process a pipe data
stream. This removes the libsndfile dependency and replaces the used
functions with hand written ones.
2017-05-15 15:11:09 -06:00
Brandon Skari 8f25432e4f Start processing data from pipe
ffmpeg is being weird. Wave files start with a header consisting of the
text "RIFF", followed by 4 bytes for the length of the data chunk. But
because we're streaming to a pipe, that value isn't known yet, so it
just fills in 0xFFFFFFFF. libsndfile apparently doesn't like this and
quits with the message "Error in WAV file. No 'data' chunk marker." I
think I might need to drop libsndfile and manually process the data.
2017-05-10 17:47:28 -06:00
Brandon Skari 6dfb5ba5b0 Ignore stdout from subprocess; add debug logging 2017-05-04 13:52:03 -06:00
Brandon Skari 87cac9d4f6 Extract and convert audio using ffmpeg or avconv 2017-05-04 12:11:56 -06:00
Brandon Skari 5d31e1ea07 Fix Python 3 2017-04-28 16:49:44 -06:00
Brandon Skari 2c0bf1b33a Fix Python interface 2017-04-28 15:03:25 -06:00
F5OEO bfa3447731 Update README.md
Add warning about transmitting.
2016-10-11 09:01:37 +02:00
F5OEO 4f9a546c54 Execute rpidatv here 2016-09-03 23:15:22 +00:00
F5OEO b58307a835 Fix by Gaonim with Args 2016-09-03 13:38:09 +00:00
F5OEO fdf239144d Merge branch 'master' of http://github.com/F5OEO/rpitx 2016-09-02 13:22:22 +00:00
F5OEO 9648bc4beb Add Gaionim pyhthon dcf77 generator : works on setting my clock 2016-09-02 13:20:06 +00:00
F5OEO 25e5869d2e Clear code, work on DMA timing and calibration 2016-09-02 09:59:25 +00:00
F5OEO bbdcba4f1d DMA PWMF (2nd DMA) not used anymore and could block on terminate 2016-08-30 08:51:15 +00:00
F5OEO 1212d05256 Merge pull request #32 from redfast00/improve-docs
Improved README formatting and wording
2016-08-28 11:36:08 +02:00
redfast00 1c0bc9df9e
Improved README formatting and wording 2016-08-27 20:34:27 +02:00
F5OEO 177e7ef74a DMA 5 instead of 14 2016-08-27 15:00:52 +00:00
F5OEO feb6f4cf3e utils.h no longer required with rasperbbery-pi-revision 2016-08-27 13:30:45 +00:00
F5OEO 10bef28674 Change to DMA 14 2016-08-27 13:29:30 +00:00
F5OEO 5e6ab3dc4a Remove prompt on apt-get 2016-08-27 13:28:33 +00:00
F5OEO bb06fd1e69 Modify models to all raspberry pi models at this time 2016-08-27 13:28:01 +00:00
F5OEO b8945be2a5 Use PLLD instead of PLLC : need to install dt-blob.bin to set PLLD frequency@1GHZ 2016-08-27 13:27:04 +00:00
F5OEO 1a7733bbe7 rpitx use raspebrry-pi-revision 2016-08-27 13:26:08 +00:00
F5OEO 6bdcc3d8d7 Licence for raspberry-pi-revision 2016-08-27 13:24:55 +00:00
F5OEO fc521dfb28 Use https://github.com/AndrewFromMelbourne/raspberry_pi_revision 2016-08-27 13:22:50 +00:00
F5OEO fac6e08fd5 Add Device tree to set PLL_D 2016-08-27 13:20:52 +00:00
F5OEO ca94b38c1a Merge pull request #12 from CircaLucid/patch-1
Added specific input wave file format (more detailed)
2016-07-12 10:50:18 +02:00
F5OEO bc74003211 Merge pull request #27 from jnk0le/master
Yes, war between 1TBS and allman.. My old school style is generally allman..but due to other contributions , could have some mixed formats.
2016-07-12 10:49:01 +02:00
jnk 0le 64f3664d88 fixed spacing 2016-07-11 23:22:01 +02:00
F5OEO 994d805596 Merge pull request #13 from bskari/master
Add Python interface for FM broadcasting
2016-03-06 11:47:53 +01:00
Brandon Skari 80948442f1 Python 3 support 2016-02-28 16:14:24 -07:00
Brandon Skari fadb0acbc4 Ignore certain signals 2016-02-28 16:14:24 -07:00
Brandon Skari 58b5585dc2 Don't write to a temporary file to find version 2016-02-28 16:14:24 -07:00
Brandon Skari 64ca1afd85 Fix parsing memory addresses 2016-02-28 16:14:24 -07:00
Brandon Skari 8092e79732 Test fix please ignore 2016-02-28 16:14:24 -07:00
Brandon Skari 68c57f06c6 Only close file descriptor if it's open 2016-02-28 16:14:24 -07:00
Brandon Skari 16b844f636 Return NULL on error to throw an exception 2016-02-28 16:14:24 -07:00
Brandon Skari 001770505c Use long for address base 2016-02-28 16:14:24 -07:00
Brandon Skari b11e7e7e08 Set gitignore binaries to absolute paths 2016-02-28 16:14:24 -07:00