home *** CD-ROM | disk | FTP | other *** search
/ Internet 1996 World Exposition / park.org.s3.amazonaws.com.7z / park.org.s3.amazonaws.com / Cdrom / Pavilions / BrainOpera / online / net-music / net-instrument / CLineMods.java < prev    next >
Encoding:
Java Source  |  2017-09-21  |  686 b   |  16 lines

  1. // Used to communicate to sub-lines specialized playing
  2. // information, helping it decide pitch, timing, etc.
  3. public class CLineMods    // Hungarian: lm
  4. {
  5.     CMusicLine pCopyLine;    // 0, or a line to copy.
  6.         // Not locally allocated.
  7.     int iCopyIndex;    // For now: If less than half the length of pCopyLine,
  8.         // then start copying at this index. Else copy up to this index.
  9.     int iCLOffset;    // How much to offset the key that's copied
  10.         // (Only used if pCopyLine != 0)
  11.     boolean bContrast;    // When selecting a pitch, do it so it
  12.         // contrasts with the normal selction method.
  13.  
  14.     CLineMods (CMusicLine pmln/*=0*/) {
  15.         pCopyLine=pmln; iCopyIndex=0; iCLOffset=0; bContrast=false;}
  16. }