Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.media.music
Class Melody

java.lang.Object
  extended by ie.ncl.media.music.Melody
Direct Known Subclasses:
IMelody, RTTTL

public class Melody
extends java.lang.Object


Constructor Summary
Melody()
           
Melody(Melody melody)
           
 
Method Summary
 void add(Note n)
           
 void clearNotes()
           
 void createMIDI(java.io.OutputStream os)
           
 void createMIDI(java.lang.String filename)
           
 int getBeat()
           
 int getDuration()
          Duration 1 = full note, 2= half, 4= 1/4 etc.
 int getLoop()
           
 java.lang.String getName()
           
 Note[] getNotes()
           
 int getScale()
           
 int getStyle()
           
 int getVolume()
           
 void setBeat(int set)
           
 void setDuration(int set)
           
 void setLoop(int set)
           
 void setName(java.lang.String name)
           
 void setScale(int set)
           
 void setStyle(int set)
           
 void setVolume(int set)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Melody

public Melody()

Melody

public Melody(Melody melody)
Method Detail

getVolume

public int getVolume()

setVolume

public void setVolume(int set)

getBeat

public int getBeat()

setBeat

public void setBeat(int set)

getLoop

public int getLoop()

setLoop

public void setLoop(int set)

getDuration

public int getDuration()
Duration 1 = full note, 2= half, 4= 1/4 etc.


setDuration

public void setDuration(int set)

getScale

public int getScale()

setScale

public void setScale(int set)

getStyle

public int getStyle()

setStyle

public void setStyle(int set)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

clearNotes

public void clearNotes()

getNotes

public Note[] getNotes()

add

public void add(Note n)

createMIDI

public void createMIDI(java.io.OutputStream os)
                throws java.io.IOException
Throws:
java.io.IOException

createMIDI

public void createMIDI(java.lang.String filename)
                throws java.io.IOException
Throws:
java.io.IOException

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit