Comments (5)
I see "unknown chunk" after PCM sample data. I don't know what it is, but it doesn't seem to disturb anything...
from deretore.
Ah, the same bug I had once created & then fixed😂
segfault-bilibili/hca.js@3804499
Oh, I need to confirm this... Confirmed.
from deretore.
At least the "seam" block (at the start of looped blocks) itself should be re-decoded. I'm not sure whether more blocks should be re-decoded, however the affected bytes don't seem to be enough to make a full block - in other words, reworking one block seems to be enough to make the output byte-to-byte exactly the same to "stupidly" decoding every block including looped ones.
Oh, I need to confirm this... Confirmed.
from deretore.
Still not sure what happend, but something must be wrong - I tested with an HCA with its loop
section stripped, and then the output WAV file seemed to be normal this time, without weird "unknown" chunk at the end.
What makes this an issue is, this seems to be caused by dozens of zero bytes inserted in the middle of PCM data...
The WAV header part is the same - which means the offset/size value written to the header is correct, then probably the writing offset(s) is miscalculated. See updates in the top post.
from deretore.
Oh now we have two bugs😂
from deretore.
Related Issues (20)
- [Question] hca2wav loop support HOT 9
- v0.7.3的若干问题 HOT 1
- 框选 右键 拖动 快捷键 自动offset 紫条 HOT 4
- bgm_system.acb entry reading HOT 1
- how to convert wav to hca encrypted with a custon key HOT 1
- WAV to HCA, Sound Is Not Working In Game HOT 1
- The decryption key of .hca file HOT 1
- HCACC.exe HOT 5
- How do I make a hca file header that is a C8 C3 C1 file? HOT 2
- ACB+AWB encryption HOT 1
- pes mobile music
- Video encryptation
- How should generate acb+awb within AcbMaker
- Loop support - slight bursts, maybe still not aligned etc? HOT 2
- HcaAudioStream doesn't seem to be seekable HOT 5
- hca2wav: suspicious pattern in >21.6kHz band of frequency spectrum
- Unhandled exception error when typing out any cmd
- Wondering how to encrypt an HCA with header C8 C3 C1 00 HOT 1
- AcbMaker: low volume in SIF AS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deretore.