修正SFX播放采样低了两个半音

This commit is contained in:
MrZ626
2021-10-29 01:01:54 +08:00
parent ab1e750fa4
commit 5a8b573bb7

View File

@@ -56,7 +56,7 @@ function SFX.loadSample(pack)
assert(pack.name,"No field: name")
assert(pack.path,"No field: path")
packSetting[pack.name]={
base=(_getTuneHeight(pack.base)or 37)+1,
base=(_getTuneHeight(pack.base)or 37)-1,
}
local num=1
while love.filesystem.getInfo(pack.path..'/'..num..'.ogg')do