Results 1 to 3 of 3
- 03-13-2010, 08:48 PM #1
Member
- Join Date
- Mar 2010
- Posts
- 15
- Rep Power
- 0
how to program sound into your class
I'm trying to create my own beat machine with java but the only question I have is how do I go about programming the sound into the class ex.
class SoundBankDrumKit1
{
private String Kick;
private String Bass;
private String Snare;
private String HiHat;
private String Claps;
private String Cymbols;
private String RimShoot;
private String FX1;
private String Toms;
private String misc;
}
whats the syntax for importing sound into the code so I can create multiple sound Banks???
- 03-13-2010, 09:38 PM #2
Read up on the use of the javax.sound.midi and javax.sound.sampled packages.
db
- 03-13-2010, 09:42 PM #3
Member
- Join Date
- Mar 2010
- Posts
- 15
- Rep Power
- 0
Similar Threads
-
"Could not find the main class: comparisonDemo.class. Program will exit."
By ziisrick in forum New To JavaReplies: 6Last Post: 05-18-2010, 05:11 PM -
Help with program class?
By Boomer1 in forum New To JavaReplies: 2Last Post: 11-22-2009, 10:10 AM -
Can we have a java program without any public class?
By kthaker in forum New To JavaReplies: 3Last Post: 10-06-2009, 08:14 PM -
Could not find the main class. Program will exit.
By Carrier in forum New To JavaReplies: 1Last Post: 04-22-2009, 02:27 AM -
clock class program
By jvasilj1 in forum New To JavaReplies: 12Last Post: 02-01-2008, 08:27 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks