Saxon Nelson-Milton
842e2a2d93
Add functionality for broadcastManager state save
...
This change adds functionality for broadcastManager state save.
This is done by marshalling the broadcastManager and saving to a
file. Loading is performed by unmarshalling an re-populating a
broadcastManager value. Testing has been added for this
functionality. Other functionality has been added a side effect.
2023-02-04 12:29:47 +10:30
David Sutton
94a7971ec2
Merged in audiofiltering (pull request #492 )
...
Audiofiltering:
Implemented audiofilters. Lowpass, HIghpass, Bandpass, Bandstop, Amplifier.
Approved-by: Saxon Milton
Approved-by: Trek Hopton
2023-02-01 02:02:18 +00:00
ausocean-david
70afcdb816
Audiofiltering:
...
Add amplifying capabilities, using Filter.Upper as the factor for amplification
2023-01-18 14:10:32 +10:30
David Sutton
52a56f3a52
Audiofiltering:
...
Increase efficiency of convolution algorithm.
Approximately 150x faster. (takes ~4.5s to lowpass filter ~1min of audio)
2022-12-28 16:02:14 +10:30
David Sutton
b2d2a41fdc
Audiofiltering:
...
Add amplification filter which uses filter.Upper as factor for amplification
2022-12-28 00:30:30 +10:30
ausocean-david
d029038db9
Audiofiltering:
...
Interface the function with pre-existing data structures. The filters can now be generated into a filter type using a generic Generate function.
This generates a filter off of the specifications within the filter struct. There is a generic Apply function which takes in a buffer of PCM data (defined in pcm.go),
and outputs to a []byte.
2022-12-24 02:28:15 +10:30
ausocean-david
75124b4494
Audiofiltering:
...
Implement bandpass filter by combining lowpass and highpass filters.
2022-12-24 02:28:15 +10:30
ausocean-david
49db1041d3
Audiofiltering:
...
Improve filter performance by reducing frequency leakage.
2022-12-24 02:28:15 +10:30
ausocean-david
fcc7d72b0b
Audiofiltering:
...
Add highpass filter functionality.
2022-12-24 02:28:15 +10:30
ausocean-david
8231379a51
Audiofiltering:
...
Increase the efficieny and stability of algorithms by making use of waitgroups and goroutines.
2022-12-24 02:28:15 +10:30
ausocean-david
80ab5e4768
Audiofiltering:
...
Create Lowpass filter with frequency control, with efficient convolution algorithm.
2022-12-24 02:28:15 +10:30
Trek Hopton
18a869abfa
Merged in make-flags (pull request #491 )
...
init: add flag for rv build tags in makefile
2022-12-23 01:27:04 +00:00
Trek H
800d3d141a
init: add flag for rv build tags
2022-12-23 11:44:06 +10:30
Saxon Milton
2faec86eb8
Merged in add-makefile-etc (pull request #490 )
...
cmd/vidforward: add Makefile and service setup script
Resolves issue #387
2022-12-20 09:12:29 +00:00
Saxon Nelson-Milton
5a07b6ed5f
cmd/vidforward: add Makefile and service setup script
...
This change provides a Makefile that will build the vidforward
service binary and also utilise a script to setup of a systemd
service for this binary.
2022-12-05 20:16:31 +10:30
Saxon Milton
e71d8193d6
Merged in watchdog-notifier (pull request #489 )
...
cmd/vidforward: add watchdog notifier
Resolves issue #388 .
Approved-by: Alan Noble
Approved-by: Russell Stanley
Approved-by: Trek Hopton
2022-12-05 09:26:24 +00:00
Saxon Nelson-Milton
8f8b9ca0f4
cmd/vidforward: add watchdog notifier
...
This change adds a "watchdog notifier" utility which tracks the
health of request handlers and notifies an external systemd
watchdog if everything looks good. This allows us to cause a
termination if any request handlers get hung.
2022-12-05 19:54:14 +10:30
Saxon Milton
f6e00342f7
Merged in restructure (pull request #488 )
...
cmd/vidforward: restructure code
2022-11-26 23:37:44 +00:00
Saxon Nelson-Milton
3ea4aff365
cmd/vidforward: restructure code
...
This change creates two new files. Firstly, slate.go, to house
slate related functionality. Secondly, utils.go to house generic
utilities and helpers.
2022-11-27 10:07:04 +10:30
Saxon Milton
0e6fb95461
Merged in write-slate (pull request #487 )
...
cmd/vidforward: add slate image write functionality
Resolves issue #379
Approved-by: Alan Noble
Approved-by: Russell Stanley
Approved-by: Trek Hopton
2022-11-26 03:11:59 +00:00
Saxon Nelson-Milton
f3cf74ce51
cmd/vidforward: add slate image write functionality
...
This includes adding facilities to handle termination signals
and err handling. Some modifications have been made to the file
input to accomodate the concurrency requirements. The slate
read mechanism is still fairly rudimentary and can only read
from a hardcoded file, but at this stage is for prototyping
purposes.
2022-11-26 13:38:25 +10:30
Saxon Nelson-Milton
cb31c5de9b
Update to latest utils ver
2022-11-20 12:17:21 +10:30
Saxon Milton
28da53bd6a
Merged in control-api (pull request #485 )
...
cmd/vidforward/main.go: add control API endpoint with PUT and DELETE methods
Resolves issue #380
Approved-by: Alan Noble
Approved-by: Trek Hopton
2022-11-14 10:18:55 +00:00
Saxon Nelson-Milton
a4a9ab07f8
cmd/vidforward/main.go: add control API endpoint with PUT and DELETE methods
...
This change removes usage of netsender to provide remote
configuration of the service and replaces with a basic control
REST API with PUT and DELETE methods. PUT requests add or update
a broadcast, and DELETE removes a broadcast. In addition to these
changes, some modification of the NOOP lexer has been performed
including tuning of the controller.
2022-11-14 20:46:21 +10:30
Saxon Milton
96e1be0910
Merged in mts-buffer-max-alloc (pull request #486 )
...
revid/senders.go: increase buffer pool maxAlloc in mtsSender
Resolves issue #382
Approved-by: Trek Hopton
2022-11-14 09:55:07 +00:00
Saxon Nelson-Milton
300c5bc14d
revid/senders.go: increase buffer pool maxAlloc in mtsSender
2022-11-13 09:38:49 +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 Milton
ea900398a3
Merged in video-forwarder (pull request #484 )
...
Video forwarder
Resolves issue #378
Approved-by: Russell Stanley
2022-09-21 07:24:47 +00:00
Saxon Nelson-Milton
dddfcc256b
vidforward & codecutil & mts & device & revid: improved Noop lexer code using ring buffer structure and improved overall commenting and code
2022-09-21 16:47:58 +09:30
Saxon Nelson-Milton
b312774b49
cmd/vidforward & revid & device & codec/codecutil: fixes bugs and improving stream quality
2022-09-14 07:44:35 +00:00
Saxon Nelson-Milton
46e97debd5
cmd/vidforward & revid: initial implementation of vidforwarding software
2022-09-09 11:24:29 +09:30
Saxon Milton
f9fddcf0e8
Merged in fix-loop (pull request #483 )
...
revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness
Resolves issue #374
Approved-by: Trek Hopton
2022-09-01 05:58:45 +00:00
Saxon Nelson-Milton
862c06b5f3
revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness
2022-08-31 16:58:40 +09:30
Saxon Milton
af9ae527f4
Merged in fix-sync-reboot (pull request #481 )
...
init/Makefile: adding target to build syncreboot. This no longer assumes the utils dir exists.
resolves issue #373
Approved-by: Trek Hopton
2022-06-10 01:27:44 +00:00
Saxon Nelson-Milton
f1b1d5c880
init/Makefile: adding target to build syncreboot. This no longer assumes the utils dir exists
2022-06-09 17:03:48 +09:30
Saxon Milton
0d5100b2c8
Merged in fix-senders-logging (pull request #482 )
...
revid/senders.go: using logging.Logger interface
resolves issue #343
Approved-by: Trek Hopton
2022-06-09 05:49:16 +00:00
Saxon Nelson-Milton
9978e0187c
revid/senders.go: using logging.Logger interface
2022-06-08 14:13:14 +09:30
Saxon Milton
84bf14aa0a
Merged in fix-upgrade (pull request #480 )
...
cmd/rv: adding rv upgrade function. init: refactor Makefile and scripts for more flexibility
Resolves issue #369
Approved-by: Trek Hopton
2022-06-07 05:52:12 +00:00
Saxon Nelson-Milton
3101d21d99
cmd/rv: adding rv upgrade function. init: refactor Makefile and scripts for more flexibility
2022-06-07 15:12:08 +09:30
Saxon Milton
d64e46794a
Merged in updating-logging (pull request #479 )
...
using latest version of utils and using latest logging package
Resolves issue #372
Approved-by: Trek Hopton
2022-06-03 07:04:52 +00:00
Saxon Nelson-Milton
3bae489a20
init/Makefile: renaming install_soft target to rebuild and performing go build under this target
2022-06-01 14:29:28 +09:30
Saxon Nelson-Milton
9c28290a88
providing install_soft build target
2022-06-01 14:06:59 +09:30
Saxon Nelson-Milton
44fa6bc54a
providing install_soft build target
2022-05-31 14:47:06 +09:30
Saxon Nelson-Milton
5eb5992f15
using latest version of utils and using latest logging package
2022-05-27 15:42:58 +09:30
Saxon Nelson-Milton
ab49930149
fixing customizable make username problems
2022-05-27 12:44:18 +09:30
Saxon Nelson-Milton
e894abe339
improved container/mts/encoder.go error wrapping and checking errors from encoder write in revid/senders_test.go
2022-05-27 11:58:53 +09:30
Saxon Nelson-Milton
7a397ff96f
init/Makefile: make user customizable
2022-05-27 11:03:54 +09:30
Saxon Nelson-Milton
47028b70c2
cmd/rv/main.go: This resolves issue #370 . Removing default statement in readPin so that netsender net speed values are kept
2022-05-25 15:12:15 +09:30
Saxon Nelson-Milton
25b4b271a1
updating required iot version and making appropriate changes to code
2022-05-25 15:01:24 +09:30