cpal
nannou
Our great sponsors
cpal | nannou | |
---|---|---|
11 | 66 | |
2,419 | 5,822 | |
3.5% | 2.0% | |
7.8 | 7.4 | |
about 1 month ago | 9 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cpal
-
What's everyone working on this week (22/2023)?
debugging this nightmare bc its blocking my hobby project. by far the most fucked up issue ive encountered since i started rust.
- Nannou – An open-source creative-coding framework for Rust
-
Creating an Audio File Player from scratch
There is a cross-platform audio library for Rust: cpal https://github.com/rustaudio/cpal
-
Read the voice from the microphone for accessibility
cpal crate should work fine for this use case, though it might be unnecessarily low-level for your use case.
-
Modify pitch and volume while a sound file is playing
I had to do something similar to this a while back. I used cpal.
- RustAudio/cpal: Cross-platform audio I/O library in pure Rust
-
What’s everyone working on this week (including AoC, 51/2021)?
Working on a live performance software that would let our band have live real-time practices over the internet. Top priority is minimum latency, so I'm trying to hook it up through ASIO. Not much luck yet. I've tried cpal, but I've run into numerous known random bugs (and some versions don't compile for me). At least I confirmed that I can push the audio through a TCP socket successfully.
-
How to read out decibels from default audio input device?
With https://github.com/RustAudio/cpal you can access the microphone in a cross platform way, but you’ll get values of range [-1,1] out only. To calculate absolute decibels you would need to calibrate for your specific microphone with a known source.
-
How can I visualize currently playing audio in Linux?
source of example
-
Hey Rustaceans! Got an easy question? Ask here (7/2021)!
you need to use a "loopback" device, as shown here - https://github.com/RustAudio/cpal/pull/478 (note, ive only tested this on windows - if its not supported on linux you could always plug your sound card output into its line-in/mic jack)
nannou
- VVVV – A Hybrid Visual/Textual Development Environment
-
Can someone help me with ownership and borrowing?
Another idea would be to do something with Nannou, it's pretty straightforward to get some visually pleasing results and I find these Processing/P5 inspired creative coding libraries allow for a lot of exploration and expression. The Coding Train is a YouTube channel which has dozens of these kinds of projects, translating them into Rust certainly is good exercise.
-
Hey Rustaceans! Got a question? Ask here (23/2023)!
Assuming you’re talking about https://nannou.cc they advertise a slack, a matrix, and a github org.
-
Looking for lib recommendations for developing ui tool
Never used this, no idea If it's what you want, but maybe https://nannou.cc/?
- “Creative Coding” libraries for A/VFX in Rust, a.l.a. Cinder for C++ or Processing for Java?
-
A simple 2d graphic library
https://nannou.cc/ may be worth checking out.
- Nannou- a creative coding framework for Rust. .It is a library that aims to make it easy for artists to express themselves with simple, fast, reliable code.
-
Nannou – An open-source creative-coding framework for Rust
"creative coding" usually refers to a framework where a developer/artist can code up nice things quickly
for example https://github.com/nannou-org/nannou/blob/master/examples/dr...
-
[Media] Genetic algorithm simulation - Smart rockets (code link in comments)
I've exported individual frames using this mechanism, I've never tried gif encoding before but seems like there's support for it,
What are some alternatives?
rodio - Rust audio playback library
rust-skia - Rust Bindings for the Skia Graphics Library
swyh-rs - Stream What You Hear written in rust, inspired by SWYH.
macroquad - Cross-platform game engine in Rust.
rubato - An asyncronous resampling library written in Rust
racket - The Racket repository
openal-rs
wgpu - Cross-platform, safe, pure-rust graphics api.
rust-vst2 - VST 2.4 API implementation in rust. Create plugins or hosts.
simple-game - A personal collection of windowing/graphics/game code to get started quickly on games and graphical applications
sudo.rs
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.