Commit Graph

41 Commits

Author SHA1 Message Date
David Sutton 89e530644d exp/i2s: Write barebones i2s recording functionality (#440)
This change adds an experimental script which utilises the yobert/alsa golang package to record audio using an i2s sensor on a raspberry pi. The script saves an audio file to the local directory called audio.wav.
2024-02-12 12:49:20 +10:30
Trek Hopton 19b696683b cmd: add program for unwrapping MTS media to a local file
This is useful in the case that we want to playback media using players that don't support MPEG-TS eg. audacity for audio.

Approved-by: Saxon Milton
2023-11-30 03:52:25 +00:00
Trek Hopton ba550e286a SCUHU: configure SCUHU and add services and scripts to run at startup on pi
This is so that the software required for SCUHU will run at startup on the pi.

Approved-by: Alan Noble
Approved-by: Saxon Milton
2023-10-20 03:49:55 +00:00
Trek H 9131409d08 exp/rvcl: remove nil option from netsender 2023-10-17 20:12:58 +10:30
Saxon Nelson-Milton 67e03d0f5c Invert tag for inclusion of CV functionality
Prior to this change, CV was included by default, however, this
doesn't seem appropriate given that this functionality is rarely
used. For that reason, the meaning of the nocv tag has been
inverted i.e. it is now called withcv, and it the tag must be
included to build CV components.
2022-11-13 08:19:12 +10:30
Saxon Nelson-Milton fe2f091272 run gofmt 2022-11-06 17:25:28 +10:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Russell Stanley 808f0f662e Fixed range issues with gocv 2022-02-01 16:36:43 +10:30
Dan Kortschak 05a6b4435a
revid: rename KeyRB* and RB* to refer to pool
This also changes lexically significant strings in configuration text.
2021-05-17 11:18:44 +09:30
Dan Kortschak f27e4abdf8
ci,filter: simplify, generalise and document build constraints 2021-05-17 10:51:50 +09:30
Saxon Nelson-Milton 7b00f00e16 added README.md files to top level packages 2021-04-11 11:19:37 +09:30
Saxon Nelson-Milton b077752462 revid & device/raspistill & container/mts: integrating device/raspistill functionality into revid 2021-01-27 16:49:17 +10:30
Saxon Nelson-Milton 5436272d78 exp/rvcl/main.go: running go fmt 2020-12-21 11:51:21 +10:30
Saxon Nelson-Milton 528dfe29e4 exp/rvcl: adding default config param consts and changing flag name 2020-12-21 11:18:35 +10:30
Saxon Nelson-Milton a4a409b4f5 exp/rvcl: adding default config option and opening VLC in the case of RTP output
If no config is given as arguments or file, then a default config is used. This is file input (25 FPS) with MPEG-TS packetization and RTP output. If RTP output is selected, a VLC window to receive the
stream is opened.
2020-12-20 12:03:46 +10:30
Saxon Nelson-Milton 606b784f5e fixed various things particularly use of %w formatting directive in wrong places to satisfy repo testing 2020-12-19 13:43:23 +10: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
Ella Pietraroia 2f95c3836c checking godoc on localhost and making edits 2020-04-23 13:13:37 +09:30
Ella Pietraroia 149f95af84 no package level comments in test files 2020-04-23 12:34:11 +09:30
Ella Pietraroia f55ecd2a9d exp: package level comments 2020-03-12 16:00:40 +10:30
Scott 17cd602b7c exp/flac: add package comments to flac package 2020-02-26 14:32:08 +10:30
Saxon 3a83827d86 moved cmd/rvcl to exp/rvcl 2020-01-29 10:04:55 +10:30
Scott 4a4bf0dab6 Moved test videos from av to test repository 2020-01-07 09:37:56 +10:30
Scott e0760f0096 Circle-CV ignores gocv/OpenCV for testing. 2019-12-31 13:37:23 +10:30
Saxon e1712773e1 Added gocv experimental code with testing files 2019-12-16 12:48:10 +10:30
Trek H 796a3b9a97 pcm: changed term clip to buffer 2019-11-13 16:54:41 +10:30
Trek H 5e472ba4c9 pcm: refactored to be general not alsa only
Addition of new structs and helper functions for passing around pcm clips/buffers and their formats so that we don't have to import and rely on yobert/alsa code.

Updated any commands and alsa package to use refactored code.
2019-11-12 21:24:08 +10:30
Trek H b0588cee14 audio: fixed pcm exp cmds and removed buggy period negotiation 2019-06-14 00:51:26 +09:30
Trek H 537d5bab73 adpcm: updated decode and encode pcm commands 2019-05-22 15:04:21 +09:30
Trek H 29e49a7a1c adpcm, pcm: updated documentation 2019-05-08 20:04:40 +09:30
Trek H 8e9cbd5a79 pcm: updated import statements using pcm 2019-04-09 15:48:54 +09:30
Saxon da54f7af27 av: fixed remaining import errors 2019-03-28 11:35:32 +10:30
Trek H 9a9a38dbe1 pcm: simplified and improved efficiency of code. 2019-03-26 15:43:11 +10:30
Trek H 708fece7ec Merge remote-tracking branch 'origin/master' into channel-and-rate-conversion 2019-03-15 18:11:31 +10:30
Trek H fdc4d880ac ADPCM: added a Write function to decoder so that it implements io.Writer,
and also so that it can decode adpcm of arbitrary length.
Updated test and decode command to use Write.
2019-03-15 17:07:22 +10:30
Trek H c7c7ef75f5 ADPCM: Added a Write function to Encoder so that it implements an io.Writer,
and also so that a byte slice of any length can be encoded.
Added global variables for adpcm and pcm block sizes.
Updated tests, encode and decode pcm commands.
2019-03-15 15:47:08 +10:30
Trek H 927194de4c pcm: added file headers 2019-03-13 13:59:21 +10:30
Trek H d04dc217ec pcm: Added test and command for mono conversion. Also made resampleing use alsa.Buffer 2019-03-13 13:19:53 +10:30
Trek H e9d4fb47fc pcm: added to exp a program that resamples pcm files 2019-03-12 18:53:08 +10:30
Trek H c234c8b760 ADPCM: changed location of encode decode adpcm file commands 2019-03-08 15:46:48 +10:30
Dan Kortschak b24e72caa5 experimentation: rename to exp 2019-02-09 22:14:21 +10:30