Results 1 to 1 of 1
Thread: Program design
- 01-24-2011, 06:48 PM #1Member
- Join Date
- Sep 2008
- Rep Power
I'm making a music sequencer where the user can play given samples at arbitrary positions within my GUI. There're two types of music samples that they can play an instrument, and a vocal.
I've got an interface "ISampleType" where my "Vocal", and "Instrument" implement the interface. Both of my classes extends another class called "PlaySample" all this class does is play the sample (.WAV) file based of the location of a vocal "voice.wav, voice2.wav etc" or an instrument ("Snare.wav","Highhat.wav" etc).
All I would like to know if this design seems okay. I'm implementing something than changes (SampleType), but I'm setting my class (PlaySample) to an concreate implementation.
Any tips please?
- By kennyblue in forum AWT / SwingReplies: 6Last Post: 11-10-2010, 06:59 PM
- By mofaker in forum AWT / SwingReplies: 4Last Post: 10-29-2009, 01:34 AM
- By makpandian in forum NetBeansReplies: 0Last Post: 04-20-2009, 02:21 PM
- By rushenas in forum New To JavaReplies: 4Last Post: 01-23-2009, 07:41 AM
- By praveen.kb in forum AWT / SwingReplies: 0Last Post: 01-21-2008, 12:54 PM