comparison data/model/FlexiNoteModel.h @ 791:373923435472 tonioni

different colours, some minor changes, mainly debugging cerrs
author matthiasm
date Fri, 19 Apr 2013 15:37:27 +0100
parents cb587575bc0d
children cccf6069a9fc
comparison
equal deleted inserted replaced
788:2fa49f5caac5 791:373923435472
124 PlayParameterRepository::getInstance()->removePlayable(this); 124 PlayParameterRepository::getInstance()->removePlayable(this);
125 } 125 }
126 126
127 float getValueQuantization() const { return m_valueQuantization; } 127 float getValueQuantization() const { return m_valueQuantization; }
128 void setValueQuantization(float q) { m_valueQuantization = q; } 128 void setValueQuantization(float q) { m_valueQuantization = q; }
129 float getValueMinimum() const { return 33; }
130 float getValueMaximum() const { return 88; }
129 131
130 QString getTypeName() const { return tr("FlexiNote"); } 132 QString getTypeName() const { return tr("FlexiNote"); }
131 133
132 virtual bool canPlay() const { return true; } 134 virtual bool canPlay() const { return true; }
133 135
136 return "dssi:_builtin:sample_player"; 138 return "dssi:_builtin:sample_player";
137 } 139 }
138 140
139 virtual QString getDefaultPlayPluginConfiguration() const 141 virtual QString getDefaultPlayPluginConfiguration() const
140 { 142 {
141 return "<plugin program=\"piano\"/>"; 143 return "<plugin program=\"organ\"/>";
142 } 144 }
143 145
144 virtual void toXml(QTextStream &out, 146 virtual void toXml(QTextStream &out,
145 QString indent = "", 147 QString indent = "",
146 QString extraAttributes = "") const 148 QString extraAttributes = "") const