10 个版本
0.5.5 | 2023 年 12 月 18 日 |
---|---|
0.5.4 | 2023 年 7 月 31 日 |
0.4.1 | 2022 年 12 月 19 日 |
0.4.0 | 2022 年 10 月 19 日 |
0.3.2 | 2022 年 9 月 24 日 |
#7 in #tempo
每月下载 31 次
24KB
569 行
警告!
此项目已 迁移。最后一个使用 Rust 的 tempo
版本是 0.5.4
。
tempo
tempo
是一个终端节奏节拍器。
...
1/10 samples in buffer
106.3 bpm
* <enter>
2/10 samples in buffer
110.4 bpm
* c
0/10 samples in buffer
0.0 bpm
; █
概念
tempo
通过您节拍时将 bpms 收集到缓冲区中工作。
[120.5, 124.3, 122.6, _, _, _, _, _, _, _]
^ ^
new bpms inserted here old bpms removed here
最终 bpm 是缓冲区中所有样本的平均值。
用法
要使用 tempo
,节拍到所需的节奏,它将显示平均 bpm。
为了更精细的调整,您还可以调整缓冲区的大小。样本越多平均,bpm 可能越准确。
命令 | 描述 |
---|---|
h | 显示帮助 |
<enter> | 注册节拍 |
c | 清除缓冲区 |
s | 调整缓冲区大小 |
b | 绑定或解绑缓冲区到大小 |
p | 打印缓冲区内容 |
l | 打印许可证信息 |
q | 退出 |
安装
由于 tempo
在 crates.io 上以 tempo_tapper
的名称存在,您可以使用 cargo 安装它!
$ cargo install tempo_tapper
文档
还有可供使用的文档,作为 man 页。构建它们需要 scdoc 和可能需要 GNU Make,尽管 makefile 很简单。
安装
$ make -C ./docs install
和卸载
$ make -C ./docs uninstall
rustc
msrv(最小支持的 Rust 版本)是 1.61.0
。
许可证
tempo
根据 MIT 或 Apache 2.0 许可证进行许可,由您选择。