【文件属性】:
文件名称:lua---sndfile:Torch7的libsndfile库的接口
文件大小:234KB
文件格式:ZIP
更新时间:2021-05-14 04:14:58
C
sndfile:libsndfile的接口
该软件包提供了库的接口。
安装
luarocks install sndfile
例子
> require ' sndfile '
> f = sndfile. SndFile ( ' blah.htk ' ) -- open HTK file
> print (f: info ())
{[samplerate] = 16000
[sections] = 1
[subformat] = string : " PCM16 "
[channels] = 1
[seekable] = true
[format] = string : " HTK "
[frames] = 49460
[endian] = string : " FILE " }
> x = f: readShort (f: info (
【文件预览】:
lua---sndfile-master
----buffer.c(2KB)
----format.h(16KB)
----rocks()
--------sndfile-scm-1.rockspec(497B)
----cmake()
--------FindSndFile.cmake(2KB)
----test()
--------test.lua(1KB)
--------wealth.flac(93KB)
--------rock.wav(180KB)
----buffer.h(155B)
----COPYRIGHT.txt(2KB)
----init.c(39KB)
----CMakeLists.txt(413B)
----README.md(1KB)
----utils()
--------format.txt(2KB)
--------subformat.txt(2KB)
--------endian.txt(318B)
--------format.lua(2KB)
----init.lua(69B)