Default tone for Rap notes (#771)
This commit is contained in:
1 parent
ea1c684ef9
commit
b971e3ba7e
1 file changed
+8
-2
@@ -68,7 +68,13 @@ namespace VocaluxeLib.Songs
|
|||||||
|
|
||||||
public int Tone
|
public int Tone
|
||||||
{
|
{
|
||||||
get { return _Tone; }
|
get
|
||||||
|
{
|
||||||
|
// Always return 0 for Rap notes
|
||||||
|
if (IsRapNote)
|
||||||
|
return 0;
|
||||||
|
return _Tone;
|
||||||
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if ((value >= CBase.Settings.GetToneMin()) && (value <= CBase.Settings.GetToneMax()))
|
if ((value >= CBase.Settings.GetToneMin()) && (value <= CBase.Settings.GetToneMax()))
|
||||||
@@ -98,4 +104,4 @@ namespace VocaluxeLib.Songs
|
|||||||
public abstract bool IsNoteType(params ENoteType[] noteTypes);
|
public abstract bool IsNoteType(params ENoteType[] noteTypes);
|
||||||
#endregion Methods
|
#endregion Methods
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user