57 Commits

Author SHA1 Message Date
Christina Ying Wang 61e1c6e189 Prevent system/display sleep while Radiance is running
Uses the keepawake crate to prevent both display and system idle sleep
for the lifetime of the app.

Change-type: patch
Signed-off-by: Christina Ying Wang <cywang117@outlook.com>
2026-02-12 10:35:15 -08:00
Christina Ying Wang c5ee5bad20 Upgrade cpal to 0.17.1, fix cfg guards for mpv feature
cpal 0.17.0 fixes CoreAudio segfaults when enumerating devices on
macOS, which caused crashes on systems with certain audio interfaces
(e.g. Scarlett 2i2). Also adapts to API changes: SampleRate is now a
u32 type alias instead of a tuple struct.

Adds missing #[cfg(feature = "mpv")] guards in library.rs so the
project can compile with --no-default-features.

Signed-off-by: Christina Ying Wang <cywang117@outlook.com>
2026-02-10 21:07:54 -08:00
Eric Van Albert efd79dbf6a Update Cargo.toml to 0.7.1 2026-01-11 18:51:41 -05:00
Eric Van Albert 3116f01d7f Prepare crate for publishing 2025-12-18 22:54:03 -05:00
Eric Van Albert 4986af64a1 Add 'Open library' button 2025-12-17 00:32:49 -05:00
Eric Van Albert 9f92a9e5fd Fix some srgb & premultiplied alpha bugs 2025-12-15 21:23:08 -05:00
Eric Van Albert bbabd8515b Add UI BG node and fix sRGB compositing issues 2025-12-10 16:19:34 -05:00
Eric Van Albert d891a3f020 switch away from eframe to get tighter winit integration 2025-12-05 16:53:55 -05:00
Eric Van Albert 2eb7c64006 Update winit_output to support latest winit + wgpu 2025-12-05 14:47:05 -05:00
Eric Van Albert a6e168594d Update script to build aarch64-linux 2025-11-27 14:25:08 -05:00
Eric Van Albert fe83e32ff3 Make mpv optional, make sound input optional 2025-10-30 14:09:39 -04:00
Eric Van Albert b0103f6a0b On first launch, copy effects into app data directory, and then load effects from that directory 2025-10-29 21:11:04 -04:00
Eric Van Albert 34764cbae6 Fix a few shader errors, update cpal version 2025-10-28 17:50:35 -04:00
Eric Van Albert d1a790a960 Add build script for validating builtin shader code, and fix display of preview images 2025-10-28 16:20:18 -04:00
Eric Van Albert 82bf413da7 Update to latest egui/eframe/wgpu (WIP) 2025-10-27 13:17:21 -04:00
Eric Van Albert 5f9246d5e7 Move beat tracking test program to benchmarks 2025-10-26 15:22:33 -04:00
Eric Van Albert 5ddeb20bab Fix movienode, switch to surfman, tweak autodj 2023-06-17 17:21:16 -04:00
Eric Van Albert 8a18d792df Work more on projection map UI 2023-05-20 19:09:16 -04:00
Eric Van Albert 3e2185a61f MovieNode use dynamic FBO size to match video resolution 2023-05-14 23:22:36 -04:00
Eric Van Albert 1ec64c991e Some MovieNode improvements & fixes 2023-05-14 19:32:33 -04:00
Eric Van Albert 6c226b09b9 Reading pixels out of MPV working 2023-05-14 17:34:39 -04:00
Eric Van Albert d47f854ab9 Stub out MovieNode as copy of ImageNode 2023-05-14 12:32:23 -04:00
Eric Van Albert 5834639576 Add some effects and fix a memory leak (probably) 2023-03-25 17:53:10 -04:00
Zach Banks 755430fc38 Add (basic) ImageNode 2023-02-26 22:31:00 -05:00
Eric Van Albert 96293dbed3 Add license file 2022-12-09 21:27:16 -05:00
Eric Van Albert 64bda7464d Update manifest & gitignore 2022-12-07 23:54:51 -05:00
Eric Van Albert 7c45b9bd1b Move back to custom fork (upstream problem not yet solved) 2022-11-13 21:58:42 -05:00
Eric Van Albert 5cdcc7a9f9 Upgrade wgpu & egui 2022-11-12 20:34:50 -05:00
Eric Van Albert 945ebbcb52 Fix slider drag problem with egui patch 2022-11-06 23:45:27 -05:00
Zach Banks 34dd493784 Add Python module for testing beat tracking
Hopefully @ervanalb doesn't think it's too ugly to create this new
`beat_tracking_test` binary & `beat_toolkit/` folder.

I had to create a mirror of the Python `rubberband` to fix some minor
bugs in it.

The idea is to resample, mix, and concatenate a few `.wav` files with
known beat timestamps in order to generate a larger corpus of tests.
2022-10-23 15:40:46 -04:00
Eric Van Albert 60e665cdac Derive TryInto to avoid 'if let' 2022-10-13 20:24:21 -04:00
Eric Van Albert fdfd8f648d Start porting video node tile to egui 2022-10-11 00:44:49 -04:00
Eric Van Albert c6de9f2310 add egui demo 2022-10-06 23:35:19 -04:00
Eric Van Albert 331217c609 Add audio thread & debug beat printout 2022-09-30 21:41:10 -04:00
Eric Van Albert be63611b59 More work on HMM 2022-09-24 19:55:38 -04:00
Eric Van Albert 7aed1c464f Add neural nets for beat activations 2022-09-23 21:57:51 -04:00
Eric Van Albert 5b59c3f22d Add a small audio file to test, and move filterbank to heap 2022-08-29 00:29:59 -04:00
Eric Van Albert b4d678d6c4 Implement STFT proecssor 2022-08-26 00:09:03 -04:00
Eric Van Albert 4c203fe133 More UI WIP; starting to lay out architecture 2022-07-21 23:42:02 -04:00
Eric Van Albert 2ec1618ae7 rearrange file structure and fix warnings 2022-07-20 22:19:39 -04:00
Eric Van Albert 9a41e9beef Add serde of graphs and render target lists 2022-07-11 01:31:38 -04:00
Eric Van Albert 6010ffa98a render a rectangle 2022-07-09 22:40:18 -04:00
Eric Van Albert 0f2bec5529 wip 2022-07-09 19:20:16 -04:00
Eric Van Albert 9072e7840d Start laying out architecture 2022-07-09 14:33:00 -04:00
Eric Van Albert b794b8f3dd playing around with threading 2022-07-09 10:42:58 -04:00
Eric Van Albert 13703bd88c Remove UniqueId, use hashable RCs 2021-01-01 22:11:39 -05:00
Eric Van Albert 029456fcc2 Hack in WGPU (wip) 2020-12-12 22:06:51 -05:00
Eric Van Albert 000203f177 Setting a static uniform buffer 2020-12-06 23:35:35 -05:00
Eric Van Albert 91adee7966 Compiling shaders into a render pipeline 2020-12-05 20:13:55 -05:00
Eric Van Albert 16a811a3df shader compilation state machine 2020-12-04 23:27:29 -05:00