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
F5OEO
1f7357e6dd
Fixed if WaitNano is very short
2017-05-19 09:37:25 +00: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
F5OEO
8d9bc02136
Clean code : remove ole FrequencyAmplitude function
2017-05-17 14:24:52 +00:00
F5OEO
34344e7b66
Set a /2 step delay in timing calculation
2017-05-17 14:12:48 +00:00
F5OEO
6e598dd32c
Shorter calibration
2017-05-17 08:39:35 +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
F5OEO
d1c4aae346
Add auto calibration - Fixe a timing in sstv
2017-05-15 16:08:47 +00:00
F5OEO
f9022c0ed8
Add calibration tab for pizero,pi2,pi3
2017-05-15 10:26:20 +00:00
F5OEO
0ddd7c521c
Fine tuning timing
2017-05-12 13:41:41 +00:00
F5OEO
7376e2f66f
Rewrite FrequencyAmplitude - Sample Timing BIG fixed
2017-05-11 14:47:12 +00: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
F5OEO
aae9fbc7e7
Set PLL to 1.1GHz to avoid spurious on 144MHZ due to Mash
2017-05-09 13:07:16 +00:00
F5OEO
3aa2badc3d
Add unwrap in IQ->frequency : remove unwanted frequency >samplerate/2
2017-05-09 09:56:36 +00:00
F5OEO
6ec9f5a623
Trial pull on clk pin : no change
2017-05-05 12:09:40 +00: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
F5OEO
6a73eda84f
Mash and harmonic
2017-05-04 15:34:06 +00:00
F5OEO
069faf32dd
New experimental calculation of amplitude
2017-05-04 10:30:37 +00:00
F5OEO
e0a7e71109
Issue #59 fixed : wrong harmonic calculation
2017-05-03 13:00:47 +00:00
F5OEO
e1d90e5a29
Clean unused files
2017-05-03 09:38:38 +00:00
F5OEO
264dd932c9
Add test and Makefile for opera
2017-05-03 09:26:57 +00:00
F5OEO
26675b5bf1
Opera for rpitx
2017-05-03 09:07:33 +00:00
F5OEO
d1144e3e07
Fixe ppm to get in account
2017-05-02 13:08:59 +00:00
F5OEO
f5b62cc405
Use atan2 for precision and PWMF random fixed
2017-04-29 09:54:21 +00: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
aa67743458
Shuffle to remove spurious and begining of calibration
2017-04-26 17:06:53 +00: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