dos h0011 musicUrl - cwtickle/danoniplus-docs GitHub Wiki
English | Japanese
Home > Chart settings specification > Music & chart information
| <- dosNo | musicUrl | musicNo -> |
- Music file locations setting
|musicUrl=PetitMagie.mp3|
|musicUrl=PetitMagie.js|
|musicUrl=rainbow.mp3$rainbow2.js|
|musicUrl=(..)PetitMagie.mp3| // Browse to the same directory as the work page
- When specifying the main body of the music file (mp3/wav/ogg)
- Enter the name of the music file (mp3/wav/ogg). The actual file should be placed in the "music" directory.
- If you are uploading mp3/wav/ogg files and your server supports ".htaccess", save the following as a ".htaccess" file and put it in the "music" directory. Specify the following.
- Bolded text should be read according to the server. "." should be replaced by "\.".
SetEnvIf Request_URI "\.(mp3|wav|ogg)$" deny_ref SetEnvIf Referer "cw7\.sakura\.ne\.jp" !deny_ref Order Allow,Deny Allow from all Deny from env=deny_ref
- using base64-converted music data
- First, prepare base64 encoded data of mp3 data. Specify the value of "musicUrl" as a "js file" or "txt file". In this case, the file should be saved in the following format and placed in the "music" directory.
function musicInit(){
g_musicdata='base64-converted music data';
}
- The name of the "music" directory can be changed using the "musicFolder" variable described below.
- It is convenient to convert the music files to text using the Dan-Oni-Js music data conversion tool.
Multiple musics can be specified by "$" or newline delimiter.
The "$" or newline delimiter in "musicTitle" is linked to the "musicNo" number.
- musicTitle 📝 Music and artist information
- difData 📝 Chart information
- musicNo 📝 Associating music files with charts
- musicFolder 📝 Music file directory location
- playbackRate 📝 Music playback speed (mainly for test play)
Version | Change details |
---|---|
v27.5.0 | - Supports newline delimitation as an alternative to "$" delimitation |
v10.0.0 | - Changed to refer to the same directory as the work page by specifying (..) at the beginning. |
v4.0.0 | - Changed so that multiple songs can be specified by separating them with "$". |
v1.7.0 | - Changed so that base64-converted mp3 data (js files) can be specified |
v1.0.0 (v0.40.0) |
- Initial implementation |
| <- dosNo | musicUrl | musicNo -> |