Commit Graph

373 Commits

Author SHA1 Message Date
Saxon Nelson-Milton bdb44214a1 rv & revid/{revid.go, pipeline.go}: added probe component to revid and wrote skeleton of probe implementation for turbdidity sensing in rv 2022-02-01 16:25:42 +10:30
Saxon Nelson-Milton 36f1436645 cmd/rv/main.go: updating bitrate pin and using const 2022-01-13 16:08:02 +10:30
Saxon Nelson-Milton 49aa588aae cmd/rv/main.go & revid/config/variables.go: rename Variables Type_ field to Type and comment Variables global. 2021-07-22 13:06:06 +09:30
Dan Kortschak 7541015730
cmd/audio-netsender,device/alsa,revid: swap out ring buffer for pool buffer
Names of config fields have been left unchanged since they appear to be lexically
coupled to behaviour and so require greater care.
2021-05-17 11:15:38 +09:30
Dan Kortschak 3c7828599c
cmd/looper: simplify build constraints and document crippled build artifact 2021-05-17 10:49:20 +09:30
Saxon Nelson-Milton 7b00f00e16 added README.md files to top level packages 2021-04-11 11:19:37 +09:30
Trek H ccd9c7345c treatment: addressing PR comments 2021-03-04 11:50:05 +10:30
Trek H 78cc2a6ca8 treatment: add support for digital volume control 2021-03-03 21:42:01 +10:30
Trek H d14766d512 treatment: use levelled logging functions 2021-02-15 11:03:37 +10:30
Trek H e3f8af1e78 treatment: restart audio when path changed 2021-02-11 13:25:04 +10:30
Trek H 8b4e28a944 treatment: create and check audiofilepath variable 2021-02-11 09:53:35 +10:30
Trek H 1d67ab65a4 alsa: refactor DataSize function 2020-12-24 10:55:44 +10:30
Saxon Nelson-Milton 1a4ba41322 cmd/looper: added build & run utilities including .service file for robust execution 2020-12-19 13:00:41 +10:30
trekhopton b0e3240ebc treat: make default audio path non relative 2020-10-19 19:32:54 +10:30
Trek H 45e36a6c09 treat: makefile, service and .sh scripts for installing 2020-09-29 16:35:55 +09:30
Trek H a989cd69e0 treat: use aplay not omxplayer 2020-09-14 16:09:24 +09:30
Trek H 52e7881b62 treat: removed debug by default 2020-09-14 11:22:11 +09:30
Trek H 0646c36491 treat: nil read pin and add debug logging 2020-09-10 13:06:22 +09:30
Trek H 5b035a6e77 treatment: included rpi support, renew cmd 2020-08-21 21:21:13 +09:30
Trek H e5e9c31ffb treatment: modify tags, check err on flag 2020-08-19 12:43:56 +09:30
Saxon 9329c30928 cmd/treatment/main.go: fixed file header indentation 2020-08-14 17:26:47 +09:30
Saxon 94825f3db9 cmd/treatment: wrote driver to handle audio playback and recording for sound check 2020-08-14 15:40:22 +09:30
Trek H 3265f7c195 soundcheck: builds 2020-08-11 21:17:21 +09:30
Trek H 73e1007edd soundcheck: add basic structure of sound check procedure 2020-08-08 14:19:25 +09:30
Trek Hopton 82e7ed29d7 rv: initialise variable map 2020-05-19 06:46:47 +00:00
Saxon Milton ce50b5fbd1 Merged in nicer-update-func (pull request #411)
revid/config: variables struct providing names, types, update and validation

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-05-19 06:02:02 +00:00
Trek H 683feb5df1 looper: modify rc.local path to reflect new location 2020-05-14 19:50:50 +09:30
Trek H 6e080b2522 audio-player: moving to vidgrind repo 2020-05-07 00:49:43 +09:30
Saxon Milton 4cf155bbc2 Merged in correct-config-types (pull request #401)
Correct types of fields in revid/config/config.go Config struct
2020-05-02 03:55:13 +00:00
Saxon b057ea5c10 cmd/looper: remove binary 2020-04-27 19:52:36 +09:30
Saxon d3b7a7ed5a cmd/audio-player/looper => cmd/looper 2020-04-27 19:37:35 +09:30
Ella Pietraroia 890f142fb9 Merged in godoc (pull request #387)
Package level comments

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-04-23 05:35:23 +00:00
Ella Pietraroia 2f95c3836c checking godoc on localhost and making edits 2020-04-23 13:13:37 +09:30
Saxon Nelson-Milton 10908a1749 cmd/rv/main.go: added delay before running stuff
We were getting problems with connection to RTSP device when revid was started from boot.
It seemed like system networking things were not given enough time to establish themselves
before we tried to use them. A delay before running revid fixes this, but is a bit of a
hacky solution. Better solution would be appreciated.
2020-04-10 17:33:24 +01:00
Saxon Milton 0fa50d1a46 Merged in improve-logging (pull request #389)
Improve debug and info logging quality and frequency

* cmd/rv: added some more debug and info logging

* revid: improving logging in revid.go

* revid: improved logging in senders.go

* revid: don't need to set log level as netsender does it

* added some extract log messages

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-27 12:20:51 +00:00
Saxon Milton 19cbcfb08a Merged in audio-looper-netsender (pull request #386)
* cmd/audio-player/looper: integrating netsender client in to audio-looper to allow for sending of logs to cloud

* cmd/audio-player/looper: added netsender.conf file for copying when making

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-09 04:46:17 +00:00
Saxon 94a7c0cb5a cmd/audio-player/looper: don't need to deal with stdout to file anymore in rc.local now that we're using the lumberjack logger 2020-03-06 18:00:18 +10:30
Saxon 0d761deed3 cmd/audio-player/looper: fixed indentation of file headers 2020-03-06 17:55:13 +10:30
Saxon bb22272804 cmd/audio-player/looper: general clean up of main file
No longer doing multiwriter that stdout and stderr to stdout and stderr again and buffs. Now only buffs so that we can log anything in stdout or stderr.
2020-03-06 17:50:21 +10:30
Saxon 170a18830e cmd/audio-player/looper: updated package level comment 2020-03-06 16:11:27 +10:30
Saxon adbbd4d458 cmd/audio-player/looper: wrote wrapper for lookPath calls to simplify code 2020-03-06 16:10:01 +10:30
Saxon d0646f73bc cmd/audio-player/looper: general clean up of pi0.go 2020-03-06 15:53:11 +10:30
Saxon a8dc1f78df cmd/audio-player/looper: added missing file headers 2020-03-06 15:26:35 +10:30
Saxon e97745c0df cmd/audio-player/looper: cleaned up README.md file 2020-03-06 14:27:22 +10:30
Ella Pietraroia 6968b973bd looper: rc.local adding path, main.go letting finish the play to find stderr before fatal 2020-03-02 18:32:28 +10:30
Ella Pietraroia 4690209fd5 audio-player: error checking 2020-03-02 12:33:01 +10:30
Scott c5fb58e70c cmd/audio-player/looper: use a command line flag for choosing audio file path 2020-02-28 16:28:02 +10:30
Scott 8cbc7e700c makefile and rc.local fix 2020-02-28 16:06:46 +10:30
Scott 0399051e0e cmd/audio-player/looper: added make file 2020-02-28 15:55:30 +10:30
Scott 17c7ef857e cmd/audio-player/looper: use same logger as revid 2020-02-28 14:30:55 +10:30