https://github.com/ngynkvn/zigscene
fun little music visualization, "demo scene"
https://github.com/ngynkvn/zigscene
audio-player audio-processing audio-visualizer demoscene raylib zig
Last synced: about 1 year ago
JSON representation
fun little music visualization, "demo scene"
- Host: GitHub
- URL: https://github.com/ngynkvn/zigscene
- Owner: ngynkvn
- License: mit
- Created: 2024-10-14T00:41:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-15T07:01:29.000Z (over 1 year ago)
- Last Synced: 2025-04-10T17:30:00.663Z (about 1 year ago)
- Topics: audio-player, audio-processing, audio-visualizer, demoscene, raylib, zig
- Language: Zig
- Homepage: https://ngynkvn.github.io/zigscene/
- Size: 4.27 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zigscene
Audio visualization experiment using zig and raylib.
Built against `0.14.0-dev.2605+136c5a916`
## Getting Started
> [!NOTE]
> This project uses the nightly master build for zig, which frequently introduces breaking changes to the language. While this allows us to use the latest features and
> improvements, it may:
>
> - Break unexpectedly when updating Zig versions
> - Contain code patterns that don't work in stable Zig releases
> - Require periodic updates to maintain compatibility
>
> To build this project, you'll need to use Zig's master branch. You can download the latest nightly build from .
>
> I also recommend using [zigup][1] or [zvm][2] to install and manage zig versions.
You should have:
- This repository:
```bash
git clone https://github.com/ngynkvn/zigscene
cd zigscene
```
- `zig` available in PATH.
- Ensure `zig version` outputs `0.14.0-dev.2605+136c5a916`
```bash
# Build the project
zig build
# Build and run
zig build run
# Build with release optimization
zig build -Doptimize=ReleaseFast
# Run tests
zig build test
```
## Usage
`zig build run`, then drag and drop an audio file onto the window. Simple hotkeys are available: **TODO**
## Screenshots
[1]: https://github.com/marler8997/zigup?tab=readme-ov-file#how-to-install
[2]: https://github.com/tristanisham/zvm?tab=readme-ov-file#installing-zvm