* replaced instrument::notePlayHandleBased() with instrument::isMidiBased()
* renamed bendable() to isBendable() * if the instrument is MIDI based and instrument-track's volume is below 100, adjust velocity of MIDI events and scaling factor when mixing sound git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1715 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -76,9 +76,9 @@ public:
|
||||
return( 0 );
|
||||
}
|
||||
|
||||
virtual bool notePlayHandleBased( void ) const
|
||||
virtual bool isMidiBased( void ) const
|
||||
{
|
||||
return( FALSE );
|
||||
return( true );
|
||||
}
|
||||
|
||||
virtual pluginView * instantiateView( QWidget * _parent );
|
||||
|
||||
@@ -67,9 +67,9 @@ public:
|
||||
|
||||
virtual void waitForWorkerThread( void );
|
||||
|
||||
virtual bool notePlayHandleBased( void ) const
|
||||
virtual bool isMidiBased( void ) const
|
||||
{
|
||||
return( FALSE );
|
||||
return( true );
|
||||
}
|
||||
|
||||
virtual bool handleMidiEvent( const midiEvent & _me,
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
* Boston, MA 02110-1301 USA.
|
||||
*
|
||||
*/
|
||||
#ifndef _VIBED_STRINGS_H
|
||||
#define _VIBED_STRINGS_H
|
||||
#ifndef _VIBED_H
|
||||
#define _VIBED_H
|
||||
|
||||
#include "instrument.h"
|
||||
#include "instrument_view.h"
|
||||
@@ -53,13 +53,14 @@ public:
|
||||
|
||||
virtual QString nodeName( void ) const;
|
||||
|
||||
inline virtual bool bendable( void ) const
|
||||
{
|
||||
return( false );
|
||||
}
|
||||
inline virtual bool isBendable( void ) const
|
||||
{
|
||||
return( false );
|
||||
}
|
||||
|
||||
virtual pluginView * instantiateView( QWidget * _parent );
|
||||
|
||||
|
||||
private:
|
||||
QList<knobModel*> m_pickKnobs;
|
||||
QList<knobModel*> m_pickupKnobs;
|
||||
|
||||
Reference in New Issue
Block a user