Answer the question
In order to leave comments, you need to log in
How to fix an error when trying to create a synthesizer (Java)?
Hello!
I recently started learning Java. Now I'm trying to implement an example from a book.
IDE - eclipce I
create as follows:
import javax.sound.midi.*;
import java.io.*;
import java.util.*;
public class MusicTest1 {
public void play(){
Sequencer sequencer = MidiSystem.getSequencer();
System.out.println("Мы получили синтезатор");
}
public static void main(String[] args){
MusicTest1 mt = new MusicTest1();
mt.play();
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question