Skip to content

Commit

Permalink
pokemon euskara musikaxuxeku
Browse files Browse the repository at this point in the history
  • Loading branch information
bibi2di committed May 14, 2023
1 parent a1a0d23 commit 0b9ea12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added src/Musica/pokemoneusk.wav
Binary file not shown.
3 changes: 2 additions & 1 deletion src/Vista_Controlador/Pantalla_De_Inicio.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ public void run() {
try {
Pantalla_De_Inicio frame = new Pantalla_De_Inicio();
frame.setVisible(true);
InputStream inputStream = Pantalla_De_Inicio.class.getResourceAsStream( "/Musica/Pokemon.wav");
InputStream inputStream = Pantalla_De_Inicio.class.getResourceAsStream( "/Musica/pokemoneusk.wav");
AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(inputStream);
clip1 = AudioSystem.getClip();
clip1.open(audioInputStream);
clip1.loop(Clip.LOOP_CONTINUOUSLY);
clip1.start();
} catch (Exception e) {
e.printStackTrace();
Expand Down

0 comments on commit 0b9ea12

Please sign in to comment.