Enum Effect
- Namespace
- SunSharp
- Assembly
- SunSharp.dll
Represents various effects that can be applied to notes or tracks in the SunVox pattern.
public enum Effect : byte
- Extension Methods
Fields
Arpeggio = 8Arpeggio. XX - second note increment; YY - third note increment.
BindMidiOut = 53Bind MIDI OUT message XX (0x0 - Program Change; 0x1 - Channel Pressure; 0x2 - Pitch Bend Change) to controller YY (0x0 - OFF; 0x80 - MIDI controller 0x0; 0x81 - MIDI controller 0x1...). For the specified module only.
ChangeModuleFineTune = 21Change the relative note and finetune of the module. XX - relative note (0x00 - ignore; 0x01 = -127 decimal; 0x80 = 0x0; 0xFF = 127 decimal); YY - finetune (0x00 - ignore; 0x01 = one semitone lower; 0x80 = 0x0; 0xFF = one semitone higher).
CopyTrackFromPattern = 60Copy track XX from the pattern YY. For example, if XXYY = 0x0023, then the first track will be copied from the pattern named "23". Destructive effect - irreversibly changes the contents of the pattern.
CopyTrackToPattern = 59Copy track XX to the pattern named YY. Destructive effect - irreversibly changes the contents of the pattern.
CutNote = 28Cut note after YY ticks in the current line.
CyclicShiftTrackLines = 57Cyclic shift of track XX down by YY lines. Destructive effect - irreversibly changes the contents of the pattern.
Delay0 = 64Delays an event for 0x0/0x20 of line duration.
Delay1 = 65Delays an event for 0x1/0x20 of line duration.
Delay10 = 74Delays an event for 0xA/0x20 of line duration.
Delay11 = 75Delays an event for 0xB/0x20 of line duration.
Delay12 = 76Delays an event for 0xC/0x20 of line duration.
Delay13 = 77Delays an event for 0xD/0x20 of line duration.
Delay14 = 78Delays an event for 0xE/0x20 of line duration.
Delay15 = 79Delays an event for 0xF/0x20 of line duration.
Delay16 = 80Delays an event for 0x10/0x20 of line duration.
Delay17 = 81Delays an event for 0x11/0x20 of line duration.
Delay18 = 82Delays an event for 0x12/0x20 of line duration.
Delay19 = 83Delays an event for 0x13/0x20 of line duration.
Delay2 = 66Delays an event for 0x2/0x20 of line duration.
Delay20 = 84Delays an event for 0x14/0x20 of line duration.
Delay21 = 85Delays an event for 0x15/0x20 of line duration.
Delay22 = 86Delays an event for 0x16/0x20 of line duration.
Delay23 = 87Delays an event for 0x17/0x20 of line duration.
Delay24 = 88Delays an event for 0x18/0x20 of line duration.
Delay25 = 89Delays an event for 0x19/0x20 of line duration.
Delay26 = 90Delays an event for 0x1A/0x20 of line duration.
Delay27 = 91Delays an event for 0x1B/0x20 of line duration.
Delay28 = 92Delays an event for 0x1C/0x20 of line duration.
Delay29 = 93Delays an event for 0x1D/0x20 of line duration.
Delay3 = 67Delays an event for 0x3/0x20 of line duration.
Delay30 = 94Delays an event for 0x1E/0x20 of line duration.
Delay31 = 95Delays an event for 0x1F/0x20 of line duration.
Delay4 = 68Delays an event for 0x4/0x20 of line duration.
Delay5 = 69Delays an event for 0x5/0x20 of line duration.
Delay6 = 70Delays an event for 0x6/0x20 of line duration.
Delay7 = 71Delays an event for 0x7/0x20 of line duration.
Delay8 = 72Delays an event for 0x8/0x20 of line duration.
Delay9 = 73Delays an event for 0x9/0x20 of line duration.
DelayNote = 29Delay the start of note until tick YY in the current line.
DeleteEventOnTrackWithProbability = 56Delete an event on track XX with a probability of YY (0x00 to 0xFF (100%)). Destructive effect - irreversibly changes the contents of the pattern.
FineSlideDown = 18Fine slide down. XXYY specifies the amount.
FineSlideUp = 17Fine slide up. XXYY specifies the amount.
FineVelocitySlide = 26Fine velocity slide up/down. XX - up speed; YY - down speed. Applied once at the beginning of a line.
GeneratePolyrhythm = 58Generate a new iteration of YY-line polyrhythm on track XX. Destructive effect - irreversibly changes the contents of the pattern.
Jump = 49Jump to line XXYY (address) right after the end of the current line.
None = 0No effect applied.
NoteProbability = 32Note probability. XXYY specifies the probability.
NoteProbabilityRandomVelocity = 33Note probability with random velocity. XXYY specifies the probability.
PitchBendDown = 6Pitch bend down: pitch = original pitch (initialized when a note is activated) - XXYY. One semitone = 0x0100.
PitchBendUp = 5Pitch bend up: pitch = original pitch (initialized when a note is activated) + XXYY. One semitone = 0x0100.
PlayNoteFromLine = 36Take a note from line XXYY on the same track.
PlayNoteFromLineOnTrackZero = 40Take a note from line XXYY on track 0x0.
PlayNoteRandomTrackSameLine = 38Take a note from track XXYY on the same line.
PlayRandomNoteFromRange = 37Take a random note from the range of lines XX..YY (inclusive) on the same track.
PlayRandomNoteFromRangeOnTrackZero = 41Take a random note from the range of lines XX..YY (inclusive) on track 0x0.
PlayRandomNoteFromRangeTracksSameLine = 39Take a random note from the range of tracks XX..YY (inclusive) on the same line.
ResetBypassSoloMute = 20Reset Bypass/Solo/Mute (BSM = XYY) flags. Bypass - 0x0100; Solo - 0x0010; Mute - 0x0001.
Retrigger = 25Retrigger note after XXYY ticks during the line.
SetBpm = 31Set BPM to XXYY.
SetBypassSoloMute = 19Set Bypass/Solo/Mute (BSM = XYY) flags. Bypass - 0x0100; Solo - 0x0010; Mute - 0x0001.
SetControllerRandomAbsolute = 34Set controller value to a random number from 0x0000 to XXYY.
SetControllerRandomRange = 35Set controller value to a random number with range from XX (0x00 to 0xFF) to YY (0x00 to 0xFF).
SetJumpMode = 50Set jump address mode YY: 0x0 - absolute address, relative to the start of the timeline (default); 0x1 - (pattern beginning + address); 0x2 - (pattern beginning - address); 0x3 - (next line + address); 0x4 - (next line - address).
SetPhase = 9Set phase (or sample offset) XXYY in samples*0x0100.
SetPhasePercents = 7Set phase (or sample offset) XXYY in percents (from 0x0000 (0%) to 0x8000 (100%)).
SetPlayingSpeed = 15Set playing speed or time grids. XXYY: 0x0001 to 0x001F - number of ticks per line; 0x0020 to 0x00FF - BPM; XXYY: 0xF001 to 0xF020 and 0xF100 to 0xF120 - time grids.
SetResetProjectOptions = 52Set (XX) or reset (YY) project options: 0x1 - no portamento on the first tick (for compatibility with old tracker formats); 0x2 - no velocity slide on the first tick (for compatibility with old tracker formats); 0x4 - use Round-robin keyboard track allocation algorithm, instead of default tight packing; 0x8 - always output 7-bit MIDI controller values, even if the controller is 14-bit (0x0-0x1F).
SlideDown = 2Slide down (portamento down). Sliding speed = XXYY. Can use the last nonzero parameter when XXYY = 0x0000.
SlideToNote = 3Slide to note. Sliding speed = XXYY. Can use the last nonzero parameter when XXYY = 0x0000.
SlideUp = 1Slide up (portamento up). Sliding speed = XXYY. Can use the last nonzero parameter when XXYY = 0x0000.
SlotSync = 51Slot sync (for sv_sync_resume() in SunVox library).
StopPlaying = 48Stop playing the song.
VelocitySlide = 10Velocity slide up/down. XX - up speed; YY - down speed. Can use the last nonzero parameter when XXYY = 0x0000.
Vibrato = 4Vibrato. XX - frequency; YY - amplitude. Can use the last nonzero parameter when XXYY = 0x0000.
WriteRandomValue = 61Write a random value to track YY. Min value, max value and column must be in track 0x0, starting from line XX. Destructive effect - irreversibly changes the contents of the pattern.