buplib

Crates.iobuplib
lib.rsbuplib
version3.3.0
sourcesrc
created_at2024-03-23 14:06:10.466534
updated_at2024-03-25 08:47:13.89802
descriptionA small beeper / buzzer socket wrapper library
homepage
repositoryhttps://github.com/p6nj/bup
max_upload_size
id1183552
size41,273
Ponj (p6nj)

documentation

README

🔘 BUP

A small beeper / buzzer socket wrapper library

Introduction

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...).

Example

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

Q&A

Is BUP an acronym?

Almost.

Rodio says "NoDevice"

You probably dropped your OutputStream.

Is this the future?

Not yet.

Commit count: 27

cargo fmt