cpal
Cross-platform audio I/O library in pure Rust (by RustAudio)
strop
Stochastically generates machine code (by omarandlorraine)
Our great sponsors
cpal | strop | |
---|---|---|
11 | 31 | |
2,419 | 97 | |
3.5% | - | |
7.8 | 5.7 | |
28 days ago | 25 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of cpal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-28.
-
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)
strop
Posts with mentions or reviews of strop.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-08.
-
Why isn't clippy warning me?
I am completely rewriting strop, (the code sucks, and I know Rust a lot better than when I started, so I wanted to make it a bit better structured and more idiomatic). And I like to have static analysis make sure my code has certain qualities, so I stick this:
-
What's everyone working on this week (16/2023)?
Do you think it's an architecture for strop then? It has a focus on code-generation on platforms not well supported by mainstream compilers
-
strop v0.1.1
Here is a project for generating code for CPUs that do not have much support from mainstream compilers. Currently supported are the 6502 and the STM8 (I'll possibly be adding others in the future, feature requests welcome).
-
Willing to work for free on rust projects
I could use some help on my project strop. Feel free to take a look and see if it's the kind of thing you feel you could contribute to! but be aware that the quality of the codebase is poor. There's a pull request to address this though.
-
Why aren't my things turning up in my library?
It is my first time of making a Rust library. Actually, my project strop has been a binary crate and only recently have I started trying to use it from a different crate. This is happening on the breakapart branch.
-
What's everyone working on this week (31/2022)?
Still working on a big rewrite of strop.
-
Want to volunteer for your projects
If you're offering free help, then I could use some help with my project strop. (TL;DR: instead of compiling code, it's evolving code. And it has a focus on architectures that don't have good support from mainstream compilers, but I'm open to adding other architectures as well).
-
Are PIC controllers still used in industries?
My frustration with this kind of situation (and PICs are not unique here, the 6502, CP1600 and other very low end chips have similarly problematic toolchaining) led me to invent strop, for evolving code sequences. It has some basic PIC support.
-
Rust's Option and Result. In Python.
Hadn't thought of this. I even encountered it recently too.
-
What's everyone working on this week (23/2022)?
I am still working on strop. (TL;DR alternative to compiled code, it's evolved code. Tell it which function you want and which registers to use, and it'll randomly generate an assembly language program that does what you wanted)
What are some alternatives?
When comparing cpal and strop you can also consider the following projects:
rodio - Rust audio playback library
nvim-bacon - bacon's companion for neovim
swyh-rs - Stream What You Hear written in rust, inspired by SWYH.
hlbc - Hashlink bytecode disassembler, analyzer, decompiler and assembler.
rubato - An asyncronous resampling library written in Rust
rtrb - A realtime-safe single-producer single-consumer (SPSC) ring buffer
openal-rs
rust-rocksdb - rust wrapper for rocksdb
rust-vst2 - VST 2.4 API implementation in rust. Create plugins or hosts.
cargo-mutants - :zombie: Inject bugs and see if your tests catch them!
sudo.rs
uom - Units of measurement -- type-safe zero-cost dimensional analysis