Merge pull request #2553 from Umcaruje/volumevelocity
Rename note volume into note velocity
This commit is contained in:
@@ -194,7 +194,7 @@ PianoRoll::PianoRoll() :
|
||||
m_noteBorderRadiusY( 0 )
|
||||
{
|
||||
// gui names of edit modes
|
||||
m_nemStr.push_back( tr( "Note Volume" ) );
|
||||
m_nemStr.push_back( tr( "Note Velocity" ) );
|
||||
m_nemStr.push_back( tr( "Note Panning" ) );
|
||||
|
||||
QSignalMapper * signalMapper = new QSignalMapper( this );
|
||||
@@ -470,7 +470,7 @@ void PianoRoll::showVolTextFloat(volume_t vol, const QPoint &pos, int timeout)
|
||||
{
|
||||
//! \todo display velocity for MIDI-based instruments
|
||||
// possibly dBV values too? not sure if it makes sense for note volumes...
|
||||
showTextFloat( tr("Volume: %1%").arg( vol ), pos, timeout );
|
||||
showTextFloat( tr("Velocity: %1%").arg( vol ), pos, timeout );
|
||||
}
|
||||
|
||||
|
||||
@@ -3555,7 +3555,7 @@ void PianoRoll::enterValue( NoteVector* nv )
|
||||
{
|
||||
bool ok;
|
||||
int new_val;
|
||||
new_val = QInputDialog::getInt( this, "Piano roll: note volume",
|
||||
new_val = QInputDialog::getInt( this, "Piano roll: note velocity",
|
||||
tr( "Please enter a new value between %1 and %2:" ).
|
||||
arg( MinVolume ).arg( MaxVolume ),
|
||||
(*nv)[0]->getVolume(),
|
||||
|
||||
@@ -147,7 +147,7 @@ InstrumentMidiIOView::InstrumentMidiIOView( QWidget* parent ) :
|
||||
baseVelocityLayout->setContentsMargins( 8, 18, 8, 8 );
|
||||
baseVelocityLayout->setSpacing( 6 );
|
||||
|
||||
QLabel* baseVelocityHelp = new QLabel( tr( "Specify the velocity normalization base for MIDI-based instruments at note volume 100%" ) );
|
||||
QLabel* baseVelocityHelp = new QLabel( tr( "Specify the velocity normalization base for MIDI-based instruments at 100% note velocity" ) );
|
||||
baseVelocityHelp->setWordWrap( true );
|
||||
baseVelocityHelp->setFont( pointSize<8>( baseVelocityHelp->font() ) );
|
||||
|
||||
|
||||
@@ -706,7 +706,7 @@ PatternView::PatternView( Pattern* pattern, TrackView* parent ) :
|
||||
setFixedHeight( parentWidget()->height() - 2 );
|
||||
|
||||
ToolTip::add( this,
|
||||
tr( "use mouse wheel to set volume of a step" ) );
|
||||
tr( "use mouse wheel to set velocity of a step" ) );
|
||||
setStyle( QApplication::style() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user