mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
examples/audio: Change the music
This commit is contained in:
parent
06d6494ca7
commit
e596271002
BIN
examples/_resources/audio/classic.mp3
Normal file
BIN
examples/_resources/audio/classic.mp3
Normal file
Binary file not shown.
Binary file not shown.
@ -1,5 +1,14 @@
|
|||||||
# License
|
# License
|
||||||
|
|
||||||
|
## classic.mp3
|
||||||
|
|
||||||
|
```
|
||||||
|
https://musopen.org/music/466/johann-sebastian-bach/air-on-the-g-string-from-orchestral-suite-no-3-bwv-1068/
|
||||||
|
|
||||||
|
Air on the G String (from Orchestral Suite no. 3, BWV 1068)
|
||||||
|
Public Domain
|
||||||
|
```
|
||||||
|
|
||||||
## jab.wav
|
## jab.wav
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -17,13 +26,6 @@ http://mart.kitunebi.com/music_act.html
|
|||||||
Harpie's Feather (ハルピュイアの羽) by Napi
|
Harpie's Feather (ハルピュイアの羽) by Napi
|
||||||
```
|
```
|
||||||
|
|
||||||
## game2.mp3
|
|
||||||
|
|
||||||
```
|
|
||||||
http://mart.kitunebi.com/music_act.html
|
|
||||||
|
|
||||||
ノアの羽舟 by Napi
|
|
||||||
```
|
|
||||||
|
|
||||||
## ragtime.ogg
|
## ragtime.ogg
|
||||||
|
|
||||||
|
Binary file not shown.
@ -113,7 +113,7 @@ func NewPlayer(audioContext *audio.Context) (*Player, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
mp3F, err := ebitenutil.OpenFile("_resources/audio/game2.mp3")
|
mp3F, err := ebitenutil.OpenFile("_resources/audio/classic.mp3")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user