amp-mate-rs
cpal
amp-mate-rs | cpal | |
---|---|---|
1 | 11 | |
0 | 2,430 | |
- | 2.2% | |
1.8 | 7.7 | |
over 2 years ago | about 1 month ago | |
Rust | Rust | |
- | Apache License 2.0 |
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.
amp-mate-rs
-
Controlling Marantz amplifier using Arduino via “Remote” socket
Rotel still allows this, at least on models a few years old. I have a RA-1572 amplifier, and it's a joy to work with. Plug a serial or a network cable, and start talking to it. It supports the same commands over RS232 or TCP (basic TCP, not HTTP or what have you – just don't open too many connections too often, or it will choke). They also support IR IN / OUT, but I've never attempted to work with those. I seem to remember that the IR codes were documented somewhere, but I can't remember where I've seen that (I've never needed them).
The protocol is documented here: https://www.rotel.com/manuals-resources/rs232-protocols. The TCP commands are the same as the RS232 commands, the docs say on which port it listens, etc.
I've started building a "remote control" to an amp to be used from an I3 bar: https://github.com/vladvasiliu/amp-mate-rs (older Python version which doesn't do much: https://github.com/vladvasiliu/amp_mate).
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)
What are some alternatives?
homeassistant-rotelserial - Integration component for Home Assistant to allow control of a Rotel amplifier having a serial interface
rodio - Rust audio playback library
amp_mate - Interface between an audio player and an amplifier
swyh-rs - Stream What You Hear written in rust, inspired by SWYH.
rubato - An asyncronous resampling library written in Rust
openal-rs
rust-vst2 - VST 2.4 API implementation in rust. Create plugins or hosts.
sudo.rs
rust-cookbook - https://rust-lang-nursery.github.io/rust-cookbook
dotfiles - Configs for apps I care about
LibRapidRust - An optimised derivative of the LibRapid C++ library. Made with love for mathematics and computer science.
EchoWhistle - Proof-of-concept network item service for FF4 FE