46 Commits
Author SHA1 Message Date
Sam Byass 1822ce8e2f Update readme for new formats 2026-02-15 18:36:24 +00:00
Sam Byass d9df2cbcc1 [publish] Bump deps, fix compilation warnings, update TFMs bump to 3.1.0
TFM changes should not be a breaking change - no support should be dropped.
2026-02-15 18:30:36 +00:00
tbodt 99162210e5 Fix generating audio files that are a teeny tiny bit longer than the original (#16)
* Respect SampleCount metadata when rebuilding ogg files

Since Vorbis blocks are always one of two possible sizes, a Vorbis
container needs some other field to hold the actual number of samples in
the audio file. This change essentially copies the SampleCount FSB
metadata field to the ogg output.

* Respect SampleCount metadata when rebuilding wav files

FSB PCM files appear to be padded with zeroes, meaning the correct
number of samples to copy is the SampleCount value instead of just the
rest of the file.
2026-02-15 18:19:07 +00:00
MasusderandLongerWarrior e860b35af2 FADPCM decoder (#15)
* FADPCM decoder

* Very slight perf improvement

Co-Authored-By: LongerWarrior <[email protected]>

---------

Co-authored-by: LongerWarrior <[email protected]>
2026-02-15 18:16:32 +00:00
Masusder fde46192a5 Support loading large FSB5 chunks (#14)
* Large FSB5 files

* I messed up offset
2026-02-15 18:14:27 +00:00
Masusder 9cdb76aaa0 Support >2 channels (#13)
* Read number of channels correctly

* Revert formatting

* Corrected frequencies / and dont throw

* Doc SampleMetadata
2026-02-15 18:11:35 +00:00
Seweryn Presnal 510ddfcdaa Fix compilation error in README example (#8) 2023-04-11 02:03:32 +01:00
Sam Byass d2280c5771 Add example bank extractor project 2022-07-27 04:03:19 +01:00
Sam Byass 5304d9b422 [publish] Actually include nuget api key 2022-07-22 03:05:30 +01:00
Sam Byass d0ba6b4698 [Publish] Move ContinuousIntegrationBuild to main block 2022-07-22 03:03:42 +01:00
Sam Byass bc4858bc77 Fix nupkg path, run tests 2022-07-22 02:57:52 +01:00
Sam Byass e3e4023cb4 Update nuget metadata and add CI 2022-07-22 02:55:57 +01:00
Sam Byass 5358a22eb0 Update README.md 2022-07-20 14:07:29 +01:00
Sam Byass 7004b6a95d Update README.md 2022-07-20 14:01:42 +01:00
Sam Byass a19bad5616 Remove outdated mention of libvorbis dependency 2022-07-20 13:55:25 +01:00
Sam Byass fc80e9f169 Bump to 3.0.0, update README 2022-07-20 02:55:02 +01:00
Sam Byass 96155ae138 Better handle invalid banks, support multi-sample banks + sample names 2022-07-20 02:49:58 +01:00
Sam Byass 96ac26b7b9 Add more chunk types based on other projects 2022-07-20 02:48:51 +01:00
Sam Byass 520b67b882 Fix nullability warning 2022-07-19 02:00:55 +01:00
Sam Byass 33ed2ab599 Bump to 2.0.2 2022-07-19 01:59:32 +01:00
ds5678 d8dfdc64c4 Include BitStream code internally (#6) 2022-07-18 12:27:05 +01:00
ds5678 2e5b849818 update gitignore and solution (#5) 2022-07-04 20:43:01 +01:00
Sam Byass 9fd699ebc7 Include debug info in the dll, bump to 2.0.1 2022-07-04 19:09:59 +01:00
Sam Byass 564ac6fa9e Fix exception for ogg packets with only one block flag 2022-07-04 19:09:37 +01:00
Sam Byass e55e8c1c51 Remove a reference to vorbis needing native libs 2022-07-04 18:48:54 +01:00
Sam Byass 21737b0446 Formatting issue 2022-07-04 17:04:32 +01:00
Sam Byass 6d0269ee43 Update README 2022-07-04 17:02:30 +01:00
Sam Byass d704d79292 Bump to 2.0.0 2022-07-04 16:58:20 +01:00
Sam Byass 5280aa159f Implement Xbox Ima Ad PCM algorithm. Closes #4 2022-07-04 16:56:43 +01:00
Sam Byass 44c8d5ccea Codebase Cleanup/Restructure 2022-07-04 15:20:41 +01:00
Sam Byass 519121fe67 General cleanup:
- Use Json serialization context/code gen
- Allow trimming
- Fix LoadFsbFromByteArray not being thread-safe
2022-07-04 15:14:47 +01:00
Sam Byass d9aec6fb7e Use custom vorbis decoder (based on @lab313ru's work)
This also allows us to target netstandard2 by removing the dep on OggVorbisSharp
2022-07-04 14:54:47 +01:00
Sam Byass 126139719a Add support for IMAADPCM 2021-09-20 12:11:58 +01:00
Sam Byass 541adaa696 Fix broken extension class 2021-09-19 18:14:41 +01:00
Sam Byass d2737f3013 Update note about 3rd party dependencies. 2021-09-19 13:41:00 +01:00
Sam Byass 4a04a48ff6 Update docs, bump to 1.1.0 2021-09-19 13:35:40 +01:00
Sam Byass acba2bc17a Add support for GcAdPcm 2021-09-19 13:21:46 +01:00
Sam Byass a911709cda Add support for PCM rebuilding, and Sample#RebuildAsStandardFileFormat 2021-09-19 10:50:01 +01:00
Sam Byass f800ee2244 Merge pull request #1 from SamboyCoding/add-license-1
Create LICENSE
2021-08-21 20:11:19 +01:00
Sam Byass 7a046d19bb Create LICENSE 2021-08-21 20:11:01 +01:00
Sam Byass 6e8e755617 Fix header generation and update headers 2021-08-16 00:10:33 +01:00
Sam Byass b7a2a5d305 Update README.md 2021-08-15 04:18:53 +01:00
Sam Byass 5b8bdddc8e Add nuget badge 2021-08-15 04:13:52 +01:00
Sam Byass 6fc5c5df0c Add a test of a much larger file 2021-08-15 04:10:02 +01:00
Sam Byass 96071d50dc Add gitignore 2021-08-15 04:07:33 +01:00
Sam Byass 005c055a9d Initial commit 2021-08-15 04:06:23 +01:00