mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 04:59:41 +00:00
595ba748f0
It seems like there's some interest in figuring out more about the sound effects lately so I tried making a tool to extract them. They're in a standard Sony VAB format, split into the header (.VH) and a bundle of VAG files (.VB). VAG files are ADPCM encoded. Eventually the idea is being able to round-trip these files but this just extracts to WAV at the moment. I may be wrong but some of the sound effects appear to be unused. Usage: `sh test.sh` Look at output in `./out` The playback speed is hardcoded since I haven't figured out yet if the pitch is part of these files or somewhere else. It can be changed by altering `samp_freq`. --------- Co-authored-by: sozud <sozud@users.noreply.github.com>
90 lines
2.1 KiB
TOML
90 lines
2.1 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 3
|
|
|
|
[[package]]
|
|
name = "itoa"
|
|
version = "1.0.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.66"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
|
|
dependencies = [
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "1.0.32"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "50f3b39ccfb720540debaa0164757101c08ecb8d326b15358ce76a62c7e85965"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ryu"
|
|
version = "1.0.15"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|
|
|
[[package]]
|
|
name = "serde"
|
|
version = "1.0.175"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5d25439cd7397d044e2748a6fe2432b5e85db703d6d097bd014b3c0ad1ebff0b"
|
|
dependencies = [
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_derive"
|
|
version = "1.0.175"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b23f7ade6f110613c0d63858ddb8b94c1041f550eab58a16b371bdf2c9c80ab4"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_json"
|
|
version = "1.0.103"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b"
|
|
dependencies = [
|
|
"itoa",
|
|
"ryu",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "2.0.27"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b60f673f44a8255b9c8c657daf66a596d435f2da81a555b06dc644d080ba45e0"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-ident"
|
|
version = "1.0.11"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
|
|
|
|
[[package]]
|
|
name = "vab-ex"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"serde",
|
|
"serde_json",
|
|
]
|