osc-tester

Crates.ioosc-tester
lib.rsosc-tester
version0.2.4
sourcesrc
created_at2024-02-12 09:41:43.209687
updated_at2024-04-19 11:25:41.074269
descriptionA simple OSC tester
homepage
repositoryhttps://github.com/funatsufumiya/osc_tester_rs
max_upload_size
id1136682
size28,678
Fumiya Funatsu (funatsufumiya)

documentation

README

OSC Tester (Rust)

Crates.io License

This is a simple tool to test the OSC communication between a client and a server.

Install

  • from crates.io
$ cargo install osc-tester
  • from source
$ cargo install --path .

Usage

OSC Receiver

(Check osc-tester receive -h for options)

$ osc-tester receive
# Listening on 127.0.0.1:5005...
# [2024-02-12 10:37:42.448582] /hoge 1 2 hoge (type tags: iis)
# [2024-02-12 10:38:41.971990] /hoge 1 2 hoge (type tags: iis)
# [2024-02-12 10:39:00.811072] /hoge 1 2 hoge (type tags: iis)
# [2024-02-12 10:39:05.522840] /hoge 1 2.0 hoge (type tags: ifs)

OSC Sender

(Check osc-tester send -h for options)

$ osc-tester send /hoge 1 2.0 hoge
# Sending to 127.0.0.1:5005
# [2024-02-12 10:39:05.522620] /hoge 1 2.0 hoge (type tags: ifs)

Sample sender

(Check osc-tester sample -h for options)

$ osc-tester sample
# Sending to 127.0.0.1:5005... (Ctrl+C to quit)
# [2024-02-12 10:45:16.000462] /filter 0.6610950773002804
# [2024-02-12 10:45:17.002817] /filter 0.8154223208829204
# [2024-02-12 10:45:18.004950] /filter 0.37209750414016063
# [2024-02-12 10:45:19.010492] /filter 0.46979363082349024

How to build

$ cargo build --release

# or just try $ cargo run -- server
Commit count: 25

cargo fmt