2536 Commits

Author SHA1 Message Date
LordGrey
26f32a0101 Minor update 2023-04-02 12:53:27 +00:00
LordGrey
5586381a68 Update Sk6812 baud range and ensure range in UI 2023-04-02 12:53:03 +00:00
LordGrey
6941f4c4f7 Add wait in close() 2023-03-31 14:04:45 +00:00
LordGrey
1d6b620d88 Refactor device identifier 2023-03-27 22:33:09 +00:00
LordGrey
c800235ef6 Fix spaces 2023-03-27 18:49:11 +00:00
LordGrey
dce599e64d Add libftdi1-dev to CompileHowto.md 2023-03-27 16:00:40 +00:00
LordGrey
af8457d5f1 Add libftdi1-dev to codeql.yml 2023-03-27 15:55:54 +00:00
LordGrey
56d136f5cb Removeing "format": "stepper", 2023-03-27 15:41:41 +00:00
LordGrey
b467c7e8fd Refactor labels 2023-03-27 15:41:18 +00:00
LordGrey
184b173dec Fix CMakeLists.txt 2023-03-27 15:35:33 +00:00
LordGrey
0dd56206cf Fix wording 2023-03-27 15:33:58 +00:00
LordGrey
0d67ed3248 Fix ENABLE_DEV_FTDI 2023-03-27 15:32:29 +00:00
LordGrey
b631dd22d9 Disable default ftdi for windows 2023-03-26 19:59:05 +00:00
LordGrey
b1e6b8efdd Change wording 2023-03-26 19:36:29 +00:00
LordGrey
77da8be5cd Refactor _brightnessControlMaxLevel 2023-03-26 19:35:34 +00:00
LordGrey
cbb43dfa5a Remove commen 2023-03-26 19:34:06 +00:00
LordGrey
bc560b90d6 Add setting to log 2023-03-26 19:33:14 +00:00
LordGrey
7bf2ad2cbf Refactor device identifiers 2023-03-26 19:30:32 +00:00
LordGrey
af65f6f128 Remove close delay 2023-03-26 18:44:19 +00:00
LordGrey
040b45d7ea Remove openDevice 2023-03-26 18:42:32 +00:00
LordGrey
f7c6c13f2a Typo 2023-03-26 18:41:26 +00:00
LordGrey
d5dc60db31 Remove auto discovery 2023-03-26 18:38:24 +00:00
LordGrey
e6f6954f1a Remove redundant validation 2023-03-26 18:36:35 +00:00
LordGrey
20bd8edb5f Refactor schemas 2023-03-26 18:35:35 +00:00
LordGrey
93a0c60edb Remove algo source 2023-03-26 18:32:24 +00:00
LordGrey
24e5c6109c Remove comment 2023-03-26 18:28:24 +00:00
LordGrey
f359c1786c Refactor condition 2023-03-26 18:25:56 +00:00
LordGrey
29cab39382 Rename flag 2023-03-26 18:25:16 +00:00
LordGrey
18b7df52e9 Statically link libftdi1 2023-03-26 15:26:34 +00:00
LordGrey
7e5b87bbdc Add ftdilib mac os dependency 2023-03-26 14:44:25 +00:00
LordGrey
99a26166ae Add build option 2023-03-26 14:44:06 +00:00
LordGrey
f4100f0cfe Update CMakeLists.txt 2023-03-26 12:54:37 +00:00
LordGrey
f0259172fd Implement ftdi led device 2023-03-25 23:32:14 +00:00
dependabot[bot]
2f09f9a0b8
Bump actions/upload-artifact from 2.2.0 to 3.1.2 (#1583)
GitHub Actions Update
2023-03-16 21:38:08 +01:00
Portisch
85eb62f314
Fix missing Include (#1585)
'std::numeric_limits' do need '#include <limits>'
2023-03-09 08:38:05 +01:00
Hyperion-Bot
c73f8623b8 Update submodule rpi_ws281x 2023-03-07 00:26:14 +00:00
Harald
e59e456b00
fix python version on Debian bookworm (fix #1579) (#1580)
the package wanted the dependency libpython3.9
but the executable expects libpython3.10
2023-02-27 17:04:34 +01:00
Rastafabisch
a393f6211c
Update Info.plist.in (#1575)
Hide Hyperion from the Dock.
2023-02-21 17:39:18 +01:00
LordGrey
b2fcea3bbd Rollover to 2.0.16-beta.1 2023-02-20 07:38:01 +01:00
LordGrey
24a00e3b0b
Prep Release 2.0.15 (#1571)
* Readd import Collections to show JSON validation failures details

* Editorial update

* Audiograbber - Remove config for not implemented feature

* Smoothing - Update defaults and range

* Version 2.0.15
2.0.15
2023-02-19 13:24:43 +01:00
Hyperion-Bot
bfba0d6137 Update de.json (POEditor.com) 2023-02-19 11:41:47 +01:00
Hyperion-Bot
fd82f58269 Update de.json (POEditor.com) 2023-02-19 11:05:25 +01:00
Michael Rochelle
acdf733936
Audio Grabber Feature (#1570)
* Creating Audio Grabber

Creating Audio Grabber

Creating Audio Grabber.

Successfully began capturing audio in windows. Starting to implement a hard-coded UV Visualizer.

Got Windows DirectSound Implementation working.
Hardcoded basic VU Meter.

Begin working on linux audio grabber implementation.

Finished Linux Draft Implementation.
Minor Mods to windows implementation.

Windows:
 - Free memory used by device id.
 - Prevent starting audio if the grabber is disabled
 - More debug logging

Linux:
 - Prevent starting audio if the grabber is disabled

Added strings to english
Removed "custom" from device selection
Made hard-coded visualizer values configurable.
wrote values to imageData with BGR priority to enable configurable values to be set in RGB format.
created logic to support "Automatic" to enable the API to select the default device.

Add language key for audio in "Remote Control" section.
Removed audio configuration for number of channels. This was causing an error with some devices.

Fixed logic to update capture while its active.
Optimizing code .

UI Tweaks
Destructuring.

Fixed build error on linux.

Custom Effects - Clean-ups and Enhancements (#1163)

* Cleanup EffectFileHandler

* Support Custom Effect Schemas and align EffectFileHandler

* Change back to colon prefix for system effects

* WebSockets - Fix error in handling fragmented frames

* Correct missing colon updates

* Update json with image file location for custom gif effects

* Image effect deletion - considere full filename is stored in JSON

* Correct selection lists indentions

Creating Audio Grabber

Creating Audio Grabber

Creating Audio Grabber.

Successfully began capturing audio in windows. Starting to implement a hard-coded UV Visualizer.

Got Windows DirectSound Implementation working.
Hardcoded basic VU Meter.

Begin working on linux audio grabber implementation.

Finished Linux Draft Implementation.
Minor Mods to windows implementation.

Windows:
 - Free memory used by device id.
 - Prevent starting audio if the grabber is disabled
 - More debug logging

Linux:
 - Prevent starting audio if the grabber is disabled

Added strings to english
Removed "custom" from device selection
Made hard-coded visualizer values configurable.
wrote values to imageData with BGR priority to enable configurable values to be set in RGB format.
created logic to support "Automatic" to enable the API to select the default device.

Add language key for audio in "Remote Control" section.
Removed audio configuration for number of channels. This was causing an error with some devices.

Fixed logic to update capture while its active.
Optimizing code .

UI Tweaks
Destructuring.

Fixed build error on linux.

Commented setVideoMode from AudioGrabber.

Linux Threading changes.

Implementing new API

Continuing to implement audio into new APIs

Fixed Audio Grabber for DirectSound on Windows
Fixed UI for Audio Grabber Configuration
Default AUDIO to off unless specified.

fixed missing #ifdef for audio grabber.

Added logic to calculate a dynamic multiplier from the signal input.

Updating linux api for discovering devices.

Fixed HTML/JS issues with view.
Fixed NPE in Windows.
Disabled setting thread priority in linux.

updated the schema options check to pass through hidden states and commented the change.

Updated grabber start conditions
Updated Audio grabber to instantiate similar to video grabber

Updated windows grabber to set "started" flag to false when shutting down.
Removed "tryStart" to prevent enabling audio capture unnecessarily.

Fixing instance audio grabber device configuration

Added configurable resolution
Reduced tolerance to 5%
Fixed issue where grabber failed for additional instances when "start" was called multiple times.

Fixed resolution calculation

Change averaging algorithm to prevent overflowing the sum.

Updated logic to stop audio grabber when disabled.

Fix integer casting and rounding.

Restart grabber on configuration change.
Fix missing include/grabber/AudioGrabber.
Disable tolerance.

Added configurable tolerance.
Fixed tolerance algorithm.
reset multiplier on configuration change.

Line Endings

Proposed change and questions/request to fix

implementing more of LordGrey's suggestions.

Fix mode for snd_pcm_open. Latest ALSA uses SND_PCM_NONBLOCK instead of SND_PCM_OPEN_NONBLOCK
defaulted multiplier to 0 "auto"
defaulted tolerance to 20%

changed 100 to 100.0 for pixel value percentage calculation to fix value from being 0.

missed a 100 as a double so precision isn't lost during math operation.

Fix Windows grabber and further cleanups

Enable Audio grabbing in standard build

Remove empty methods

Fix audio capture priority setting

Remove unused code

Clean-up default config

Allow additional json-editor attributes

Allow multiple effects and resetting to defaults

Correct default values

Allow to build for Qt < 5.14

Update CodeQL build dependency

Update build dependencies

Remove effect1 placeholder

* Renamed uvMeter to VU Meter (Volume Unit)
- Fixed issues flagged by code scanning bot.

* Moved stop call into destructor of implementing class.

* Removed commented linux audio channel configuration logic.

---------

Co-authored-by: Michael Rochelle <michael@j2inn.com>
2023-02-19 09:36:39 +01:00
LordGrey
a1bfa63343
Update schema-webConfig.json 2023-02-17 17:09:12 +01:00
Hyperion-Bot
21c5c6a122 Update de.json (POEditor.com) 2023-02-17 16:12:11 +01:00
LordGrey
1ae37d151e
Dominant Color support (#1569)
* Dominant Color and Mean Color Squared

* Workaround - Suppress empty LED updates

* Add missing text

* Dominant Colors advanced

* Test with fixed initial colors

* Test with fixed initial colors

* Support new processing values via API

* ImageToLED - Add reduced pixel processing, make dominant color advanced configurable

* Updates on Grabber fps setting

* ImageToLedMap - Remove maptype and update test

* Update dynamic cluster array allocation
2023-02-17 16:02:51 +01:00
Hyperion-Bot
093361d3e4 Update sv.json (POEditor.com) 2023-02-17 15:19:10 +01:00
Hyperion-Bot
f4391a512b Update es.json (POEditor.com) 2023-02-17 15:19:09 +01:00
Hyperion-Bot
f062aa71c5 Update ru.json (POEditor.com) 2023-02-17 15:19:07 +01:00
Hyperion-Bot
6251b58ff9 Update pl.json (POEditor.com) 2023-02-17 15:19:06 +01:00