Update Pattern and AutomationPattern length (#3037)
This commit is contained in:
committed by
GitHub
parent
48cc3bb5ef
commit
41b930eb66
@@ -73,7 +73,8 @@ public:
|
||||
}
|
||||
void setTension( QString _new_tension );
|
||||
|
||||
virtual MidiTime length() const;
|
||||
MidiTime timeMapLength() const;
|
||||
void updateLength();
|
||||
|
||||
MidiTime putValue( const MidiTime & _time, const float _value,
|
||||
const bool _quant_pos = true );
|
||||
|
||||
@@ -63,9 +63,7 @@ public:
|
||||
|
||||
void init();
|
||||
|
||||
|
||||
virtual MidiTime length() const;
|
||||
MidiTime beatPatternLength() const;
|
||||
void updateLength();
|
||||
|
||||
// note management
|
||||
Note * addNote( const Note & _new_note, const bool _quant_pos = true );
|
||||
@@ -74,8 +72,6 @@ public:
|
||||
|
||||
Note * noteAtStep( int _step );
|
||||
|
||||
Note * rearrangeNote( Note * _note_to_proc,
|
||||
const bool _quant_pos = true );
|
||||
void rearrangeAllNotes();
|
||||
void clearNotes();
|
||||
|
||||
@@ -92,8 +88,6 @@ public:
|
||||
{
|
||||
return m_patternType;
|
||||
}
|
||||
void setType( PatternTypes _new_pattern_type );
|
||||
void checkType();
|
||||
|
||||
|
||||
// next/previous track based on position in the containing track
|
||||
@@ -135,6 +129,11 @@ protected slots:
|
||||
|
||||
|
||||
private:
|
||||
MidiTime beatPatternLength() const;
|
||||
|
||||
void setType( PatternTypes _new_pattern_type );
|
||||
void checkType();
|
||||
|
||||
void resizeToFirstTrack();
|
||||
|
||||
InstrumentTrack * m_instrumentTrack;
|
||||
|
||||
Reference in New Issue
Block a user