Class TempoRescaler
- Namespace
- ChartTools.Tools
- Assembly
- ChartTools.dll
public static class TempoRescaler
- Inheritance
-
TempoRescaler
- Inherited Members
Methods
Rescale(ILongObject, float)
Rescales the length a long object.
public static void Rescale(this ILongObject obj, float scale)
Parameters
objILongObjectObject to rescale
scalefloatPositive number where 1 is the current scale.
Rescale(ILongTrackObject, float)
Rescales the position and length of a long track object
public static void Rescale(this ILongTrackObject trackObject, float scale)
Parameters
trackObjectILongTrackObjectObject to rescale
scalefloatPositive number where 1 is the current scale.
Rescale(ITrackObject, float)
Rescales the position of a track object
public static void Rescale(this ITrackObject trackObject, float scale)
Parameters
trackObjectITrackObjectObject to rescale
scalefloatPositive number where 1 is the current scale.
Rescale(Instrument, float)
Rescales all tracks in an instrument.
public static void Rescale(this Instrument instrument, float scale)
Parameters
instrumentInstrumentSource of the tracks
scalefloatPositive number where 1 is the current scale.
Rescale(Song, float)
Rescales all instruments, tempo and time signatures.
public static void Rescale(this Song song, float scale)
Parameters
Rescale(SyncTrack, float)
Rescales the tempo and time signatures in a song.
public static void Rescale(this SyncTrack syncTrack, float scale)
Parameters
Rescale(Tempo, float)
Rescales the position and value of a tempo marker.
public static void Rescale(this Tempo tempo, float scale)
Parameters
Rescale(Track, float)
Rescales the chords in a track.
public static void Rescale(this Track track, float scale)
Parameters
Rescale<TNote, TLane>(NoteProxy<TNote, TLane>, float)
Rescales the sustain value of the note represented by the specified proxy.
public static void Rescale<TNote, TLane>(this NoteProxy<TNote, TLane> proxy, float scale) where TNote : struct, IDefinedLaneNote<TLane> where TLane : struct, Enum
Parameters
proxyNoteProxy<TNote, TLane>Proxy representing the note
scalefloatPositive number where 1 is the current scale.
Type Parameters
TNoteNote type
TLaneLane type
Rescale<TChord, TNote, TLane>(TChord, float)
Rescales the position of a chord and sustain of its notes.
public static void Rescale<TChord, TNote, TLane>(this TChord chord, float scale) where TChord : Chord<TNote, TLane> where TNote : struct, IDefinedLaneNote<TLane> where TLane : struct, Enum
Parameters
chordTChordChord to rescale
scalefloatPositive number where 1 is the current scale.
Type Parameters
TChordTNoteTLane