add desktop file and wrapper script for fluidsynth
This commit is contained in:
parent
0a4fa9c7a2
commit
6107016711
|
@ -69,6 +69,8 @@ You need to translate:
|
|||
|
||||
[Desktop file #2](https://github.com/captnfab/PianoBooster/blob/master/tools/timidity/pianobooster-timidity.desktop)
|
||||
|
||||
[Desktop file #3](https://github.com/captnfab/PianoBooster/blob/master/tools/fluidsynth/pianobooster-fluidsynth.desktop)
|
||||
|
||||
LICENSE
|
||||
=======
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
#/bin/sh
|
||||
|
||||
if [ -f "/usr/share/soundfonts/FluidR3_GM.sf2" ] && [ -f "/usr/share/soundfonts/FluidR3_GS.sf2" ]
|
||||
then
|
||||
sf2_1="/usr/share/soundfonts/FluidR3_GM.sf2"
|
||||
sf2_2="/usr/share/soundfonts/FluidR3_GS.sf2"
|
||||
fi
|
||||
|
||||
if [ -f "/usr/share/sounds/sf2/FluidR3_GM.sf2" ] && [ -f "/usr/share/sounds/sf2/FluidR3_GS.sf2" ]
|
||||
then
|
||||
sf2_1="/usr/share/sounds/sf2/FluidR3_GM.sf2"
|
||||
sf2_2="/usr/share/sounds/sf2/FluidR3_GS.sf2"
|
||||
fi
|
||||
|
||||
if [ -z "$sf2_1" ] && [ -z "$sf2_2"]
|
||||
then
|
||||
echo "Error: SoundFonts FluidR3_GM.sf2 and FluidR3_GS.sf2 were not found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
xterm -e "fluidsynth -C 0 -R 0 -r 22050 -c 6 -z 128 -l -a alsa -o audio.alsa.device=plughw:0 -o midi.alsa_seq.id=fs $sf2_1 $sf2_2" &
|
||||
PID=$!
|
||||
pianobooster
|
||||
kill $PID
|
|
@ -0,0 +1,38 @@
|
|||
[Desktop Entry]
|
||||
Name=Piano Booster (FluidSynth)
|
||||
Comment=A MIDI file player that teaches you how to play the piano, with FluidSynth sequencer
|
||||
GenericName=Piano Teacher
|
||||
Exec=pianobooster-fluidsynth
|
||||
Icon=pianobooster
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Music;Education;
|
||||
MimeType=audio/x-karaoke;audio/x-midi;audio/midi;
|
||||
Keywords=audio;midi;music;piano;education;learning;playing;songs;
|
||||
|
||||
|
||||
# Translations
|
||||
GenericName[gl]=Profesor de piano
|
||||
Name[hi]=पियानो बूस्टर (FluidSynth)
|
||||
Name[pt]=Piano Booster (FluidSynth)
|
||||
Comment[pt]=Um reprodutor de ficheiro MIDI que ensina a tocar piano, com o sequenciador FluidSynth
|
||||
GenericName[pt]=Professor de Piano
|
||||
Comment[pt_BR]=Um reprodutor de arquivos MIDI que ensina a tocar piano, com o sequenciador FluidSynth
|
||||
GenericName[pt_BR]=Professor de Piano
|
||||
Name[ru]=Piano Booster (FluidSynth)
|
||||
Comment[ru]=Проигрыватель MIDI-файлов, который научит вас играть на пианино с помощью секвенсора FluidSynth
|
||||
GenericName[ru]=Обучение пианино
|
||||
Name[is]=Píanó Booster (FluidSynth)
|
||||
GenericName[is]=Píanókennari
|
||||
Name[cs]=Piano Booster (FluidSynth)
|
||||
Comment[cs]=Přehrávač souborů MIDI, který vás učí hře na klavír, se sekvencerem FluidSynth
|
||||
GenericName[cs]=Učitel klavíru
|
||||
Name[de]=Piano Booster (FluidSynth)
|
||||
Name[es]=Piano Booster (FluidSynth)
|
||||
Comment[es]=Un reproductor de archivos MIDI que te enseña a tocar el piano, con el secuenciador FluidSynth
|
||||
GenericName[es]=Profesor de piano
|
||||
Name[uk]=Piano Booster (FluidSynth)
|
||||
Comment[uk]=Програвач файлів MIDI, який навчить вас гри на піаніно за допомогою синтезатора FluidSynth
|
||||
GenericName[uk]=Навчання гри на піаніно
|
||||
Name[fr]=Piano Booster (FluidSynth)
|
||||
GenericName[fr]=Professeur de piano
|
|
@ -51,7 +51,7 @@
|
|||
<source><body bgcolor="#FFFFC0"><p><strong>Start With Middle C</strong> is an extremely easy piece. Just find <strong>middle C</strong> on the piano and then play that note four times using your <strong>thumb</strong> on your <strong>right hand</strong>. The first half of the piece has <strong>middle C</strong> in the <strong>Treble Clef</strong>, then for the second half of the piece the same <strong>middle C</strong> note is shown the <strong>Bass Clef</strong>. Play this using your <strong>thumb</strong> on your <strong>left hand</strong>.</p>
|
||||
|
||||
<font color="#ff0000"><p><b>Hint:</strong> <em>Try to remember where <strong>Middle C</strong> is on the piano - this is the most <strong>important note</strong>!</em></p></font></body></source>
|
||||
<translation><body bgcolor="#FFFFC0"><p><strong>Comienza con Do Medio</strong>es una pieza extremadamente fácil. Solo encuentra la <strong>Do Medio</strong>en el piano y luego toca esa nota cuatro veces con el <strong>pulgar </strong>de tu<strong> mano derecha</strong>. La primera mitad de la pieza tiene <strong>Do Medio </strong>en la <strong>Clave de Sol</strong>, luego, para la segunda mitad de la pieza, la misma nota <strong>Do medio</strong>se muestra la <strong>Clave de Fa</strong>. Juega esto usando tu <strong>pulgar </strong>de tu <strong>mano izquierda</strong>. </p>
|
||||
<translation><body bgcolor="#FFFFC0"><p><strong>Comienza con Do Medio</strong> es una pieza extremadamente fácil. Solo encuentra la <strong>Do Medio</strong>en el piano y luego toca esa nota cuatro veces con el <strong>pulgar </strong>de tu<strong> mano derecha</strong>. La primera mitad de la pieza tiene <strong>Do Medio </strong>en la <strong>Clave de Sol</strong>, luego, para la segunda mitad de la pieza, la misma nota <strong>Do medio</strong>se muestra la <strong>Clave de Fa</strong>. Juega esto usando tu <strong>pulgar </strong>de tu <strong>mano izquierda</strong>. </p>
|
||||
|
||||
<font color="#ff0000"><p><b>Consejo:</strong> <em>Trate de recordar dónde está <strong>Do Medio</strong>en el piano. ¡Esta es la <strong>nota más importante</strong>!</em></p></font></body></translation>
|
||||
</message>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
<font color="#ff0000"><p><b>Hint:</strong> <em>Try to remember where <strong>Middle C</strong> is on the piano - this is the most <strong>important note</strong>!</em></p></font></body></source>
|
||||
<translation><body bgcolor="#FFFFC0"><p><strong>Почнімо з середнього до</strong> — надзвичайно простий твір. Просто знайдіть <strong>середнє до</strong> на піаніно, а потім зіграйте цю ноту чотири рази за допомогою вашого <strong>великого пальця</strong> на <strong>правій руці</strong>. У перша половині твору <strong>середнє до</strong> грають у <strong>скрипковому ключі</strong>, а у другій половині ту саму ноту <strong>середнього до</strong> грають у <strong>басовому ключі</strong>. Цю ноту слід грати <strong>великим пальцем</strong> вашої <strong>лівої руки</strong>.</p>
|
||||
|
||||
<font color="#ff0000"><p><b>Hint:</strong> <em>Try to remember where <strong>Middle C</strong> is on the piano -- this is the most <strong>important note</strong>!</em></p></font></body></translation>
|
||||
<font color="#ff0000"><p><b>Підказка:</strong> <em>Постарайтеся згадати, де знаходиться <strong>середньої до</strong> на піаніно -- це <strong>найважливіша нота</strong>!</em></p></font></body></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><body bgcolor="#FFFFC0"><p>The <strong>Chord of C Major</strong> piece, introduces you to the chord of <strong>C Major</strong> which has three notes <strong>Middle C</strong>, <strong>E</strong> and <strong>G</strong>.</p>
|
||||
|
|
Loading…
Reference in New Issue