wave-d:WAV文件加载器

时间:2021-05-17 19:52:57
【文件属性】:
文件名称:wave-d:WAV文件加载器
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-17 19:52:57
D 这是什么? wave-d是一个很小的库,用于加载/保存WAV音频文件。 执照 参见UNLICENSE.txt 用法 import std.stdio ; import waved; void main () { // Loads a WAV file in memory Sound input = decodeWAV( " my_wav_file.wav " ); writefln( " channels = %s " , input.channels); writefln( " samplerate = %s " , input.sampleRate); writefln( " samples = %s " , input.samples.length); // Only keep the first channel (left)
【文件预览】:
wave-d-master
----README.md(816B)
----waved()
--------detect.d(813B)
--------utils.d(7KB)
--------wav.d(8KB)
--------package.d(95B)
----UNLICENSE.txt(1KB)
----dub.json(292B)

网友评论