Audio Mode for Instrumental & Karaoke (#749)
* Add AudioMode * Update Theme System Version * Update Theme System Version * Version 11 * Version 8 * Update Theme System Version * Add AudioMode * Update Theme System Version * Add AudioMode * Add AudioMode * Add AudioMode * Add AudioMode * Add AudioMode * No effect for Instrumental * Instrumental Check * Add HasInstrumental Check --------- Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
This commit is contained in:
1 parent
cccca5ab83
commit
18d6dba40e
14 files changed
+166
-28
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#region license
|
||||
#region license
|
||||
// This file is part of Vocaluxe.
|
||||
//
|
||||
// Vocaluxe is free software: you can redistribute it and/or modify
|
||||
@@ -364,6 +364,13 @@ namespace VocaluxeLib
|
||||
// ReSharper restore InconsistentNaming
|
||||
}
|
||||
|
||||
public enum EAudioMode
|
||||
{
|
||||
TR_AUDIOMODE_NORMAL,
|
||||
TR_AUDIOMODE_INSTRUMENTAL,
|
||||
TR_AUDIOMODE_KARAOKE
|
||||
}
|
||||
|
||||
public enum ENoteType
|
||||
{
|
||||
Normal,
|
||||
|
||||
@@ -329,6 +329,11 @@ namespace VocaluxeLib.Songs
|
||||
return Path.Combine(Folder, InstrumentalFileName);
|
||||
}
|
||||
|
||||
public bool HasInstrumental()
|
||||
{
|
||||
return !string.IsNullOrEmpty(InstrumentalFileName);
|
||||
}
|
||||
|
||||
public string GetVocals()
|
||||
{
|
||||
return Path.Combine(Folder, VocalsFileName);
|
||||
|
||||
Reference in new issue
Block a user