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:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Java Source
|
2017-09-21
|
686 b
|
16 lines
// Used to communicate to sub-lines specialized playing
// information, helping it decide pitch, timing, etc.
public class CLineMods // Hungarian: lm
{
CMusicLine pCopyLine; // 0, or a line to copy.
// Not locally allocated.
int iCopyIndex; // For now: If less than half the length of pCopyLine,
// then start copying at this index. Else copy up to this index.
int iCLOffset; // How much to offset the key that's copied
// (Only used if pCopyLine != 0)
boolean bContrast; // When selecting a pitch, do it so it
// contrasts with the normal selction method.
CLineMods (CMusicLine pmln/*=0*/) {
pCopyLine=pmln; iCopyIndex=0; iCLOffset=0; bContrast=false;}
}