Comments (5)
Ah, the fact that EnsureSoundDataDecoded
etc taking position
as an argument itself shouldn't be a problem - the problem is, in my humble opinion, it should iterate through every block from the beginning to the current position, rather than every block from the current position to the end (of loop).
from deretore.
On the other hand, I think in a common streaming scenario, it should assume that the beginning part, rather than the following/ending part, is available.
from deretore.
Hmm... Maybe making HcaAudioStream seekable isn't as challenging as I thought. However, anyway, because of the fact that every block depends on the state decided by its prior block to be correctly decoded, the beginning part still has to be (in the first place: available - and then) decoded in order, only after that could the decoder then hand out decoded WAV PCM data.
from deretore.
Hmm... As for:
in a common streaming scenario, it should assume that the beginning part, rather than the following/ending part, is available
I think even if, like, the user drags the timeline/progress bar to skip some part in the beginning, (strictly saying) the decode still has no choice but to download & decode all prior blocks in spite of the fact that those block will probably never be used/played.
(However, according to my rough observation, the "effect" won't last for more than 1 block, so maybe fetching & decoding 2 prior blocks (rather than the whole part up to the beginning) is already enough)
from deretore.
Ah, after skimming VGAudio's related code (related: Nyagamon/HCADecoder#4 ), I think maybe (still not very sure) this "state/context" dependence problem shouldn't be as important as I originally thought.
from deretore.
Related Issues (20)
- 在连接note后,应清除note的选中状态 HOT 1
- [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
- Output WAV still seems to have problems if there's loop header section 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
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.