| Crates.io | buplib |
| lib.rs | buplib |
| version | 3.3.0 |
| created_at | 2024-03-23 14:06:10.466534+00 |
| updated_at | 2024-03-25 08:47:13.89802+00 |
| description | A small beeper / buzzer socket wrapper library |
| homepage | |
| repository | https://github.com/p6nj/bup |
| max_upload_size | |
| id | 1183552 |
| size | 41,273 |
A small beeper / buzzer socket wrapper library
BUP is a wrapper for socket-like structs (Unix, UDP, TCP...) that beeps at every connection using a provided Source to generate the samples from using the result of the connection (a stream, some bytes...).
This crate comes with an example and some comments. It creates a BUP with an infinite sinewave source and sends increasing values to it via a Unix socket.
To run it, use cargo :
cargo run --example sine
Almost.
You probably dropped your OutputStream.
Not yet.