-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43238e7
commit bf11115
Showing
9 changed files
with
150 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<tabliato> | ||
<propertie title="Quoan vols ganhar" tagline="\tabliato" tempo="4=160" time="3/4" instrument="" system="cadb" motif="3" poet="" accordion="ctl1gc" rythm="B a a " subtitle="Combien veux-tu gagner - Valse" composer="Trad. des Landes de Gascogne" key="c \major"/> | ||
<tabulature>\partial 4 p7:8 p6' [r:4] | ||
|
||
\repeat volta 2 | ||
{ | ||
p8:4 8 t8 [G g d] | ||
p7 7 7 G | ||
p7 t7:8 p7 t7 p7 [G d d] | ||
p8:2 t8:4 [G g d] | ||
|
||
\break | ||
|
||
t8 8 p7 [D d g] | ||
t7 p7 t8 [D g d] | ||
p8:4 t9:4. p8:8 [G d d] | ||
} | ||
\alternative | ||
{ | ||
{ p7:2 p7:8 p6' G } | ||
{ p6:2 p7:4 G } | ||
} | ||
|
||
\break | ||
|
||
\repeat volta 2 | ||
{ | ||
p6:2 p7:4 G | ||
t9:2 t8:4 D | ||
t8 t10:4. 9:8 D | ||
p8:2 p8:4 G | ||
|
||
\break | ||
|
||
p8 t9 p8 [G d g] | ||
t10 t9 t7' D | ||
} | ||
\alternative | ||
{ | ||
{ | ||
t8 t6':4. t7:8 D | ||
p7:2 p7:4 G | ||
} | ||
{ | ||
t8:4 t6' t7 D | ||
p6:2 [G:2] | ||
} | ||
} | ||
|
||
\bar "|." | ||
</tabulature> | ||
<lyric></lyric> | ||
</tabliato> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef LILYPOND_H | ||
#define LILYPOND_H | ||
|
||
#include <QString> | ||
|
||
namespace Lilypond | ||
{ | ||
QString get_lilypond_path(); | ||
QString get_lilypond_command(); | ||
bool is_lilypond_installed(); | ||
} | ||
|
||
#endif // LILYPOND_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#include <QString> | ||
#include <QSettings> | ||
|
||
#include "lilypond.h" | ||
|
||
namespace Lilypond | ||
{ | ||
|
||
QString get_lilypond_path() | ||
{ | ||
#ifdef Q_OS_WINDOWS | ||
QSettings settings("HKEY_LOCAL_MACHINE\\SOFTWARE\\wow6432node\\LilyPond", QSettings::NativeFormat); // 32 bits : HKEY_LOCAL_MACHINE\\SOFTWARE\\LilyPond | ||
QString lilypath = settings.value("Install_Dir").toString(); | ||
return lilypath | ||
#endif | ||
|
||
#ifdef Q_OS_LINUX | ||
return "/usr/bin"; | ||
#endif | ||
} | ||
|
||
QString get_lilypond_command() | ||
{ | ||
#ifdef Q_OS_WINDOWS | ||
QString command = "\"" + get_lilypond_path(); + "\\usr\\bin\\lilypond.exe" + "\""; | ||
#endif | ||
|
||
#ifdef Q_OS_LINUX | ||
QString command = "lilypond"; | ||
#endif | ||
|
||
return command; | ||
} | ||
|
||
bool is_lilypond_installed() | ||
{ | ||
bool installed = (get_lilypond_path() == "") ? false : true; | ||
return installed; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters