-
Notifications
You must be signed in to change notification settings - Fork 0
Audio
tickle edited this page Jan 17, 2024
·
8 revisions
English | Japanese
| < Local storage specification | Audio Specification | Velocity change & Motions > |
- Sound playback in Dancing Onigiri "CW Edition" uses Web Audio API as much as possible to minimize sound playback delay. However, there are cases where the Web Audio API specification does not allow for this. HTML Audio elements are used in some cases.
- βοΈ supported / β unsupported (Substitute with HTML Audio)
- To reduce playback delay both locally and remotely, it is faster to encode the music data in base64.
- js, txt format (with encoding) is the data encoded with the music data.
the Dan-Oni-Js music data conversion tool can create text data encoded with music files.
mp3, ogg format | js, txt format (with encoding) | |
---|---|---|
Local file (How to open html directly) | β | βοΈ |
Local server (How to set up a server using Xampp) | βοΈ | βοΈ |
Remote server (Uploaded and published on the Web) | βοΈ | βοΈ |
-
HTML Audio is more limited in functionality than the Web Audio API.
-
βοΈ No issue /
β οΈ Some functions not available / β Not available
Web Audio API | HTML Audio | |
---|---|---|
Displacement of chart position due to fade-in | βοΈ No misalignment |
May be shifted depending on the sound source |
Volume setting | βοΈ No issue |
βοΈ (Windows) No issue β (Mac / iPad) Always 100% |
Fade-in volume | βοΈ No issue |
βοΈ (Windows) No issue β (Mac / iPad) No fade-in |
Fade-out volume | βοΈ No issue |
βοΈ (Windows) No issue β (Mac / iPad) No fade-out |
Decimal Adjustment | βοΈ valid |
β invalid |
- In the case of iOS, it is not possible to automatically play a music without user operation. For this reason, a start confirmation button is added just before the start only for iOS.
| < Local storage specification | Audio Specification | Velocity change & Motions > |
English | Japanese
- About game system π
- Shortcuts π
- About KeyTypes π
- How to set up and play on a local server π
- How to make chart overview π
- How to publish your work data on the Web π
- Source hierarchy π
- Participation Guidelines for Online Events (Festivals) π
- How to upgrade π
- Migration Guide π
- Update Info π
- Defect information for unsupported versions π
- Security Policy π
- Changelog π
- Chart settings specification π
- Chart body specification π
- Screen effects specification π
- Gradation specification π
- Common setting file specification π
- CSS skin specification π
- Query parameter specification for work URL π
- Special characters specification π
- Key type's specification π
- Key code used in "KeyCtrl" attribute π
- Runtime Error List π
- ID Reference π
- Object hierarchy π
- Pseudo-frame processing specification π
- Colored objects specification π
- Local storage specification π
- Interrupt processing by custom js (skin js) π
- Custom functions specification π
- Audio Specification π
- Velocity change & Motions π
- Judgment specification π
- Custom key types template π
- How to create a custom key type π
- Overwrite key pattern of regular key types π
- How to display background π
- Example of implementation of a key types change work π
- Set your own Reverse with custom key types π
- Abbreviated notation for custom key type's definitions π