File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Synthesizer and Buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Synthesizer and Buttons" Watch "Synthesizer and Buttons" New topic
Author

Synthesizer and Buttons

Mitch Krah
Ranch Hand

Joined: Sep 06, 2004
Posts: 41
I am trying to play a MIDI instrument associated with a specific button pressed using the synthesizer class (and event handling). However, I have no information on the Sythesizer class. I looked at the API, but am not sure how Patch relates to how a sound is played. I am not sure about what/if I need to import a class (what class - Patch, Synthesizer, ?)? Also, I am not sure how to call the sound such that I get the "General MIDI Standard" (e.g. 0 = acoustic piano).

Any help is appreciated. Any good examples out there to review?

Thank you.
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
How about MIDI Programming FAQ. Google.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Synthesizer and Buttons
 
Similar Threads
MIDI Volume Mystery
JMF and Java Sound at same time?
Beeping other pitches?
MIDI volume control difficulties
Simple Midi Problem