From 593cda044cb9de04eef2cef867f46f7bc548e2c9 Mon Sep 17 00:00:00 2001 From: Mika Date: Wed, 21 May 2014 23:44:52 +0200 Subject: [PATCH 1/2] Maj --- sources/GUI/#ponytrackertest.glade# | 2146 ------ sources/GUI/fenetreEdition.glade | 565 -- sources/GUI/fenetreInstrument.glade | 417 - sources/GUI/fenetreMotif.glade | 533 -- sources/GUI/fenetrePrincipale.glade | 1731 ----- sources/GUI/ponytracker.glade | 3262 -------- sources/GUI/ponytrackertest.glade | 10560 ++++++++++++++++++++++++-- sources/GUI/premierTest.c | 77 - sources/mainTest/boutondemerdes.c | 3217 +++++++- 9 files changed, 13097 insertions(+), 9411 deletions(-) delete mode 100644 sources/GUI/#ponytrackertest.glade# delete mode 100644 sources/GUI/fenetreEdition.glade delete mode 100644 sources/GUI/fenetreInstrument.glade delete mode 100644 sources/GUI/fenetreMotif.glade delete mode 100644 sources/GUI/fenetrePrincipale.glade delete mode 100644 sources/GUI/ponytracker.glade delete mode 100644 sources/GUI/premierTest.c diff --git a/sources/GUI/#ponytrackertest.glade# b/sources/GUI/#ponytrackertest.glade# deleted file mode 100644 index f364f33..0000000 --- a/sources/GUI/#ponytrackertest.glade# +++ /dev/null @@ -1,2146 +0,0 @@ - - - - - - False - - - True - False - - - True - False - - - True - True - - - - 0 - 0 - - - - - True - True - - - - 1 - 0 - - - - - True - True - - - - 0 - 1 - - - - - True - True - - - - 0 - 2 - - - - - True - True - - - - 0 - 3 - - - - - True - True - - - - 0 - 4 - - - - - True - True - - - - 0 - 5 - - - - - True - True - - - - 0 - 6 - - - - - True - True - - - - 0 - 7 - - - - - True - True - - - - 0 - 8 - - - - - True - True - - - - 0 - 9 - - - - - True - True - - - - 1 - 1 - - - - - True - True - - - - 1 - 2 - - - - - True - True - - - - 1 - 3 - - - - - True - True - - - - 1 - 4 - - - - - True - True - - - - 1 - 5 - - - - - True - True - - - - 1 - 6 - - - - - True - True - - - - 1 - 7 - - - - - True - True - - - - 1 - 8 - - - - - True - True - - - - 1 - 9 - - - - - 0 - 0 - - - - - 350 - True - False - - - 200 - True - True - True - - - True - False - gtk-add - - - - - False - True - 0 - - - - - 200 - True - True - True - - - True - False - gtk-remove - - - - - False - True - 1 - - - - - 0 - 1 - - - - - True - False - - - Enveloppe sonore - True - True - False - 0 - True - - - 0 - 0 - - - - - Réverbération - True - True - False - 0 - True - - - 0 - 1 - - - - - True - True - True - none - False - vertical - - - False - False - - - - - False - False - - - - - 1 - 0 - - - - - True - True - True - none - False - vertical - - - False - False - - - - - False - False - - - - - 1 - 1 - - - - - 1 - 0 - - - - - - - - - - False - - - True - False - - - True - True - True - - - True - False - gtk-add - - - - - 0 - 10 - - - - - True - True - True - - - True - False - gtk-remove - - - - - 1 - 10 - - - - - Jouer en boucle - True - True - False - 0 - True - - - 0 - 11 - - - - - True - False - Nombre de temps : - - - 0 - 12 - - - - - True - True - - - - 1 - 12 - - - - - True - True - - - - 0 - 9 - - - - - True - True - - - - 1 - 9 - - - - - True - True - - - - 2 - 9 - - - - - True - True - - - - 0 - 8 - - - - - True - True - - - - 0 - 7 - - - - - True - True - - - - 0 - 6 - - - - - True - True - - - - 0 - 5 - - - - - True - True - - - - 0 - 4 - - - - - True - True - - - - 0 - 3 - - - - - True - True - - - - 0 - 2 - - - - - True - True - - - - 0 - 1 - - - - - True - True - - - - 0 - 0 - - - - - True - True - - - - 1 - 8 - - - - - True - True - - - - 1 - 7 - - - - - True - True - - - - 1 - 6 - - - - - True - True - - - - 1 - 5 - - - - - True - True - - - - 1 - 4 - - - - - True - True - - - - 1 - 3 - - - - - True - True - - - - 1 - 2 - - - - - True - True - - - - 1 - 1 - - - - - True - True - - - - 1 - 0 - - - - - True - True - - - - 2 - 0 - - - - - True - True - - - - 2 - 1 - - - - - True - True - - - - 2 - 2 - - - - - True - True - - - - 2 - 3 - - - - - True - True - - - - 2 - 4 - - - - - True - True - - - - 2 - 5 - - - - - True - True - - - - 2 - 6 - - - - - True - True - - - - 2 - 7 - - - - - True - True - - - - 2 - 8 - - - - - True - False - - - 1 - 11 - - - - - True - False - - - 2 - 11 - - - - - True - False - - - 2 - 12 - - - - - True - False - - - 2 - 10 - - - - - - - False - - - True - False - - - 150 - 0 - True - False - vertical - 10 - - - True - False - start - - - True - True - True - - - True - False - gtk-add - - - - - False - True - 0 - - - - - True - True - True - - - True - False - gtk-remove - - - - - False - True - 1 - - - - - True - True - True - - - True - False - gtk-media-play - - - - - False - True - 2 - - - - - True - True - True - - - True - False - gtk-stop - - - - - False - True - 3 - - - - - False - True - 0 - - - - - True - False - vertical - - - True - True - - - - False - True - 0 - - - - - True - True - - - - False - True - 1 - - - - - True - True - - - - False - True - 2 - - - - - True - True - - - - False - True - 3 - - - - - True - True - - - - False - True - 4 - - - - - True - True - - - - False - True - 5 - - - - - True - True - - - - False - True - 6 - - - - - True - True - - - - False - True - 7 - - - - - True - True - - - - False - True - 8 - - - - - True - True - - - - False - True - 9 - - - - - True - True - - - - False - True - 10 - - - - - True - True - - - - False - True - 11 - - - - - True - True - - - - False - True - 12 - - - - - True - True - - - - False - True - 13 - - - - - True - True - - - - False - True - 14 - - - - - True - True - - - - False - True - 15 - - - - - True - True - - - - False - True - 16 - - - - - True - True - - - - False - True - 17 - - - - - True - True - - - - False - True - 18 - - - - - True - True - - - - False - True - 19 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - 800 - True - False - vertical - - - 0 - 150 - True - False - - - 250 - True - False - vertical - 10 - - - 0 - True - True - - - - False - True - 0 - - - - - True - False - - - False - True - 1 - - - - - False - True - 0 - - - - - 250 - True - False - - - 150 - True - False - 0.30000001192092896 - 0.05000000074505806 - Correspond à : - - - False - True - 0 - - - - - 200 - True - False - - - la note - 0 - True - True - False - 0 - True - True - - - 0 - 0 - - - - - la fréquence (Hz) - True - True - False - 0 - True - True - - - 0 - 1 - - - - - automatique - True - True - False - 0 - True - True - - - 0 - 2 - - - - - True - True - - - - 1 - 0 - - - - - True - True - - - - 1 - 1 - - - - - True - False - - - 1 - 2 - - - - - False - True - 1 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - - - - False - True - 1 - - - - - - - False - - - - True - False - vertical - - - 0 - 0 - True - False - 7 - 50 - - - 0 - 0 - True - False - 4 - - - 3 - 0 - True - True - True - - - True - False - 0.43000000715255737 - gtk-floppy - - - - - 0 - 0 - - - - - True - True - True - right - - - True - False - gtk-file - - - - - 1 - 0 - - - - - True - True - True - 0.44999998807907104 - - - True - False - gtk-undo - - - - - 2 - 0 - - - - - True - True - True - - - True - False - gtk-jump-to - - - - - 3 - 0 - - - - - True - True - True - - - True - False - gtk-media-rewind - - - - - 0 - 1 - - - - - True - True - True - - - - True - False - gtk-media-play - - - - - 1 - 1 - - - - - True - True - True - - - True - False - gtk-stop - - - - - 2 - 1 - - - - - True - True - True - - - True - False - gtk-media-forward - - - - - 3 - 1 - - - - - False - True - 0 - - - - - True - False - vertical - start - - - True - False - - - 0 - 0 - True - True - - A/20 : C/40 : 2/6 - - - False - True - 0 - - - - - 40 - 0 - True - True - - 1'26" - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - 40 - 0 - True - False - 0.40000000596046448 - G - - - False - True - 0 - - - - - 350 - True - False - 0.59999999999999998 - 0.20000000000000001 - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - - - 40 - 0 - True - False - D - - - False - True - 0 - - - - - 350 - True - False - 0.80000000000000004 - - - False - True - 1 - - - - - False - True - 2 - - - - - False - True - 1 - - - - - True - False - vertical - - - Sample - True - True - True - - - - False - True - 0 - - - - - Instruments - True - True - True - - - - False - True - 1 - - - - - Motifs - True - True - True - - - - False - True - 2 - - - - - True - False - - - Notes - True - True - True - 0.51999998092651367 - - - False - True - 0 - - - - - Effets - True - True - True - 0.38999998569488525 - - - False - True - 1 - - - - - False - True - 3 - - - - - False - True - 2 - - - - - 150 - 0 - True - False - vertical - - - True - False - - - 75 - 0 - True - False - BPM : - - - False - True - 0 - - - - - 0 - 0 - True - True - - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - 75 - True - False - Ticks : - - - False - True - 0 - - - - - True - True - - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - 0 - Instrument : - - - False - True - 2 - - - - - True - True - - 1 : Basse - 1 - - - False - True - 3 - - - - - False - True - 3 - - - - - False - True - 0 - - - - - True - False - - - True - False - - - True - False - True - - Do - - - - - False - - - - - - False - True - 1 - - - - - True - False - - 1 - 2 - - - - False - True - 2 - - - - - True - False - - 1 - 2 - - - - False - True - 2 - - - - - True - False - - 1 - 2 - - - - False - True - 4 - - - - - True - False - - 1 - 2 - - - - False - True - 4 - - - - - 0 - 0 - - - - - True - False - - - - - - - - - - - - - - - - - - 0 - 1 - - - - - True - False - - - - - - - - - - - - - - - - - - 0 - 2 - - - - - True - False - - - - - - - - - - - - - - - - - - 0 - 5 - - - - - True - False - - - - - - - - - - - - - - - - - - 0 - 3 - - - - - True - False - - - - - - - - - - - - - - - - - - 0 - 4 - - - - - False - True - 1 - - - - - - diff --git a/sources/GUI/fenetreEdition.glade b/sources/GUI/fenetreEdition.glade deleted file mode 100644 index 6c5e9ba..0000000 --- a/sources/GUI/fenetreEdition.glade +++ /dev/null @@ -1,565 +0,0 @@ - - - - - False - - - True - False - - - 150 - 0 - True - False - vertical - 10 - - - True - False - start - - - True - True - True - - - True - False - gtk-add - - - - - False - True - 0 - - - - - True - True - True - - - True - False - gtk-remove - - - - - False - True - 1 - - - - - True - True - True - - - True - False - gtk-media-play - - - - - False - True - 2 - - - - - True - True - True - - - True - False - gtk-stop - - - - - False - True - 3 - - - - - False - True - 0 - - - - - True - False - vertical - - - True - True - - - - False - True - 0 - - - - - True - True - - - - False - True - 1 - - - - - True - True - - - - False - True - 2 - - - - - True - True - - - - False - True - 3 - - - - - True - True - - - - False - True - 4 - - - - - True - True - - - - False - True - 5 - - - - - True - True - - - - False - True - 6 - - - - - True - True - - - - False - True - 7 - - - - - True - True - - - - False - True - 8 - - - - - True - True - - - - False - True - 9 - - - - - True - True - - - - False - True - 10 - - - - - True - True - - - - False - True - 11 - - - - - True - True - - - - False - True - 12 - - - - - True - True - - - - False - True - 13 - - - - - True - True - - - - False - True - 14 - - - - - True - True - - - - False - True - 15 - - - - - True - True - - - - False - True - 16 - - - - - True - True - - - - False - True - 17 - - - - - True - True - - - - False - True - 18 - - - - - True - True - - - - False - True - 19 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - 800 - True - False - vertical - - - 0 - 150 - True - False - - - 250 - True - False - vertical - 10 - - - 0 - True - True - - - - False - True - 0 - - - - - True - False - - - False - True - 1 - - - - - False - True - 0 - - - - - 250 - True - False - - - 150 - True - False - 0.30000001192092896 - 0.05000000074505806 - Correspond à : - - - False - True - 0 - - - - - 200 - True - False - - - la note - 0 - True - True - False - 0 - True - True - - - 0 - 0 - 1 - 1 - - - - - la fréquence (Hz) - True - True - False - 0 - True - True - - - 0 - 1 - 1 - 1 - - - - - automatique - True - True - False - 0 - 0.56999999284744263 - True - True - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - False - - - 1 - 2 - 1 - 1 - - - - - False - True - 1 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - - - - False - True - 1 - - - - - - diff --git a/sources/GUI/fenetreInstrument.glade b/sources/GUI/fenetreInstrument.glade deleted file mode 100644 index 48219fe..0000000 --- a/sources/GUI/fenetreInstrument.glade +++ /dev/null @@ -1,417 +0,0 @@ - - - - - False - - - True - False - - - True - False - - - True - True - - - - 0 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 0 - 1 - 1 - 1 - - - - - True - True - - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 0 - 3 - 1 - 1 - - - - - True - True - - - - 0 - 4 - 1 - 1 - - - - - True - True - - - - 0 - 5 - 1 - 1 - - - - - True - True - - - - 0 - 6 - 1 - 1 - - - - - True - True - - - - 0 - 7 - 1 - 1 - - - - - True - True - - - - 0 - 8 - 1 - 1 - - - - - True - True - - - - 0 - 9 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - True - - - - 1 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 3 - 1 - 1 - - - - - True - True - - - - 1 - 4 - 1 - 1 - - - - - True - True - - - - 1 - 5 - 1 - 1 - - - - - True - True - - - - 1 - 6 - 1 - 1 - - - - - True - True - - - - 1 - 7 - 1 - 1 - - - - - True - True - - - - 1 - 8 - 1 - 1 - - - - - True - True - - - - 1 - 9 - 1 - 1 - - - - - 0 - 0 - 1 - 1 - - - - - 350 - True - False - - - 200 - True - True - True - - - True - False - gtk-add - - - - - False - True - 0 - - - - - 200 - True - True - True - - - True - False - gtk-remove - - - - - False - True - 1 - - - - - 0 - 1 - 1 - 1 - - - - - True - False - - - Enveloppe sonore - True - True - False - 0 - True - - - 0 - 0 - 1 - 1 - - - - - Réverbération - True - True - False - 0 - True - - - 0 - 1 - 1 - 1 - - - - - True - True - True - none - False - vertical - - - 1 - 0 - 1 - 1 - - - - - True - True - True - none - False - vertical - - - 1 - 1 - 1 - 1 - - - - - 1 - 0 - 1 - 1 - - - - - - - - - diff --git a/sources/GUI/fenetreMotif.glade b/sources/GUI/fenetreMotif.glade deleted file mode 100644 index ec4f719..0000000 --- a/sources/GUI/fenetreMotif.glade +++ /dev/null @@ -1,533 +0,0 @@ - - - - - False - - - True - False - - - True - True - True - - - True - False - gtk-add - - - - - 0 - 10 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-remove - - - - - 1 - 10 - 1 - 1 - - - - - Jouer en boucle - True - True - False - 0.25 - True - - - 0 - 11 - 1 - 1 - - - - - True - False - Nombre de temps : - - - 0 - 12 - 1 - 1 - - - - - True - True - - - - 1 - 12 - 1 - 1 - - - - - True - True - - - - 0 - 9 - 1 - 1 - - - - - True - True - - - - 1 - 9 - 1 - 1 - - - - - True - True - - - - 2 - 9 - 1 - 1 - - - - - True - True - - - - 0 - 8 - 1 - 1 - - - - - True - True - - - - 0 - 7 - 1 - 1 - - - - - True - True - - - - 0 - 6 - 1 - 1 - - - - - True - True - - - - 0 - 5 - 1 - 1 - - - - - True - True - - - - 0 - 4 - 1 - 1 - - - - - True - True - - - - 0 - 3 - 1 - 1 - - - - - True - True - - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 0 - 1 - 1 - 1 - - - - - True - True - - - - 0 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 8 - 1 - 1 - - - - - True - True - - - - 1 - 7 - 1 - 1 - - - - - True - True - - - - 1 - 6 - 1 - 1 - - - - - True - True - - - - 1 - 5 - 1 - 1 - - - - - True - True - - - - 1 - 4 - 1 - 1 - - - - - True - True - - - - 1 - 3 - 1 - 1 - - - - - True - True - - - - 1 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 2 - 0 - 1 - 1 - - - - - True - True - - - - 2 - 1 - 1 - 1 - - - - - True - True - - - - 2 - 2 - 1 - 1 - - - - - True - True - - - - 2 - 3 - 1 - 1 - - - - - True - True - - - - 2 - 4 - 1 - 1 - - - - - True - True - - - - 2 - 5 - 1 - 1 - - - - - True - True - - - - 2 - 6 - 1 - 1 - - - - - True - True - - - - 2 - 7 - 1 - 1 - - - - - True - True - - - - 2 - 8 - 1 - 1 - - - - - True - False - - - 1 - 11 - 1 - 1 - - - - - True - False - - - 2 - 11 - 1 - 1 - - - - - True - False - - - 2 - 12 - 1 - 1 - - - - - True - False - - - 2 - 10 - 1 - 1 - - - - - - diff --git a/sources/GUI/fenetrePrincipale.glade b/sources/GUI/fenetrePrincipale.glade deleted file mode 100644 index d989eff..0000000 --- a/sources/GUI/fenetrePrincipale.glade +++ /dev/null @@ -1,1731 +0,0 @@ - - - - - False - - - True - False - vertical - - - 0 - 0 - True - False - 7 - 50 - - - 0 - 0 - True - False - 4 - - - 3 - 0 - True - True - True - - - True - False - 0.43000000715255737 - gtk-floppy - - - - - 0 - 0 - 1 - 1 - - - - - True - True - True - right - - - True - False - gtk-file - - - - - 1 - 0 - 1 - 1 - - - - - True - True - True - 0.44999998807907104 - - - True - False - gtk-undo - - - - - 2 - 0 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-jump-to - - - - - 3 - 0 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-media-rewind - - - - - 0 - 1 - 1 - 1 - - - - - True - True - True - - - - True - False - gtk-media-play - - - - - 1 - 1 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-stop - - - - - 2 - 1 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-media-forward - - - - - 3 - 1 - 1 - 1 - - - - - False - True - 0 - - - - - True - False - vertical - start - - - True - False - - - 0 - 0 - True - True - - A/20 : C/40 : 2/6 - - - False - True - 0 - - - - - 40 - 0 - True - True - - 1'26" - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - 40 - 0 - True - False - 0.40000000596046448 - G - - - False - True - 0 - - - - - 350 - True - False - 0.59999999999999998 - 0.20000000000000001 - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - - - 40 - 0 - True - False - D - - - False - True - 0 - - - - - 350 - True - False - 0.80000000000000004 - - - False - True - 1 - - - - - False - True - 2 - - - - - False - True - 1 - - - - - True - False - vertical - - - Sample - True - True - True - - - False - True - 0 - - - - - Instruments - True - True - True - - - False - True - 1 - - - - - Motifs - True - True - True - - - False - True - 2 - - - - - True - False - - - Notes - True - True - True - 0.51999998092651367 - - - False - True - 0 - - - - - Effets - True - True - True - 0.38999998569488525 - - - False - True - 1 - - - - - False - True - 3 - - - - - False - True - 2 - - - - - 150 - 0 - True - False - vertical - - - True - False - - - 75 - 0 - True - False - BPM : - - - False - True - 0 - - - - - 0 - 0 - True - True - - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - 75 - True - False - Ticks : - - - False - True - 0 - - - - - True - True - - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - 0 - Instrument : - - - False - True - 2 - - - - - True - True - - 1 : Basse - 1 - - - False - True - 3 - - - - - False - True - 3 - - - - - False - True - 0 - - - - - 300 - True - False - - - 50 - True - True - - - - 0 - 0 - 1 - 1 - - - - - True - True - - - - 0 - 1 - 1 - 1 - - - - - True - True - - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 0 - 3 - 1 - 1 - - - - - True - True - - - - 0 - 4 - 1 - 1 - - - - - True - True - - - - 0 - 5 - 1 - 1 - - - - - True - True - - - - 0 - 6 - 1 - 1 - - - - - True - True - - - - 0 - 7 - 1 - 1 - - - - - True - True - - - - 0 - 8 - 1 - 1 - - - - - True - True - - - - 0 - 9 - 1 - 1 - - - - - True - True - - - - 0 - 10 - 1 - 1 - - - - - True - True - - - - 0 - 11 - 1 - 1 - - - - - True - True - - - - 0 - 12 - 1 - 1 - - - - - True - True - - - - 0 - 13 - 1 - 1 - - - - - True - True - - - - 0 - 14 - 1 - 1 - - - - - True - True - - - - 0 - 15 - 1 - 1 - - - - - True - True - - - - 0 - 16 - 1 - 1 - - - - - True - True - - - - 0 - 17 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 3 - 1 - 1 - - - - - True - True - - - - 1 - 4 - 1 - 1 - - - - - True - True - - - - 1 - 5 - 1 - 1 - - - - - True - True - - - - 1 - 6 - 1 - 1 - - - - - True - True - - - - 1 - 7 - 1 - 1 - - - - - True - True - - - - 1 - 8 - 1 - 1 - - - - - True - True - - - - 1 - 9 - 1 - 1 - - - - - True - True - - - - 1 - 10 - 1 - 1 - - - - - True - True - - - - 1 - 11 - 1 - 1 - - - - - True - True - - - - 1 - 12 - 1 - 1 - - - - - True - True - - - - 1 - 13 - 1 - 1 - - - - - True - True - - - - 1 - 14 - 1 - 1 - - - - - True - True - - - - 1 - 15 - 1 - 1 - - - - - True - True - - - - 1 - 16 - 1 - 1 - - - - - True - True - - - - 1 - 17 - 1 - 1 - - - - - True - True - - - - 2 - 3 - 1 - 1 - - - - - True - True - - - - 2 - 0 - 1 - 1 - - - - - True - True - - - - 2 - 1 - 1 - 1 - - - - - True - True - - - - 2 - 2 - 1 - 1 - - - - - True - True - - - - 2 - 4 - 1 - 1 - - - - - True - True - - - - 2 - 5 - 1 - 1 - - - - - True - True - - - - 2 - 6 - 1 - 1 - - - - - True - True - - - - 2 - 7 - 1 - 1 - - - - - True - True - - - - 2 - 8 - 1 - 1 - - - - - True - True - - - - 2 - 9 - 1 - 1 - - - - - True - True - - - - 2 - 10 - 1 - 1 - - - - - True - True - - - - 2 - 11 - 1 - 1 - - - - - True - True - - - - 2 - 12 - 1 - 1 - - - - - True - True - - - - 2 - 13 - 1 - 1 - - - - - True - True - - - - 2 - 14 - 1 - 1 - - - - - True - True - - - - 2 - 15 - 1 - 1 - - - - - True - True - - - - 2 - 16 - 1 - 1 - - - - - True - True - - - - 2 - 17 - 1 - 1 - - - - - True - True - - - - 3 - 0 - 1 - 1 - - - - - True - True - - - - 3 - 1 - 1 - 1 - - - - - True - True - - - - 3 - 2 - 1 - 1 - - - - - True - True - - - - 4 - 1 - 1 - 1 - - - - - 100 - True - True - - - - 4 - 0 - 1 - 1 - - - - - True - True - - - - 3 - 3 - 1 - 1 - - - - - True - True - - - - 3 - 4 - 1 - 1 - - - - - True - True - - - - 3 - 5 - 1 - 1 - - - - - True - True - - - - 3 - 6 - 1 - 1 - - - - - True - True - - - - 3 - 7 - 1 - 1 - - - - - True - True - - - - 3 - 8 - 1 - 1 - - - - - True - True - - - - 3 - 9 - 1 - 1 - - - - - True - True - - - - 3 - 10 - 1 - 1 - - - - - True - True - - - - 3 - 11 - 1 - 1 - - - - - True - True - - - - 3 - 12 - 1 - 1 - - - - - True - True - - - - 3 - 13 - 1 - 1 - - - - - True - True - - - - 3 - 14 - 1 - 1 - - - - - True - True - - - - 3 - 15 - 1 - 1 - - - - - True - True - - - - 3 - 16 - 1 - 1 - - - - - True - True - - - - 3 - 17 - 1 - 1 - - - - - True - True - - - - 4 - 2 - 1 - 1 - - - - - True - True - - - - 4 - 3 - 1 - 1 - - - - - True - True - - - - 4 - 4 - 1 - 1 - - - - - True - True - - - - 4 - 5 - 1 - 1 - - - - - True - True - - - - 4 - 6 - 1 - 1 - - - - - True - True - - - - 4 - 7 - 1 - 1 - - - - - True - True - - - - 4 - 8 - 1 - 1 - - - - - True - True - - - - 4 - 9 - 1 - 1 - - - - - True - True - - - - 4 - 10 - 1 - 1 - - - - - True - True - - - - 4 - 11 - 1 - 1 - - - - - True - True - - - - 4 - 13 - 1 - 1 - - - - - True - True - - - - 4 - 12 - 1 - 1 - - - - - True - True - - - - 4 - 14 - 1 - 1 - - - - - True - True - - - - 4 - 15 - 1 - 1 - - - - - True - True - - - - 4 - 16 - 1 - 1 - - - - - True - True - - - - 4 - 17 - 1 - 1 - - - - - False - True - 1 - - - - - - diff --git a/sources/GUI/ponytracker.glade b/sources/GUI/ponytracker.glade deleted file mode 100644 index c0ad3f1..0000000 --- a/sources/GUI/ponytracker.glade +++ /dev/null @@ -1,3262 +0,0 @@ - - - - - - False - - - True - False - - - True - False - - - True - True - - - - 0 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 0 - 1 - 1 - 1 - - - - - True - True - - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 0 - 3 - 1 - 1 - - - - - True - True - - - - 0 - 4 - 1 - 1 - - - - - True - True - - - - 0 - 5 - 1 - 1 - - - - - True - True - - - - 0 - 6 - 1 - 1 - - - - - True - True - - - - 0 - 7 - 1 - 1 - - - - - True - True - - - - 0 - 8 - 1 - 1 - - - - - True - True - - - - 0 - 9 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - True - - - - 1 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 3 - 1 - 1 - - - - - True - True - - - - 1 - 4 - 1 - 1 - - - - - True - True - - - - 1 - 5 - 1 - 1 - - - - - True - True - - - - 1 - 6 - 1 - 1 - - - - - True - True - - - - 1 - 7 - 1 - 1 - - - - - True - True - - - - 1 - 8 - 1 - 1 - - - - - True - True - - - - 1 - 9 - 1 - 1 - - - - - 0 - 0 - 1 - 1 - - - - - 350 - True - False - - - 200 - True - True - True - - - True - False - gtk-add - - - - - False - True - 0 - - - - - 200 - True - True - True - - - True - False - gtk-remove - - - - - False - True - 1 - - - - - 0 - 1 - 1 - 1 - - - - - True - False - - - Enveloppe sonore - True - True - False - 0 - True - - - 0 - 0 - 1 - 1 - - - - - Réverbération - True - True - False - 0 - True - - - 0 - 1 - 1 - 1 - - - - - True - True - True - none - False - vertical - - - False - False - - - - - False - False - - - - - 1 - 0 - 1 - 1 - - - - - True - True - True - none - False - vertical - - - False - False - - - - - False - False - - - - - 1 - 1 - 1 - 1 - - - - - 1 - 0 - 1 - 1 - - - - - - - - - - False - - - True - False - - - True - True - True - - - True - False - gtk-add - - - - - 0 - 10 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-remove - - - - - 1 - 10 - 1 - 1 - - - - - Jouer en boucle - True - True - False - 0 - True - - - 0 - 11 - 1 - 1 - - - - - True - False - Nombre de temps : - - - 0 - 12 - 1 - 1 - - - - - True - True - - - - 1 - 12 - 1 - 1 - - - - - True - True - - - - 0 - 9 - 1 - 1 - - - - - True - True - - - - 1 - 9 - 1 - 1 - - - - - True - True - - - - 2 - 9 - 1 - 1 - - - - - True - True - - - - 0 - 8 - 1 - 1 - - - - - True - True - - - - 0 - 7 - 1 - 1 - - - - - True - True - - - - 0 - 6 - 1 - 1 - - - - - True - True - - - - 0 - 5 - 1 - 1 - - - - - True - True - - - - 0 - 4 - 1 - 1 - - - - - True - True - - - - 0 - 3 - 1 - 1 - - - - - True - True - - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 0 - 1 - 1 - 1 - - - - - True - True - - - - 0 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 8 - 1 - 1 - - - - - True - True - - - - 1 - 7 - 1 - 1 - - - - - True - True - - - - 1 - 6 - 1 - 1 - - - - - True - True - - - - 1 - 5 - 1 - 1 - - - - - True - True - - - - 1 - 4 - 1 - 1 - - - - - True - True - - - - 1 - 3 - 1 - 1 - - - - - True - True - - - - 1 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 2 - 0 - 1 - 1 - - - - - True - True - - - - 2 - 1 - 1 - 1 - - - - - True - True - - - - 2 - 2 - 1 - 1 - - - - - True - True - - - - 2 - 3 - 1 - 1 - - - - - True - True - - - - 2 - 4 - 1 - 1 - - - - - True - True - - - - 2 - 5 - 1 - 1 - - - - - True - True - - - - 2 - 6 - 1 - 1 - - - - - True - True - - - - 2 - 7 - 1 - 1 - - - - - True - True - - - - 2 - 8 - 1 - 1 - - - - - True - False - - - 1 - 11 - 1 - 1 - - - - - True - False - - - 2 - 11 - 1 - 1 - - - - - True - False - - - 2 - 12 - 1 - 1 - - - - - True - False - - - 2 - 10 - 1 - 1 - - - - - - - False - - - True - False - - - 150 - 0 - True - False - vertical - 10 - - - True - False - start - - - True - True - True - - - True - False - gtk-add - - - - - False - True - 0 - - - - - True - True - True - - - True - False - gtk-remove - - - - - False - True - 1 - - - - - True - True - True - - - True - False - gtk-media-play - - - - - False - True - 2 - - - - - True - True - True - - - True - False - gtk-stop - - - - - False - True - 3 - - - - - False - True - 0 - - - - - True - False - vertical - - - True - True - - - - False - True - 0 - - - - - True - True - - - - False - True - 1 - - - - - True - True - - - - False - True - 2 - - - - - True - True - - - - False - True - 3 - - - - - True - True - - - - False - True - 4 - - - - - True - True - - - - False - True - 5 - - - - - True - True - - - - False - True - 6 - - - - - True - True - - - - False - True - 7 - - - - - True - True - - - - False - True - 8 - - - - - True - True - - - - False - True - 9 - - - - - True - True - - - - False - True - 10 - - - - - True - True - - - - False - True - 11 - - - - - True - True - - - - False - True - 12 - - - - - True - True - - - - False - True - 13 - - - - - True - True - - - - False - True - 14 - - - - - True - True - - - - False - True - 15 - - - - - True - True - - - - False - True - 16 - - - - - True - True - - - - False - True - 17 - - - - - True - True - - - - False - True - 18 - - - - - True - True - - - - False - True - 19 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - 800 - True - False - vertical - - - 0 - 150 - True - False - - - 250 - True - False - vertical - 10 - - - 0 - True - True - - - - False - True - 0 - - - - - True - False - - - False - True - 1 - - - - - False - True - 0 - - - - - 250 - True - False - - - 150 - True - False - 0.30000001192092896 - 0.05000000074505806 - Correspond à : - - - False - True - 0 - - - - - 200 - True - False - - - la note - 0 - True - True - False - 0 - True - True - - - 0 - 0 - 1 - 1 - - - - - la fréquence (Hz) - True - True - False - 0 - True - True - - - 0 - 1 - 1 - 1 - - - - - automatique - True - True - False - 0 - True - True - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - False - - - 1 - 2 - 1 - 1 - - - - - False - True - 1 - - - - - False - True - 1 - - - - - False - True - 0 - - - - - - - - False - True - 1 - - - - - - - False - - - - True - False - vertical - - - 0 - 0 - True - False - 7 - 50 - - - 0 - 0 - True - False - 4 - - - 3 - 0 - True - True - True - - - True - False - 0.43000000715255737 - gtk-floppy - - - - - 0 - 0 - 1 - 1 - - - - - True - True - True - right - - - True - False - gtk-file - - - - - 1 - 0 - 1 - 1 - - - - - True - True - True - 0.44999998807907104 - - - True - False - gtk-undo - - - - - 2 - 0 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-jump-to - - - - - 3 - 0 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-media-rewind - - - - - 0 - 1 - 1 - 1 - - - - - True - True - True - - - - True - False - gtk-media-play - - - - - 1 - 1 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-stop - - - - - 2 - 1 - 1 - 1 - - - - - True - True - True - - - True - False - gtk-media-forward - - - - - 3 - 1 - 1 - 1 - - - - - False - True - 0 - - - - - True - False - vertical - start - - - True - False - - - 0 - 0 - True - True - - A/20 : C/40 : 2/6 - - - False - True - 0 - - - - - 40 - 0 - True - True - - 1'26" - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - 40 - 0 - True - False - 0.40000000596046448 - G - - - False - True - 0 - - - - - 350 - True - False - 0.59999999999999998 - 0.20000000000000001 - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - - - 40 - 0 - True - False - D - - - False - True - 0 - - - - - 350 - True - False - 0.80000000000000004 - - - False - True - 1 - - - - - False - True - 2 - - - - - False - True - 1 - - - - - True - False - vertical - - - Sample - True - True - True - - - - False - True - 0 - - - - - Instruments - True - True - True - - - - False - True - 1 - - - - - Motifs - True - True - True - - - - False - True - 2 - - - - - True - False - - - Notes - True - True - True - 0.51999998092651367 - - - False - True - 0 - - - - - Effets - True - True - True - 0.38999998569488525 - - - False - True - 1 - - - - - False - True - 3 - - - - - False - True - 2 - - - - - 150 - 0 - True - False - vertical - - - True - False - - - 75 - 0 - True - False - BPM : - - - False - True - 0 - - - - - 0 - 0 - True - True - - - - False - True - 1 - - - - - False - True - 0 - - - - - True - False - - - 75 - True - False - Ticks : - - - False - True - 0 - - - - - True - True - - - - False - True - 1 - - - - - False - True - 1 - - - - - True - False - 0 - Instrument : - - - False - True - 2 - - - - - True - True - - 1 : Basse - 1 - - - False - True - 3 - - - - - False - True - 3 - - - - - False - True - 0 - - - - - 300 - True - False - - - 50 - True - True - - - - 0 - 0 - 1 - 1 - - - - - True - True - - - - 0 - 1 - 1 - 1 - - - - - True - True - - - - 0 - 2 - 1 - 1 - - - - - True - True - - - - 0 - 3 - 1 - 1 - - - - - True - True - - - - 0 - 4 - 1 - 1 - - - - - True - True - - - - 0 - 5 - 1 - 1 - - - - - True - True - - - - 0 - 6 - 1 - 1 - - - - - True - True - - - - 0 - 7 - 1 - 1 - - - - - True - True - - - - 0 - 8 - 1 - 1 - - - - - True - True - - - - 0 - 9 - 1 - 1 - - - - - True - True - - - - 0 - 10 - 1 - 1 - - - - - True - True - - - - 0 - 11 - 1 - 1 - - - - - True - True - - - - 0 - 12 - 1 - 1 - - - - - True - True - - - - 0 - 13 - 1 - 1 - - - - - True - True - - - - 0 - 14 - 1 - 1 - - - - - True - True - - - - 0 - 15 - 1 - 1 - - - - - True - True - - - - 0 - 16 - 1 - 1 - - - - - True - True - - - - 0 - 17 - 1 - 1 - - - - - True - True - - - - 1 - 1 - 1 - 1 - - - - - True - True - - - - 1 - 0 - 1 - 1 - - - - - True - True - - - - 1 - 2 - 1 - 1 - - - - - True - True - - - - 1 - 3 - 1 - 1 - - - - - True - True - - - - 1 - 4 - 1 - 1 - - - - - True - True - - - - 1 - 5 - 1 - 1 - - - - - True - True - - - - 1 - 6 - 1 - 1 - - - - - True - True - - - - 1 - 7 - 1 - 1 - - - - - True - True - - - - 1 - 8 - 1 - 1 - - - - - True - True - - - - 1 - 9 - 1 - 1 - - - - - True - True - - - - 1 - 10 - 1 - 1 - - - - - True - True - - - - 1 - 11 - 1 - 1 - - - - - True - True - - - - 1 - 12 - 1 - 1 - - - - - True - True - - - - 1 - 13 - 1 - 1 - - - - - True - True - - - - 1 - 14 - 1 - 1 - - - - - True - True - - - - 1 - 15 - 1 - 1 - - - - - True - True - - - - 1 - 16 - 1 - 1 - - - - - True - True - - - - 1 - 17 - 1 - 1 - - - - - True - True - - - - 2 - 3 - 1 - 1 - - - - - True - True - - - - 2 - 0 - 1 - 1 - - - - - True - True - - - - 2 - 1 - 1 - 1 - - - - - True - True - - - - 2 - 2 - 1 - 1 - - - - - True - True - - - - 2 - 4 - 1 - 1 - - - - - True - True - - - - 2 - 5 - 1 - 1 - - - - - True - True - - - - 2 - 6 - 1 - 1 - - - - - True - True - - - - 2 - 7 - 1 - 1 - - - - - True - True - - - - 2 - 8 - 1 - 1 - - - - - True - True - - - - 2 - 9 - 1 - 1 - - - - - True - True - - - - 2 - 10 - 1 - 1 - - - - - True - True - - - - 2 - 11 - 1 - 1 - - - - - True - True - - - - 2 - 12 - 1 - 1 - - - - - True - True - - - - 2 - 13 - 1 - 1 - - - - - True - True - - - - 2 - 14 - 1 - 1 - - - - - True - True - - - - 2 - 15 - 1 - 1 - - - - - True - True - - - - 2 - 16 - 1 - 1 - - - - - True - True - - - - 2 - 17 - 1 - 1 - - - - - True - True - - - - 3 - 0 - 1 - 1 - - - - - True - True - - - - 3 - 1 - 1 - 1 - - - - - True - True - - - - 3 - 2 - 1 - 1 - - - - - True - True - - - - 4 - 1 - 1 - 1 - - - - - 100 - True - True - - - - 4 - 0 - 1 - 1 - - - - - True - True - - - - 3 - 3 - 1 - 1 - - - - - True - True - - - - 3 - 4 - 1 - 1 - - - - - True - True - - - - 3 - 5 - 1 - 1 - - - - - True - True - - - - 3 - 6 - 1 - 1 - - - - - True - True - - - - 3 - 7 - 1 - 1 - - - - - True - True - - - - 3 - 8 - 1 - 1 - - - - - True - True - - - - 3 - 9 - 1 - 1 - - - - - True - True - - - - 3 - 10 - 1 - 1 - - - - - True - True - - - - 3 - 11 - 1 - 1 - - - - - True - True - - - - 3 - 12 - 1 - 1 - - - - - True - True - - - - 3 - 13 - 1 - 1 - - - - - True - True - - - - 3 - 14 - 1 - 1 - - - - - True - True - - - - 3 - 15 - 1 - 1 - - - - - True - True - - - - 3 - 16 - 1 - 1 - - - - - True - True - - - - 3 - 17 - 1 - 1 - - - - - True - True - - - - 4 - 2 - 1 - 1 - - - - - True - True - - - - 4 - 3 - 1 - 1 - - - - - True - True - - - - 4 - 4 - 1 - 1 - - - - - True - True - - - - 4 - 5 - 1 - 1 - - - - - True - True - - - - 4 - 6 - 1 - 1 - - - - - True - True - - - - 4 - 7 - 1 - 1 - - - - - True - True - - - - 4 - 8 - 1 - 1 - - - - - True - True - - - - 4 - 9 - 1 - 1 - - - - - True - True - - - - 4 - 10 - 1 - 1 - - - - - True - True - - - - 4 - 11 - 1 - 1 - - - - - True - True - - - - 4 - 13 - 1 - 1 - - - - - True - True - - - - 4 - 12 - 1 - 1 - - - - - True - True - - - - 4 - 14 - 1 - 1 - - - - - True - True - - - - 4 - 15 - 1 - 1 - - - - - True - True - - - - 4 - 16 - 1 - 1 - - - - - True - True - - - - 4 - 17 - 1 - 1 - - - - - False - True - 1 - - - - - - diff --git a/sources/GUI/ponytrackertest.glade b/sources/GUI/ponytrackertest.glade index ba2ec9c..f6a5502 100644 --- a/sources/GUI/ponytrackertest.glade +++ b/sources/GUI/ponytrackertest.glade @@ -943,6 +943,9259 @@ + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + + Choisir un octave + 1 + 2 + + + + False + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + 5 + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + False @@ -1503,6 +10756,203 @@ + + False + + + True + False + vertical + + + True + False + True + 0 + 1 + + Choisir une note + Do + Do# + Re + Re# + Mi + Fa + Fa# + Sol + Sol# + La + La# + Si + + + + False + + Choisir une note + + + + + False + True + 0 + + + + + True + False + True + 0 + 1 + + Choisir un octave + 1 + 2 + + + + False + + Choisir un octave + + + + + False + True + 1 + + + + + True + False + True + 0 + 1 + + Choisir un instrument + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un instrument + + + + + False + True + 2 + + + + + True + False + True + 0 + 1 + + Choisir un volume + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un volume + + + + + False + True + 3 + + + + + True + False + True + 0 + 1 + + Choisir un effet + 1 + 2 + 3 + 4 + 5 + + + + False + + Choisir un effet + + + + + False + True + 4 + + + + + True + False + + + OK + True + True + True + + + + False + True + 0 + + + + + Annuler + True + True + True + + + False + True + 1 + + + + + False + True + 6 + + + + + False @@ -1883,12 +11333,13 @@ True False - + Notes True True True 0.51999998092651367 + False @@ -2049,104 +11500,16 @@ + 300 True False - + + button True - False - - - True - False - True - 0 - 1 - - Do - - - - - False - - - - - - False - True - 1 - - - - - True - False - 0 - 1 - - 1 - 2 - - - - False - True - 2 - - - - - True - False - 0 - 1 - - 1 - 2 - - - - False - True - 2 - - - - - True - False - 0 - 1 - - 1 - 2 - - - - False - True - 4 - - - - - True - False - 0 - 1 - - 1 - 2 - - - - False - True - 4 - - + True + True + 0 @@ -2156,24 +11519,27 @@ - + + button True - False - - - - - - - - - - - - - - - + True + True + + + + 1 + 0 + 1 + 1 + + + + + button + True + True + True + 0 @@ -2183,24 +11549,27 @@ - + + button True - False - - - - - - - - - - - - - - - + True + True + + + + 1 + 1 + 1 + 1 + + + + + button + True + True + True + 0 @@ -2210,51 +11579,12 @@ - + + button True - False - - - - - - - - - - - - - - - - - - 0 - 5 - 1 - 1 - - - - - True - False - - - - - - - - - - - - - - - + True + True + 0 @@ -2264,24 +11594,12 @@ - + + button True - False - - - - - - - - - - - - - - - + True + True + 0 @@ -2291,256 +11609,618 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + button + True + True + True + + + + 0 + 5 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 7 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 6 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 8 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 9 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 10 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 11 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 12 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 13 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 14 + 1 + 1 + + + + + button + True + True + True + + + + 0 + 15 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 2 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 3 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 4 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 5 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 6 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 7 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 8 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 9 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 10 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 11 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 12 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 13 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 14 + 1 + 1 + + + + + button + True + True + True + + + + 1 + 15 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 0 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 1 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 2 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 3 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 4 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 5 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 6 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 7 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 8 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 9 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 10 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 11 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 12 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 13 + 1 + 1 + + + + + button + True + True + True + + + + 2 + 14 + 1 + 1 + + + + + button + True + True + True + + + 2 + 15 + 1 + 1 + diff --git a/sources/GUI/premierTest.c b/sources/GUI/premierTest.c deleted file mode 100644 index 75c3688..0000000 --- a/sources/GUI/premierTest.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include - -int main( int argc, char *argv[] ) { - GtkBuilder *monBuilder; - GtkWidget *maFenetre; - - gtk_init( &argc, &argv ); - - monBuilder = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilder, "ponytracker.glade", NULL); - gtk_builder_connect_signals( monBuilder, NULL); - - maFenetre = GTK_WIDGET( gtk_builder_get_object( monBuilder, "fenetreprincipale")); - - gtk_widget_show_all (maFenetre); - gtk_main(); - return 0; -} - -void lancerLecture () -{ - gtk_main_quit(); -} - -void fenetreSample ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderSample; - GtkWidget *maFenetreSample; - - gtk_init( &argc, &argv ); - - monBuilderSample = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderSample, "ponytracker.glade", NULL); - gtk_builder_connect_signals( monBuilderSample, NULL); - - maFenetreSample = GTK_WIDGET( gtk_builder_get_object( monBuilderSample, "ajoutsample")); - - gtk_widget_show_all (maFenetreSample); -} - -void fenetreInstrument ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderInstrument; - GtkWidget *maFenetreInstrument; - - gtk_init( &argc, &argv ); - - monBuilderInstrument = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderInstrument, "ponytracker.glade", NULL); - gtk_builder_connect_signals( monBuilderInstrument, NULL); - - maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( monBuilderInstrument, "ajoutinstrument")); - - gtk_widget_show_all (maFenetreInstrument); -} - -void fenetreMotif ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderMotif; - GtkWidget *maFenetreMotif; - - gtk_init( &argc, &argv ); - - monBuilderMotif = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderMotif, "ponytracker.glade", NULL); - gtk_builder_connect_signals( monBuilderMotif, NULL); - - maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( monBuilderMotif, "ajoutmotif")); - - gtk_widget_show_all (maFenetreMotif); -} diff --git a/sources/mainTest/boutondemerdes.c b/sources/mainTest/boutondemerdes.c index 8bfc6af..8c99871 100644 --- a/sources/mainTest/boutondemerdes.c +++ b/sources/mainTest/boutondemerdes.c @@ -848,20 +848,20 @@ void remplissageNote0_9 (GtkWidget *widget, gpointer *data){ else if (strcmp(N5,streffet)==0) definirEffet(m,0,9,5); } -void fenetreNote0_0 ( int argc, char *argv[] ) +void fenetreNote0_10 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_10")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ +void remplissageNote0_10 (GtkWidget *widget, gpointer *data){ - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_10"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_10"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_10"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_10"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_10"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -869,84 +869,85 @@ void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); - if (strcmp(Do,strnote)==0) definirNote(m,0,0,1); + if (strcmp(Do,strnote)==0) definirNote(m,0,10,1); else - if (strcmp(DoD,strnote)==0) definirNote(m,0,0,2); + if (strcmp(DoD,strnote)==0) definirNote(m,0,10,2); else - if (strcmp(Re,strnote)==0) definirNote(m,0,0,3); + if (strcmp(Re,strnote)==0) definirNote(m,0,10,3); else - if (strcmp(ReD,strnote)==0) definirNote(m,0,0,4); + if (strcmp(ReD,strnote)==0) definirNote(m,0,10,4); else - if (strcmp(Mi,strnote)==0) definirNote(m,0,0,5); + if (strcmp(Mi,strnote)==0) definirNote(m,0,10,5); else - if (strcmp(Fa,strnote)==0) definirNote(m,0,0,6); + if (strcmp(Fa,strnote)==0) definirNote(m,0,10,6); else - if (strcmp(FaD,strnote)==0) definirNote(m,0,0,7); + if (strcmp(FaD,strnote)==0) definirNote(m,0,10,7); else - if (strcmp(Sol,strnote)==0) definirNote(m,0,0,8); + if (strcmp(Sol,strnote)==0) definirNote(m,0,10,8); else - if (strcmp(SolD,strnote)==0) definirNote(m,0,0,9); + if (strcmp(SolD,strnote)==0) definirNote(m,0,10,9); else - if (strcmp(La,strnote)==0) definirNote(m,0,0,10); + if (strcmp(La,strnote)==0) definirNote(m,0,10,10); else - if (strcmp(LaD,strnote)==0) definirNote(m,0,0,11); + if (strcmp(LaD,strnote)==0) definirNote(m,0,10,11); else - if (strcmp(Si,strnote)==0) definirNote(m,0,0,12); + if (strcmp(Si,strnote)==0) definirNote(m,0,10,12); - if (strcmp(N1,stroctave)==0) definirOctave(m,0,0,1); + if (strcmp(N1,stroctave)==0) definirOctave(m,0,10,1); else - if (strcmp(N2,stroctave)==0) definirOctave(m,0,0,2); + if (strcmp(N2,stroctave)==0) definirOctave(m,0,10,2); else - if (strcmp(N3,stroctave)==0) definirOctave(m,0,0,3); + if (strcmp(N3,stroctave)==0) definirOctave(m,0,10,3); else - if (strcmp(N4,stroctave)==0) definirOctave(m,0,0,4); + if (strcmp(N4,stroctave)==0) definirOctave(m,0,10,4); else - if (strcmp(N5,stroctave)==0) definirOctave(m,0,0,5); + if (strcmp(N5,stroctave)==0) definirOctave(m,0,10,5); - if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,0,1); + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,10,1); else - if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,0,2); + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,10,2); else - if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,0,3); + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,10,3); else - if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,0,4); + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,10,4); else - if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,0,5); + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,10,5); - if (strcmp(N1,strvolume)==0) definirVolume(m,0,0,1); + if (strcmp(N1,strvolume)==0) definirVolume(m,0,10,1); else - if (strcmp(N2,strvolume)==0) definirVolume(m,0,0,2); + if (strcmp(N2,strvolume)==0) definirVolume(m,0,10,2); else - if (strcmp(N3,strvolume)==0) definirVolume(m,0,0,3); + if (strcmp(N3,strvolume)==0) definirVolume(m,0,10,3); else - if (strcmp(N4,strvolume)==0) definirVolume(m,0,0,4); + if (strcmp(N4,strvolume)==0) definirVolume(m,0,10,4); else - if (strcmp(N5,strvolume)==0) definirVolume(m,0,0,5); + if (strcmp(N5,strvolume)==0) definirVolume(m,0,10,5); - if (strcmp(N1,streffet)==0) definirEffet(m,0,0,1); + if (strcmp(N1,streffet)==0) definirEffet(m,0,10,1); else - if (strcmp(N2,streffet)==0) definirEffet(m,0,0,2); + if (strcmp(N2,streffet)==0) definirEffet(m,0,10,2); else - if (strcmp(N3,streffet)==0) definirEffet(m,0,0,3); + if (strcmp(N3,streffet)==0) definirEffet(m,0,10,3); else - if (strcmp(N4,streffet)==0) definirEffet(m,0,0,4); + if (strcmp(N4,streffet)==0) definirEffet(m,0,10,4); else - if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); + if (strcmp(N5,streffet)==0) definirEffet(m,0,10,5); } -void fenetreNote0_0 ( int argc, char *argv[] ) + +void fenetreNote0_11 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_11")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ +void remplissageNote0_11 (GtkWidget *widget, gpointer *data){ - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_11"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_11"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_11"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_11"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_11"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -954,84 +955,85 @@ void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); - if (strcmp(Do,strnote)==0) definirNote(m,0,0,1); + if (strcmp(Do,strnote)==0) definirNote(m,0,11,1); else - if (strcmp(DoD,strnote)==0) definirNote(m,0,0,2); + if (strcmp(DoD,strnote)==0) definirNote(m,0,11,2); else - if (strcmp(Re,strnote)==0) definirNote(m,0,0,3); + if (strcmp(Re,strnote)==0) definirNote(m,0,11,3); else - if (strcmp(ReD,strnote)==0) definirNote(m,0,0,4); + if (strcmp(ReD,strnote)==0) definirNote(m,0,11,4); else - if (strcmp(Mi,strnote)==0) definirNote(m,0,0,5); + if (strcmp(Mi,strnote)==0) definirNote(m,0,11,5); else - if (strcmp(Fa,strnote)==0) definirNote(m,0,0,6); + if (strcmp(Fa,strnote)==0) definirNote(m,0,11,6); else - if (strcmp(FaD,strnote)==0) definirNote(m,0,0,7); + if (strcmp(FaD,strnote)==0) definirNote(m,0,11,7); else - if (strcmp(Sol,strnote)==0) definirNote(m,0,0,8); + if (strcmp(Sol,strnote)==0) definirNote(m,0,11,8); else - if (strcmp(SolD,strnote)==0) definirNote(m,0,0,9); + if (strcmp(SolD,strnote)==0) definirNote(m,0,11,9); else - if (strcmp(La,strnote)==0) definirNote(m,0,0,10); + if (strcmp(La,strnote)==0) definirNote(m,0,11,10); else - if (strcmp(LaD,strnote)==0) definirNote(m,0,0,11); + if (strcmp(LaD,strnote)==0) definirNote(m,0,11,11); else - if (strcmp(Si,strnote)==0) definirNote(m,0,0,12); + if (strcmp(Si,strnote)==0) definirNote(m,0,11,12); - if (strcmp(N1,stroctave)==0) definirOctave(m,0,0,1); + if (strcmp(N1,stroctave)==0) definirOctave(m,0,11,1); else - if (strcmp(N2,stroctave)==0) definirOctave(m,0,0,2); + if (strcmp(N2,stroctave)==0) definirOctave(m,0,11,2); else - if (strcmp(N3,stroctave)==0) definirOctave(m,0,0,3); + if (strcmp(N3,stroctave)==0) definirOctave(m,0,11,3); else - if (strcmp(N4,stroctave)==0) definirOctave(m,0,0,4); + if (strcmp(N4,stroctave)==0) definirOctave(m,0,11,4); else - if (strcmp(N5,stroctave)==0) definirOctave(m,0,0,5); + if (strcmp(N5,stroctave)==0) definirOctave(m,0,11,5); - if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,0,1); + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,11,1); else - if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,0,2); + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,11,2); else - if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,0,3); + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,11,3); else - if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,0,4); + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,11,4); else - if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,0,5); + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,11,5); - if (strcmp(N1,strvolume)==0) definirVolume(m,0,0,1); + if (strcmp(N1,strvolume)==0) definirVolume(m,0,11,1); else - if (strcmp(N2,strvolume)==0) definirVolume(m,0,0,2); + if (strcmp(N2,strvolume)==0) definirVolume(m,0,11,2); else - if (strcmp(N3,strvolume)==0) definirVolume(m,0,0,3); + if (strcmp(N3,strvolume)==0) definirVolume(m,0,11,3); else - if (strcmp(N4,strvolume)==0) definirVolume(m,0,0,4); + if (strcmp(N4,strvolume)==0) definirVolume(m,0,11,4); else - if (strcmp(N5,strvolume)==0) definirVolume(m,0,0,5); + if (strcmp(N5,strvolume)==0) definirVolume(m,0,11,5); - if (strcmp(N1,streffet)==0) definirEffet(m,0,0,1); + if (strcmp(N1,streffet)==0) definirEffet(m,0,11,1); else - if (strcmp(N2,streffet)==0) definirEffet(m,0,0,2); + if (strcmp(N2,streffet)==0) definirEffet(m,0,11,2); else - if (strcmp(N3,streffet)==0) definirEffet(m,0,0,3); + if (strcmp(N3,streffet)==0) definirEffet(m,0,11,3); else - if (strcmp(N4,streffet)==0) definirEffet(m,0,0,4); + if (strcmp(N4,streffet)==0) definirEffet(m,0,11,4); else - if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); + if (strcmp(N5,streffet)==0) definirEffet(m,0,11,5); } -void fenetreNote0_0 ( int argc, char *argv[] ) + +void fenetreNote0_12 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_12")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ +void remplissageNote0_12 (GtkWidget *widget, gpointer *data){ - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_12"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_12"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_12"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_12"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_12"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -1039,84 +1041,85 @@ void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); - if (strcmp(Do,strnote)==0) definirNote(m,0,0,1); + if (strcmp(Do,strnote)==0) definirNote(m,0,12,1); else - if (strcmp(DoD,strnote)==0) definirNote(m,0,0,2); + if (strcmp(DoD,strnote)==0) definirNote(m,0,12,2); else - if (strcmp(Re,strnote)==0) definirNote(m,0,0,3); + if (strcmp(Re,strnote)==0) definirNote(m,0,12,3); else - if (strcmp(ReD,strnote)==0) definirNote(m,0,0,4); + if (strcmp(ReD,strnote)==0) definirNote(m,0,12,4); else - if (strcmp(Mi,strnote)==0) definirNote(m,0,0,5); + if (strcmp(Mi,strnote)==0) definirNote(m,0,12,5); else - if (strcmp(Fa,strnote)==0) definirNote(m,0,0,6); + if (strcmp(Fa,strnote)==0) definirNote(m,0,12,6); else - if (strcmp(FaD,strnote)==0) definirNote(m,0,0,7); + if (strcmp(FaD,strnote)==0) definirNote(m,0,12,7); else - if (strcmp(Sol,strnote)==0) definirNote(m,0,0,8); + if (strcmp(Sol,strnote)==0) definirNote(m,0,12,8); else - if (strcmp(SolD,strnote)==0) definirNote(m,0,0,9); + if (strcmp(SolD,strnote)==0) definirNote(m,0,12,9); else - if (strcmp(La,strnote)==0) definirNote(m,0,0,10); + if (strcmp(La,strnote)==0) definirNote(m,0,12,10); else - if (strcmp(LaD,strnote)==0) definirNote(m,0,0,11); + if (strcmp(LaD,strnote)==0) definirNote(m,0,12,11); else - if (strcmp(Si,strnote)==0) definirNote(m,0,0,12); + if (strcmp(Si,strnote)==0) definirNote(m,0,12,12); - if (strcmp(N1,stroctave)==0) definirOctave(m,0,0,1); + if (strcmp(N1,stroctave)==0) definirOctave(m,0,12,1); else - if (strcmp(N2,stroctave)==0) definirOctave(m,0,0,2); + if (strcmp(N2,stroctave)==0) definirOctave(m,0,12,2); else - if (strcmp(N3,stroctave)==0) definirOctave(m,0,0,3); + if (strcmp(N3,stroctave)==0) definirOctave(m,0,12,3); else - if (strcmp(N4,stroctave)==0) definirOctave(m,0,0,4); + if (strcmp(N4,stroctave)==0) definirOctave(m,0,12,4); else - if (strcmp(N5,stroctave)==0) definirOctave(m,0,0,5); + if (strcmp(N5,stroctave)==0) definirOctave(m,0,12,5); - if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,0,1); + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,12,1); else - if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,0,2); + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,12,2); else - if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,0,3); + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,12,3); else - if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,0,4); + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,12,4); else - if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,0,5); + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,12,5); - if (strcmp(N1,strvolume)==0) definirVolume(m,0,0,1); + if (strcmp(N1,strvolume)==0) definirVolume(m,0,12,1); else - if (strcmp(N2,strvolume)==0) definirVolume(m,0,0,2); + if (strcmp(N2,strvolume)==0) definirVolume(m,0,12,2); else - if (strcmp(N3,strvolume)==0) definirVolume(m,0,0,3); + if (strcmp(N3,strvolume)==0) definirVolume(m,0,12,3); else - if (strcmp(N4,strvolume)==0) definirVolume(m,0,0,4); + if (strcmp(N4,strvolume)==0) definirVolume(m,0,12,4); else - if (strcmp(N5,strvolume)==0) definirVolume(m,0,0,5); + if (strcmp(N5,strvolume)==0) definirVolume(m,0,12,5); - if (strcmp(N1,streffet)==0) definirEffet(m,0,0,1); + if (strcmp(N1,streffet)==0) definirEffet(m,0,12,1); else - if (strcmp(N2,streffet)==0) definirEffet(m,0,0,2); + if (strcmp(N2,streffet)==0) definirEffet(m,0,12,2); else - if (strcmp(N3,streffet)==0) definirEffet(m,0,0,3); + if (strcmp(N3,streffet)==0) definirEffet(m,0,12,3); else - if (strcmp(N4,streffet)==0) definirEffet(m,0,0,4); + if (strcmp(N4,streffet)==0) definirEffet(m,0,12,4); else - if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); + if (strcmp(N5,streffet)==0) definirEffet(m,0,12,5); } -void fenetreNote0_0 ( int argc, char *argv[] ) + +void fenetreNote0_13 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_13")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ +void remplissageNote0_13 (GtkWidget *widget, gpointer *data){ - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_13"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_13"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_13"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_13"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_13"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -1124,84 +1127,85 @@ void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); - if (strcmp(Do,strnote)==0) definirNote(m,0,0,1); + if (strcmp(Do,strnote)==0) definirNote(m,0,13,1); else - if (strcmp(DoD,strnote)==0) definirNote(m,0,0,2); + if (strcmp(DoD,strnote)==0) definirNote(m,0,13,2); else - if (strcmp(Re,strnote)==0) definirNote(m,0,0,3); + if (strcmp(Re,strnote)==0) definirNote(m,0,13,3); else - if (strcmp(ReD,strnote)==0) definirNote(m,0,0,4); + if (strcmp(ReD,strnote)==0) definirNote(m,0,13,4); else - if (strcmp(Mi,strnote)==0) definirNote(m,0,0,5); + if (strcmp(Mi,strnote)==0) definirNote(m,0,13,5); else - if (strcmp(Fa,strnote)==0) definirNote(m,0,0,6); + if (strcmp(Fa,strnote)==0) definirNote(m,0,13,6); else - if (strcmp(FaD,strnote)==0) definirNote(m,0,0,7); + if (strcmp(FaD,strnote)==0) definirNote(m,0,13,7); else - if (strcmp(Sol,strnote)==0) definirNote(m,0,0,8); + if (strcmp(Sol,strnote)==0) definirNote(m,0,13,8); else - if (strcmp(SolD,strnote)==0) definirNote(m,0,0,9); + if (strcmp(SolD,strnote)==0) definirNote(m,0,13,9); else - if (strcmp(La,strnote)==0) definirNote(m,0,0,10); + if (strcmp(La,strnote)==0) definirNote(m,0,13,10); else - if (strcmp(LaD,strnote)==0) definirNote(m,0,0,11); + if (strcmp(LaD,strnote)==0) definirNote(m,0,13,11); else - if (strcmp(Si,strnote)==0) definirNote(m,0,0,12); + if (strcmp(Si,strnote)==0) definirNote(m,0,13,12); - if (strcmp(N1,stroctave)==0) definirOctave(m,0,0,1); + if (strcmp(N1,stroctave)==0) definirOctave(m,0,13,1); else - if (strcmp(N2,stroctave)==0) definirOctave(m,0,0,2); + if (strcmp(N2,stroctave)==0) definirOctave(m,0,13,2); else - if (strcmp(N3,stroctave)==0) definirOctave(m,0,0,3); + if (strcmp(N3,stroctave)==0) definirOctave(m,0,13,3); else - if (strcmp(N4,stroctave)==0) definirOctave(m,0,0,4); + if (strcmp(N4,stroctave)==0) definirOctave(m,0,13,4); else - if (strcmp(N5,stroctave)==0) definirOctave(m,0,0,5); + if (strcmp(N5,stroctave)==0) definirOctave(m,0,13,5); - if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,0,1); + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,13,1); else - if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,0,2); + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,13,2); else - if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,0,3); + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,13,3); else - if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,0,4); + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,13,4); else - if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,0,5); + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,13,5); - if (strcmp(N1,strvolume)==0) definirVolume(m,0,0,1); + if (strcmp(N1,strvolume)==0) definirVolume(m,0,13,1); else - if (strcmp(N2,strvolume)==0) definirVolume(m,0,0,2); + if (strcmp(N2,strvolume)==0) definirVolume(m,0,13,2); else - if (strcmp(N3,strvolume)==0) definirVolume(m,0,0,3); + if (strcmp(N3,strvolume)==0) definirVolume(m,0,13,3); else - if (strcmp(N4,strvolume)==0) definirVolume(m,0,0,4); + if (strcmp(N4,strvolume)==0) definirVolume(m,0,13,4); else - if (strcmp(N5,strvolume)==0) definirVolume(m,0,0,5); + if (strcmp(N5,strvolume)==0) definirVolume(m,0,13,5); - if (strcmp(N1,streffet)==0) definirEffet(m,0,0,1); + if (strcmp(N1,streffet)==0) definirEffet(m,0,13,1); else - if (strcmp(N2,streffet)==0) definirEffet(m,0,0,2); + if (strcmp(N2,streffet)==0) definirEffet(m,0,13,2); else - if (strcmp(N3,streffet)==0) definirEffet(m,0,0,3); + if (strcmp(N3,streffet)==0) definirEffet(m,0,13,3); else - if (strcmp(N4,streffet)==0) definirEffet(m,0,0,4); + if (strcmp(N4,streffet)==0) definirEffet(m,0,13,4); else - if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); + if (strcmp(N5,streffet)==0) definirEffet(m,0,13,5); } -void fenetreNote0_0 ( int argc, char *argv[] ) + +void fenetreNote0_14 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_14")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ +void remplissageNote0_14 (GtkWidget *widget, gpointer *data){ - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_14"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_14"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_14"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_14"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_14"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -1209,84 +1213,85 @@ void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); - if (strcmp(Do,strnote)==0) definirNote(m,0,0,1); + if (strcmp(Do,strnote)==0) definirNote(m,0,14,1); else - if (strcmp(DoD,strnote)==0) definirNote(m,0,0,2); + if (strcmp(DoD,strnote)==0) definirNote(m,0,14,2); else - if (strcmp(Re,strnote)==0) definirNote(m,0,0,3); + if (strcmp(Re,strnote)==0) definirNote(m,0,14,3); else - if (strcmp(ReD,strnote)==0) definirNote(m,0,0,4); + if (strcmp(ReD,strnote)==0) definirNote(m,0,14,4); else - if (strcmp(Mi,strnote)==0) definirNote(m,0,0,5); + if (strcmp(Mi,strnote)==0) definirNote(m,0,14,5); else - if (strcmp(Fa,strnote)==0) definirNote(m,0,0,6); + if (strcmp(Fa,strnote)==0) definirNote(m,0,14,6); else - if (strcmp(FaD,strnote)==0) definirNote(m,0,0,7); + if (strcmp(FaD,strnote)==0) definirNote(m,0,14,7); else - if (strcmp(Sol,strnote)==0) definirNote(m,0,0,8); + if (strcmp(Sol,strnote)==0) definirNote(m,0,14,8); else - if (strcmp(SolD,strnote)==0) definirNote(m,0,0,9); + if (strcmp(SolD,strnote)==0) definirNote(m,0,14,9); else - if (strcmp(La,strnote)==0) definirNote(m,0,0,10); + if (strcmp(La,strnote)==0) definirNote(m,0,14,10); else - if (strcmp(LaD,strnote)==0) definirNote(m,0,0,11); + if (strcmp(LaD,strnote)==0) definirNote(m,0,14,11); else - if (strcmp(Si,strnote)==0) definirNote(m,0,0,12); + if (strcmp(Si,strnote)==0) definirNote(m,0,14,12); - if (strcmp(N1,stroctave)==0) definirOctave(m,0,0,1); + if (strcmp(N1,stroctave)==0) definirOctave(m,0,14,1); else - if (strcmp(N2,stroctave)==0) definirOctave(m,0,0,2); + if (strcmp(N2,stroctave)==0) definirOctave(m,0,14,2); else - if (strcmp(N3,stroctave)==0) definirOctave(m,0,0,3); + if (strcmp(N3,stroctave)==0) definirOctave(m,0,14,3); else - if (strcmp(N4,stroctave)==0) definirOctave(m,0,0,4); + if (strcmp(N4,stroctave)==0) definirOctave(m,0,14,4); else - if (strcmp(N5,stroctave)==0) definirOctave(m,0,0,5); + if (strcmp(N5,stroctave)==0) definirOctave(m,0,14,5); - if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,0,1); + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,14,1); else - if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,0,2); + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,14,2); else - if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,0,3); + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,14,3); else - if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,0,4); + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,14,4); else - if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,0,5); + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,14,5); - if (strcmp(N1,strvolume)==0) definirVolume(m,0,0,1); + if (strcmp(N1,strvolume)==0) definirVolume(m,0,14,1); else - if (strcmp(N2,strvolume)==0) definirVolume(m,0,0,2); + if (strcmp(N2,strvolume)==0) definirVolume(m,0,14,2); else - if (strcmp(N3,strvolume)==0) definirVolume(m,0,0,3); + if (strcmp(N3,strvolume)==0) definirVolume(m,0,14,3); else - if (strcmp(N4,strvolume)==0) definirVolume(m,0,0,4); + if (strcmp(N4,strvolume)==0) definirVolume(m,0,14,4); else - if (strcmp(N5,strvolume)==0) definirVolume(m,0,0,5); + if (strcmp(N5,strvolume)==0) definirVolume(m,0,14,5); - if (strcmp(N1,streffet)==0) definirEffet(m,0,0,1); + if (strcmp(N1,streffet)==0) definirEffet(m,0,14,1); else - if (strcmp(N2,streffet)==0) definirEffet(m,0,0,2); + if (strcmp(N2,streffet)==0) definirEffet(m,0,14,2); else - if (strcmp(N3,streffet)==0) definirEffet(m,0,0,3); + if (strcmp(N3,streffet)==0) definirEffet(m,0,14,3); else - if (strcmp(N4,streffet)==0) definirEffet(m,0,0,4); + if (strcmp(N4,streffet)==0) definirEffet(m,0,14,4); else - if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); + if (strcmp(N5,streffet)==0) definirEffet(m,0,14,5); } -void fenetreNote0_0 ( int argc, char *argv[] ) + +void fenetreNote0_15 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_15")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ +void remplissageNote0_15 (GtkWidget *widget, gpointer *data){ - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_15"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_15"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_15"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_15"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_15"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -1294,67 +1299,2799 @@ void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); - if (strcmp(Do,strnote)==0) definirNote(m,0,0,1); + if (strcmp(Do,strnote)==0) definirNote(m,0,15,1); else - if (strcmp(DoD,strnote)==0) definirNote(m,0,0,2); + if (strcmp(DoD,strnote)==0) definirNote(m,0,15,2); else - if (strcmp(Re,strnote)==0) definirNote(m,0,0,3); + if (strcmp(Re,strnote)==0) definirNote(m,0,15,3); else - if (strcmp(ReD,strnote)==0) definirNote(m,0,0,4); + if (strcmp(ReD,strnote)==0) definirNote(m,0,15,4); else - if (strcmp(Mi,strnote)==0) definirNote(m,0,0,5); + if (strcmp(Mi,strnote)==0) definirNote(m,0,15,5); else - if (strcmp(Fa,strnote)==0) definirNote(m,0,0,6); + if (strcmp(Fa,strnote)==0) definirNote(m,0,15,6); else - if (strcmp(FaD,strnote)==0) definirNote(m,0,0,7); + if (strcmp(FaD,strnote)==0) definirNote(m,0,15,7); else - if (strcmp(Sol,strnote)==0) definirNote(m,0,0,8); + if (strcmp(Sol,strnote)==0) definirNote(m,0,15,8); else - if (strcmp(SolD,strnote)==0) definirNote(m,0,0,9); + if (strcmp(SolD,strnote)==0) definirNote(m,0,15,9); else - if (strcmp(La,strnote)==0) definirNote(m,0,0,10); + if (strcmp(La,strnote)==0) definirNote(m,0,15,10); else - if (strcmp(LaD,strnote)==0) definirNote(m,0,0,11); + if (strcmp(LaD,strnote)==0) definirNote(m,0,15,11); else - if (strcmp(Si,strnote)==0) definirNote(m,0,0,12); + if (strcmp(Si,strnote)==0) definirNote(m,0,15,12); - if (strcmp(N1,stroctave)==0) definirOctave(m,0,0,1); + if (strcmp(N1,stroctave)==0) definirOctave(m,0,15,1); else - if (strcmp(N2,stroctave)==0) definirOctave(m,0,0,2); + if (strcmp(N2,stroctave)==0) definirOctave(m,0,15,2); else - if (strcmp(N3,stroctave)==0) definirOctave(m,0,0,3); + if (strcmp(N3,stroctave)==0) definirOctave(m,0,15,3); else - if (strcmp(N4,stroctave)==0) definirOctave(m,0,0,4); + if (strcmp(N4,stroctave)==0) definirOctave(m,0,15,4); else - if (strcmp(N5,stroctave)==0) definirOctave(m,0,0,5); + if (strcmp(N5,stroctave)==0) definirOctave(m,0,15,5); - if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,0,1); + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,15,1); else - if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,0,2); + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,15,2); else - if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,0,3); + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,15,3); else - if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,0,4); + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,15,4); else - if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,0,5); + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,15,5); - if (strcmp(N1,strvolume)==0) definirVolume(m,0,0,1); + if (strcmp(N1,strvolume)==0) definirVolume(m,0,15,1); else - if (strcmp(N2,strvolume)==0) definirVolume(m,0,0,2); + if (strcmp(N2,strvolume)==0) definirVolume(m,0,15,2); else - if (strcmp(N3,strvolume)==0) definirVolume(m,0,0,3); + if (strcmp(N3,strvolume)==0) definirVolume(m,0,15,3); else - if (strcmp(N4,strvolume)==0) definirVolume(m,0,0,4); + if (strcmp(N4,strvolume)==0) definirVolume(m,0,15,4); else - if (strcmp(N5,strvolume)==0) definirVolume(m,0,0,5); + if (strcmp(N5,strvolume)==0) definirVolume(m,0,15,5); - if (strcmp(N1,streffet)==0) definirEffet(m,0,0,1); + if (strcmp(N1,streffet)==0) definirEffet(m,0,15,1); else - if (strcmp(N2,streffet)==0) definirEffet(m,0,0,2); + if (strcmp(N2,streffet)==0) definirEffet(m,0,15,2); else - if (strcmp(N3,streffet)==0) definirEffet(m,0,0,3); + if (strcmp(N3,streffet)==0) definirEffet(m,0,15,3); else - if (strcmp(N4,streffet)==0) definirEffet(m,0,0,4); + if (strcmp(N4,streffet)==0) definirEffet(m,0,15,4); else - if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); + if (strcmp(N5,streffet)==0) definirEffet(m,0,15,5); } + +void fenetreNote1_0 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_0")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_0(GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_0"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_0"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_0"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_0"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_0"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,0,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,0,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,0,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,0,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,0,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,0,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,0,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,0,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,0,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,0,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,0,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,0,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,0,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,0,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,0,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,0,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,0,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,0,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,0,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,0,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,0,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,0,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,0,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,0,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,0,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,0,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,0,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,0,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,0,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,0,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,0,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,0,5); +} +void fenetreNote1_1 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_1")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_1 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_1"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_1"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_1"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_1"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_1"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,1,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,1,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,1,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,1,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,1,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,1,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,1,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,1,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,1,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,1,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,1,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,1,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,1,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,1,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,1,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,1,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,1,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,1,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,1,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,1,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,1,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,1,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,1,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,1,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,1,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,1,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,1,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,1,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,1,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,1,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,1,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,1,5); +} +void fenetreNote1_2 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_2")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_2 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_2"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_2"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_2"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_2"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_2"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,2,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,2,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,2,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,2,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,2,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,2,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,2,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,2,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,2,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,2,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,2,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,2,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,2,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,2,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,2,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,2,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,2,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,2,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,2,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,2,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,2,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,2,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,2,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,2,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,2,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,2,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,2,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,2,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,2,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,2,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,2,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,2,5); +} +void fenetreNote1_3 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_3")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_3 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_3"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_3"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_3"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_3"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_3"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,3,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,3,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,3,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,3,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,3,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,3,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,3,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,3,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,3,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,3,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,3,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,3,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,3,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,3,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,3,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,3,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,3,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,3,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,3,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,3,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,3,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,3,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,3,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,3,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,3,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,3,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,3,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,3,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,3,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,3,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,3,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,3,5); +} +void fenetreNote1_4 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_4")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_4 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_4"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_4"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_4"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_4"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_4"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,4,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,4,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,4,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,4,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,4,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,4,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,4,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,4,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,4,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,4,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,4,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,4,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,4,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,4,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,4,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,4,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,4,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,4,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,4,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,4,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,4,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,4,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,4,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,4,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,4,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,4,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,4,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,4,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,4,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,4,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,4,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,4,5); +} +void fenetreNote1_5 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_5")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_5 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_5"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_5"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_5"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_5"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_5"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,5,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,5,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,5,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,5,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,5,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,5,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,5,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,5,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,5,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,5,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,5,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,5,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,5,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,5,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,5,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,5,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,5,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,5,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,5,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,5,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,5,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,5,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,5,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,5,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,5,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,5,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,5,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,5,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,5,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,5,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,5,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,5,5); +} +void fenetreNote1_6 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_6")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_6 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_6"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_6"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_6"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_6"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_6"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,6,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,6,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,6,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,6,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,6,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,6,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,6,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,6,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,6,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,6,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,6,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,6,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,6,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,6,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,6,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,6,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,6,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,6,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,6,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,6,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,6,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,6,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,6,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,6,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,6,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,6,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,6,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,6,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,6,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,6,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,6,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,6,5); +} +void fenetreNote1_7 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_7")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_7 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_7"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_7"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_7"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_7"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_7"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,7,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,7,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,7,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,7,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,7,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,7,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,7,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,7,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,7,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,7,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,7,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,7,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,7,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,7,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,7,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,7,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,7,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,7,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,7,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,7,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,7,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,7,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,7,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,7,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,7,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,7,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,7,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,7,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,7,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,7,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,7,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,7,5); +} +void fenetreNote1_8 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_8")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_8 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_8"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_8"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_8"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_8"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_8"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,8,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,8,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,8,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,8,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,8,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,8,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,8,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,8,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,8,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,8,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,8,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,8,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,8,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,8,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,8,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,8,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,8,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,8,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,8,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,8,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,8,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,8,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,8,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,8,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,8,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,8,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,8,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,8,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,8,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,8,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,8,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,8,5); +} +void fenetreNote1_9 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_9")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_9 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_9"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_9"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_9"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_9"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_9"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,9,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,9,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,9,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,9,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,9,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,9,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,9,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,9,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,9,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,9,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,9,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,9,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,9,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,9,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,9,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,9,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,9,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,9,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,9,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,9,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,9,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,9,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,9,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,9,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,9,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,9,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,9,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,9,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,9,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,9,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,9,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,9,5); +} +void fenetreNote1_10 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_10")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_10 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_10"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_10"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_10"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_10"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_10"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,10,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,10,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,10,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,10,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,10,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,10,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,10,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,10,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,10,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,10,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,10,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,10,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,10,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,10,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,10,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,10,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,10,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,10,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,10,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,10,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,10,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,10,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,10,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,10,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,10,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,10,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,10,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,10,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,10,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,10,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,10,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,10,5); +} + +void fenetreNote1_11 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_11")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_11 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_11"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_11"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_11"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_11"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_11"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,11,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,11,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,11,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,11,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,11,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,11,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,11,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,11,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,11,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,11,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,11,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,11,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,11,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,11,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,11,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,11,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,11,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,11,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,11,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,11,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,11,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,11,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,11,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,11,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,11,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,11,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,11,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,11,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,11,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,11,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,11,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,11,5); +} + +void fenetreNote1_12 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_12")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_12 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_12"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_12"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_12"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_12"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_12"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,12,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,12,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,12,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,12,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,12,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,12,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,12,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,12,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,12,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,12,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,12,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,12,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,12,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,12,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,12,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,12,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,12,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,12,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,12,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,12,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,12,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,12,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,12,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,12,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,12,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,12,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,12,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,12,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,12,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,12,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,12,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,12,5); +} + +void fenetreNote1_13 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_13")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_13 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_13"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_13"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_13"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_13"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_13"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,13,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,13,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,13,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,13,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,13,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,13,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,13,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,13,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,13,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,13,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,13,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,13,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,13,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,13,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,13,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,13,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,13,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,13,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,13,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,13,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,13,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,13,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,13,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,13,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,13,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,13,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,13,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,13,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,13,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,13,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,13,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,13,5); +} + +void fenetreNote1_14 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_14")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_14 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_14"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_14"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_14"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_14"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_14"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,14,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,14,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,14,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,14,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,14,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,14,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,14,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,14,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,14,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,14,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,14,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,14,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,14,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,14,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,14,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,14,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,14,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,14,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,14,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,14,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,14,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,14,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,14,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,14,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,14,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,14,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,14,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,14,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,14,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,14,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,14,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,14,5); +} + +void fenetreNote1_15 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_15")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_15 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_15"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_15"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_15"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_15"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_15"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,15,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,15,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,15,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,15,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,15,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,15,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,15,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,15,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,15,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,15,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,15,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,15,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,15,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,15,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,15,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,15,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,15,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,15,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,15,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,15,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,15,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,15,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,15,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,15,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,15,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,15,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,15,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,15,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,15,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,15,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,15,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,15,5); +} + +void fenetreNote2_0 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_0")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_0 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_0"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_0"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_0"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_0"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_0"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,0,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,0,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,0,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,0,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,0,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,0,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,0,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,0,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,0,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,0,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,0,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,0,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,0,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,0,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,0,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,0,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,0,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,0,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,0,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,0,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,0,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,0,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,0,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,0,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,0,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,0,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,0,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,0,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,0,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,0,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,0,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,0,5); +} +void fenetreNote2_1 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_1")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_1 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_1"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_1"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_1"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_1"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_1"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,1,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,1,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,1,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,1,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,1,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,1,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,1,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,1,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,1,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,1,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,1,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,1,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,1,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,1,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,1,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,1,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,1,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,1,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,1,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,1,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,1,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,1,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,1,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,1,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,1,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,1,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,1,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,1,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,1,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,1,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,1,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,1,5); +} +void fenetreNote2_2 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_2")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_2 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_2"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_2"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_2"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_2"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_2"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,2,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,2,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,2,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,2,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,2,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,2,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,2,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,2,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,2,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,2,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,2,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,2,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,2,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,2,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,2,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,2,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,2,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,2,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,2,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,2,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,2,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,2,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,2,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,2,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,2,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,2,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,2,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,2,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,2,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,2,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,2,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,2,5); +} +void fenetreNote2_3 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_3")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_3 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_3"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_3"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_3"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_3"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_3"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,3,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,3,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,3,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,3,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,3,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,3,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,3,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,3,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,3,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,3,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,3,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,3,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,3,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,3,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,3,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,3,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,3,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,3,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,3,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,3,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,3,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,3,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,3,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,3,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,3,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,3,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,3,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,3,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,3,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,3,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,3,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,3,5); +} +void fenetreNote2_4 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_4")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_4 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_4"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_4"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_4"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_4"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_4"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,4,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,4,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,4,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,4,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,4,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,4,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,4,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,4,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,4,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,4,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,4,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,4,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,4,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,4,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,4,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,4,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,4,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,4,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,4,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,4,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,4,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,4,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,4,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,4,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,4,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,4,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,4,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,4,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,4,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,4,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,4,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,4,5); +} +void fenetreNote2_5 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_5")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_5 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_5"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_5"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_5"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_5"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_5"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,5,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,5,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,5,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,5,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,5,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,5,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,5,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,5,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,5,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,5,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,5,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,5,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,5,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,5,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,5,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,5,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,5,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,5,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,5,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,5,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,5,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,5,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,5,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,5,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,5,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,5,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,5,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,5,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,5,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,5,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,5,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,5,5); +} +void fenetreNote2_6 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_6")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_6 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_6"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_6"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_6"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_6"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_6"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,6,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,6,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,6,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,6,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,6,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,6,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,6,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,6,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,6,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,6,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,6,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,6,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,6,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,6,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,6,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,6,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,6,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,6,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,6,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,6,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,6,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,6,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,6,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,6,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,6,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,6,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,6,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,6,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,6,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,6,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,6,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,6,5); +} +void fenetreNote2_7 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_7")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_7 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_7"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_7"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_7"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_7"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_7"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,7,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,7,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,7,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,7,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,7,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,7,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,7,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,7,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,7,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,7,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,7,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,7,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,7,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,7,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,7,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,7,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,7,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,7,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,7,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,7,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,7,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,7,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,7,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,7,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,7,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,7,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,7,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,7,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,7,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,7,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,7,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,7,5); +} +void fenetreNote2_8 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_8")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_8 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_8"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_8"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_8"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_8"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_8"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,8,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,8,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,8,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,8,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,8,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,8,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,8,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,8,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,8,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,8,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,8,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,8,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,8,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,8,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,8,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,8,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,8,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,8,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,8,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,8,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,8,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,8,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,8,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,8,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,8,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,8,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,8,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,8,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,8,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,8,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,8,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,8,5); +} +void fenetreNote2_9 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_9")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_9 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_9"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_9"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_9"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_9"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_9"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,9,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,9,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,9,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,9,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,9,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,9,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,9,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,9,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,9,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,9,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,9,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,9,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,9,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,9,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,9,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,9,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,9,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,9,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,9,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,9,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,9,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,9,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,9,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,9,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,9,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,9,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,9,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,9,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,9,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,9,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,9,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,9,5); +} +void fenetreNote2_10 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_10")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_10 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_10"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_10"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_10"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_10"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_10"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,10,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,10,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,10,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,10,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,10,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,10,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,10,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,10,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,10,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,10,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,10,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,10,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,10,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,10,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,10,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,10,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,10,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,10,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,10,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,10,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,10,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,10,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,10,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,10,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,10,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,10,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,10,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,10,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,10,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,10,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,10,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,10,5); +} + +void fenetreNote2_11 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_11")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_11 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_11"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_11"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_11"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_11"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_11"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,11,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,11,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,11,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,11,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,11,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,11,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,11,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,11,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,11,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,11,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,11,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,11,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,11,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,11,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,11,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,11,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,11,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,11,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,11,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,11,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,11,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,11,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,11,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,11,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,11,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,11,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,11,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,11,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,11,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,11,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,11,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,11,5); +} + +void fenetreNote2_12 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_12")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_12 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_12"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_12"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_12"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_12"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_12"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,12,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,12,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,12,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,12,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,12,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,12,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,12,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,12,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,12,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,12,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,12,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,12,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,12,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,12,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,12,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,12,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,12,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,12,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,12,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,12,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,12,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,12,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,12,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,12,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,12,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,12,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,12,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,12,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,12,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,12,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,12,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,12,5); +} + +void fenetreNote2_13 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_13")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_13 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_13"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_13"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_13"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_13"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_13"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,13,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,13,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,13,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,13,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,13,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,13,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,13,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,13,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,13,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,13,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,13,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,13,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,13,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,13,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,13,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,13,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,13,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,13,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,13,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,13,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,13,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,13,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,13,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,13,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,13,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,13,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,13,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,13,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,13,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,13,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,13,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,13,5); +} + +void fenetreNote2_14 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_14")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_14 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_14"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_14"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_14"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_14"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_14"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,14,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,14,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,14,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,14,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,14,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,14,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,14,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,14,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,14,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,14,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,14,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,14,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,14,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,14,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,14,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,14,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,14,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,14,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,14,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,14,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,14,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,14,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,14,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,14,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,14,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,14,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,14,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,14,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,14,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,14,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,14,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,14,5); +} + +void fenetreNote2_15 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_15")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_15 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_15"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_15"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_15"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_15"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_15"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,15,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,15,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,15,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,15,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,15,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,15,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,15,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,15,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,15,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,15,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,15,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,15,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,15,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,15,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,15,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,15,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,15,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,15,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,15,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,15,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,15,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,15,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,15,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,15,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,15,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,15,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,15,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,15,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,15,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,15,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,15,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,15,5); +} \ No newline at end of file From 6b5addcbc30396a3d5ded820bcd181a153122c92 Mon Sep 17 00:00:00 2001 From: Mika Date: Thu, 22 May 2014 00:11:26 +0200 Subject: [PATCH 2/2] Maj --- sources/boutonsdemerde.c | 1663 ---------------- sources/main.c | 4030 +++++++++++++++++++++++++++++++++++++- 2 files changed, 4020 insertions(+), 1673 deletions(-) delete mode 100644 sources/boutonsdemerde.c diff --git a/sources/boutonsdemerde.c b/sources/boutonsdemerde.c deleted file mode 100644 index 8ee87ed..0000000 --- a/sources/boutonsdemerde.c +++ /dev/null @@ -1,1663 +0,0 @@ -void fenetreNote0_0 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_0), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,0,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,0,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,0,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,0,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,0,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,0,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,0,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,0,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,0,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,0,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,0,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,0,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,0,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,0,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,0,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,0,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,0,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,0,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,0,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,0,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,0,5); -} - -void fenetreNote0_1 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_1), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_1 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,1,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,1,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,1,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,1,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,1,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,1,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,1,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,1,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,1,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,1,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,1,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,1,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,1,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,1,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,1,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,1,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,1,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,1,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,1,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,1,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,1,5); -} - -void fenetreNote0_2 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_2), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_2 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,2,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,2,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,2,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,2,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,2,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,2,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,2,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,2,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,2,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,2,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,2,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,2,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,2,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,2,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,2,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,2,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,2,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,2,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,2,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,2,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,2,5); -} - -void fenetreNote0_3 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_3), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_3 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,3,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,3,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,3,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,3,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,3,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,3,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,3,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,3,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,3,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,3,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,3,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,3,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,3,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,3,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,3,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,3,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,3,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,3,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,3,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,3,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,3,5); -} - -void fenetreNote0_4 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_4), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_4 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,4,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,4,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,4,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,4,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,4,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,4,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,4,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,4,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,4,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,4,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,4,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,4,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,4,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,4,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,4,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,4,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,4,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,4,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,4,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,4,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,4,5); -} - -void fenetreNote0_5 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_5), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_5 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,5,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,5,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,5,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,5,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,5,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,5,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,5,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,5,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,5,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,5,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,5,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,5,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,5,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,5,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,5,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,5,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,5,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,5,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,5,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,5,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,5,5); -} - -void fenetreNote0_6 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_6), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_6 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,6,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,6,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,6,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,6,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,6,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,6,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,6,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,6,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,6,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,6,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,6,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,6,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,6,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,6,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,6,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,6,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,6,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,6,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,6,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,6,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,6,5); -} - -void fenetreNote0_7 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_7), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_7 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,7,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,7,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,7,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,7,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,7,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,7,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,7,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,7,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,7,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,7,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,7,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,7,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,7,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,7,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,7,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,7,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,7,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,7,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,7,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,7,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,7,5); -} - -void fenetreNote0_8 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_8), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_8 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,8,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,8,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,8,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,8,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,8,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,8,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,8,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,8,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,8,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,8,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,8,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,8,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,8,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,8,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,8,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,8,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,8,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,8,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,8,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,8,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,8,5); -} - -void fenetreNote0_9 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_9), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_9 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,9,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,9,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,9,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,9,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,9,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,9,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,9,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,9,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,9,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,9,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,9,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,9,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,9,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,9,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,9,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,9,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,9,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,9,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,9,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,9,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,9,5); -} - -void fenetreNote0_10 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_10), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_10 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,10,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,10,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,10,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,10,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,10,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,10,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,10,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,10,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,10,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,10,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,10,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,10,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,10,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,10,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,10,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,10,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,10,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,10,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,10,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,10,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,10,5); -} - -void fenetreNote0_11 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_11), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_11 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,11,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,11,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,11,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,11,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,11,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,11,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,11,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,11,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,11,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,11,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,11,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,11,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,11,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,11,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,11,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,11,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,11,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,11,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,11,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,11,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,11,5); -} - -void fenetreNote0_12 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_12), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_12 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,12,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,12,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,12,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,12,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,12,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,12,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,12,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,12,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,12,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,12,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,12,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,12,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,12,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,12,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,12,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,12,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,12,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,12,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,12,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,12,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,12,5); -} - -void fenetreNote0_13 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_13), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_13 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,13,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,13,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,13,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,13,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,13,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,13,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,13,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,13,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,13,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,13,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,13,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,13,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,13,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,13,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,13,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,13,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,13,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,13,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,13,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,13,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,13,5); -} - -void fenetreNote0_14 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_14), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_14 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,14,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,14,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,14,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,14,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,14,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,14,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,14,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,14,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,14,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,14,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,14,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,14,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,14,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,14,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,14,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,14,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,14,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,14,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,14,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,14,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,14,5); -} - -void fenetreNote0_15 ( int argc, char *argv[] ) -{ - GtkBuilder *monBuilderNote; - GtkWidget *maFenetreNote; - - gtk_init( &argc, &argv ); - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote")); - - GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote, "buttonok"); - - g_signal_connect(G_OBJECT(button),"clicked",G_CALLBACK(remplissageNote0_15), - GTK_WIDGET( gtk_builder_get_object( monBuilderNote, "ajoutnote"))); - - gtk_widget_show_all (maFenetreNote); -} - -void remplissageNote0_15 (GtkWidget *widget, gpointer *data){ - - GtkBuilder *monBuilderNote; - - monBuilderNote = gtk_builder_new(); - - gtk_builder_add_from_file( monBuilderNote, "GUI/ponytrackertest.glade", NULL); - gtk_builder_connect_signals( monBuilderNote, NULL); - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirnote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisiroctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"choisirinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryvolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,"entryeffet"); - - if (strcmp(Do,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,1); - else - if (strcmp(DoD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,2); - else - if (strcmp(Re,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,3); - else - if (strcmp(ReD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,4); - else - if (strcmp(Mi,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,5); - else - if (strcmp(Fa,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,6); - else - if (strcmp(FaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,7); - else - if (strcmp(Sol,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,8); - else - if (strcmp(SolD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,9); - else - if (strcmp(La,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,10); - else - if (strcmp(LaD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,11); - else - if (strcmp(Si,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,12); - else - if (strcmp(SiD,gtk_entry_get_text(entryNote))==0) definirNote(m,0,15,13); - - if (strcmp(N1,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,15,1); - else - if (strcmp(N2,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,15,2); - else - if (strcmp(N3,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,15,3); - else - if (strcmp(N4,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,15,4); - else - if (strcmp(N5,gtk_entry_get_text(entryOctave))==0) definirOctave(m,0,15,5); - - if (strcmp(N1,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,15,1); - else - if (strcmp(N2,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,15,2); - else - if (strcmp(N3,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,15,3); - else - if (strcmp(N4,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,15,4); - else - if (strcmp(N5,gtk_entry_get_text(entryInstrument))==0) definirInstrument(m,0,15,5); - - if (strcmp(N1,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,15,1); - else - if (strcmp(N2,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,15,2); - else - if (strcmp(N3,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,15,3); - else - if (strcmp(N4,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,15,4); - else - if (strcmp(N5,gtk_entry_get_text(entryVolume))==0) definirVolume(m,0,15,5); - - if (strcmp(N1,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,15,1); - else - if (strcmp(N2,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,15,2); - else - if (strcmp(N3,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,15,3); - else - if (strcmp(N4,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,15,4); - else - if (strcmp(N5,gtk_entry_get_text(entryEffet))==0) definirEffet(m,0,15,5); -} diff --git a/sources/main.c b/sources/main.c index 8d0661d..ed06b3f 100644 --- a/sources/main.c +++ b/sources/main.c @@ -359,22 +359,20 @@ void fenetreMotif ( int argc, char *argv[] ) gtk_widget_show_all (maFenetreMotif); } -void fenetreNote ( int argc, char *argv[] ) +void fenetreNote0_0 ( int argc, char *argv[] ) { - GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote")); + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_0")); gtk_widget_show_all (maFenetreNote); } -void remplissageNote (GtkWidget *widget, gpointer *data){ +void remplissageNote0_0 (GtkWidget *widget, gpointer *data){ - Motif* m = melodie[0]; - - GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote"); - GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave"); - GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument"); - GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume"); - GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet"); + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_0"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_0"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_0"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_0"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_0"); const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); @@ -446,6 +444,4018 @@ void remplissageNote (GtkWidget *widget, gpointer *data){ else if (strcmp(N5,streffet)==0) definirEffet(m,0,0,5); } +void fenetreNote0_1 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_1")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_1 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_1"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_1"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_1"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_1"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_1"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,1,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,1,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,1,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,1,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,1,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,1,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,1,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,1,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,1,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,1,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,1,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,1,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,1,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,1,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,1,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,1,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,1,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,1,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,1,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,1,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,1,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,1,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,1,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,1,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,1,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,1,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,1,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,1,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,1,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,1,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,1,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,1,5); +} +void fenetreNote0_2 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_2")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_2 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_2"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_2"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_2"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_2"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_2"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,2,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,2,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,2,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,2,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,2,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,2,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,2,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,2,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,2,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,2,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,2,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,2,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,2,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,2,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,2,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,2,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,2,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,2,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,2,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,2,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,2,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,2,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,2,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,2,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,2,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,2,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,2,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,2,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,2,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,2,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,2,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,2,5); +} +void fenetreNote0_3 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_3")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_3 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_3"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_3"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_3"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_3"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_3"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,3,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,3,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,3,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,3,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,3,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,3,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,3,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,3,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,3,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,3,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,3,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,3,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,3,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,3,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,3,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,3,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,3,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,3,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,3,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,3,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,3,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,3,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,3,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,3,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,3,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,3,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,3,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,3,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,3,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,3,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,3,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,3,5); +} +void fenetreNote0_4 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_4")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_4 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_4"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_4"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_4"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_4"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_4"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,4,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,4,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,4,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,4,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,4,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,4,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,4,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,4,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,4,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,4,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,4,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,4,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,4,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,4,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,4,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,4,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,4,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,4,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,4,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,4,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,4,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,4,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,4,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,4,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,4,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,4,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,4,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,4,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,4,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,4,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,4,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,4,5); +} +void fenetreNote0_5 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_5")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_5 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_5"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_5"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_5"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_5"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_5"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,5,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,5,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,5,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,5,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,5,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,5,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,5,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,5,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,5,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,5,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,5,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,5,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,5,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,5,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,5,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,5,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,5,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,5,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,5,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,5,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,5,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,5,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,5,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,5,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,5,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,5,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,5,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,5,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,5,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,5,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,5,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,5,5); +} +void fenetreNote0_6 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_6")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_6 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_6"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_6"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_6"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_6"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_6"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,6,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,6,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,6,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,6,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,6,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,6,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,6,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,6,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,6,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,6,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,6,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,6,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,6,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,6,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,6,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,6,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,6,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,6,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,6,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,6,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,6,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,6,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,6,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,6,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,6,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,6,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,6,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,6,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,6,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,6,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,6,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,6,5); +} +void fenetreNote0_7 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_7")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_7 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_7"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_7"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_7"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_7"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_7"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,7,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,7,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,7,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,7,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,7,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,7,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,7,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,7,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,7,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,7,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,7,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,7,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,7,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,7,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,7,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,7,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,7,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,7,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,7,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,7,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,7,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,7,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,7,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,7,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,7,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,7,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,7,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,7,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,7,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,7,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,7,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,7,5); +} +void fenetreNote0_8 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_8")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_8 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_8"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_8"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_8"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_8"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_8"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,8,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,8,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,8,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,8,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,8,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,8,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,8,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,8,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,8,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,8,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,8,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,8,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,8,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,8,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,8,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,8,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,8,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,8,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,8,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,8,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,8,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,8,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,8,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,8,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,8,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,8,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,8,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,8,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,8,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,8,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,8,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,8,5); +} +void fenetreNote0_9 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_9")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_9 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_9"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_9"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_9"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_9"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_9"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,9,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,9,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,9,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,9,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,9,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,9,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,9,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,9,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,9,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,9,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,9,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,9,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,9,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,9,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,9,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,9,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,9,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,9,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,9,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,9,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,9,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,9,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,9,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,9,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,9,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,9,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,9,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,9,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,9,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,9,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,9,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,9,5); +} +void fenetreNote0_10 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_10")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_10 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_10"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_10"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_10"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_10"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_10"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,10,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,10,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,10,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,10,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,10,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,10,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,10,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,10,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,10,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,10,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,10,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,10,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,10,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,10,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,10,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,10,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,10,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,10,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,10,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,10,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,10,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,10,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,10,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,10,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,10,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,10,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,10,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,10,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,10,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,10,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,10,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,10,5); +} + +void fenetreNote0_11 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_11")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_11 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_11"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_11"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_11"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_11"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_11"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,11,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,11,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,11,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,11,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,11,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,11,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,11,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,11,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,11,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,11,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,11,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,11,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,11,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,11,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,11,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,11,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,11,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,11,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,11,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,11,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,11,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,11,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,11,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,11,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,11,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,11,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,11,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,11,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,11,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,11,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,11,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,11,5); +} + +void fenetreNote0_12 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_12")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_12 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_12"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_12"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_12"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_12"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_12"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,12,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,12,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,12,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,12,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,12,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,12,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,12,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,12,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,12,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,12,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,12,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,12,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,12,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,12,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,12,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,12,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,12,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,12,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,12,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,12,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,12,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,12,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,12,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,12,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,12,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,12,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,12,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,12,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,12,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,12,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,12,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,12,5); +} + +void fenetreNote0_13 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_13")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_13 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_13"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_13"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_13"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_13"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_13"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,13,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,13,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,13,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,13,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,13,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,13,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,13,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,13,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,13,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,13,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,13,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,13,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,13,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,13,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,13,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,13,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,13,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,13,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,13,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,13,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,13,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,13,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,13,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,13,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,13,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,13,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,13,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,13,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,13,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,13,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,13,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,13,5); +} + +void fenetreNote0_14 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_14")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_14 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_14"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_14"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_14"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_14"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_14"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,14,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,14,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,14,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,14,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,14,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,14,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,14,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,14,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,14,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,14,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,14,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,14,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,14,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,14,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,14,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,14,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,14,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,14,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,14,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,14,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,14,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,14,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,14,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,14,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,14,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,14,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,14,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,14,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,14,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,14,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,14,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,14,5); +} + +void fenetreNote0_15 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote0_15")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote0_15 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote0_15"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave0_15"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument0_15"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume0_15"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet0_15"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,0,15,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,0,15,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,0,15,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,0,15,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,0,15,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,0,15,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,0,15,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,0,15,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,0,15,9); + else + if (strcmp(La,strnote)==0) definirNote(m,0,15,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,0,15,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,0,15,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,0,15,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,0,15,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,0,15,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,0,15,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,0,15,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,0,15,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,0,15,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,0,15,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,0,15,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,0,15,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,0,15,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,0,15,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,0,15,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,0,15,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,0,15,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,0,15,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,0,15,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,0,15,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,0,15,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,0,15,5); +} + +void fenetreNote1_0 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_0")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_0(GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_0"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_0"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_0"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_0"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_0"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,0,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,0,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,0,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,0,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,0,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,0,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,0,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,0,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,0,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,0,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,0,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,0,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,0,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,0,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,0,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,0,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,0,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,0,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,0,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,0,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,0,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,0,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,0,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,0,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,0,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,0,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,0,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,0,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,0,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,0,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,0,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,0,5); +} +void fenetreNote1_1 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_1")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_1 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_1"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_1"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_1"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_1"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_1"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,1,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,1,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,1,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,1,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,1,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,1,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,1,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,1,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,1,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,1,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,1,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,1,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,1,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,1,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,1,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,1,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,1,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,1,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,1,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,1,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,1,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,1,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,1,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,1,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,1,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,1,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,1,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,1,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,1,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,1,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,1,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,1,5); +} +void fenetreNote1_2 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_2")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_2 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_2"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_2"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_2"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_2"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_2"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,2,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,2,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,2,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,2,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,2,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,2,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,2,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,2,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,2,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,2,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,2,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,2,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,2,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,2,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,2,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,2,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,2,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,2,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,2,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,2,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,2,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,2,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,2,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,2,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,2,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,2,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,2,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,2,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,2,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,2,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,2,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,2,5); +} +void fenetreNote1_3 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_3")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_3 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_3"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_3"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_3"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_3"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_3"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,3,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,3,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,3,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,3,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,3,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,3,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,3,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,3,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,3,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,3,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,3,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,3,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,3,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,3,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,3,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,3,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,3,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,3,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,3,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,3,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,3,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,3,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,3,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,3,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,3,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,3,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,3,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,3,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,3,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,3,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,3,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,3,5); +} +void fenetreNote1_4 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_4")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_4 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_4"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_4"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_4"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_4"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_4"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,4,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,4,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,4,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,4,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,4,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,4,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,4,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,4,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,4,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,4,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,4,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,4,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,4,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,4,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,4,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,4,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,4,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,4,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,4,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,4,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,4,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,4,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,4,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,4,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,4,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,4,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,4,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,4,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,4,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,4,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,4,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,4,5); +} +void fenetreNote1_5 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_5")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_5 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_5"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_5"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_5"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_5"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_5"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,5,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,5,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,5,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,5,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,5,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,5,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,5,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,5,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,5,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,5,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,5,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,5,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,5,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,5,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,5,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,5,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,5,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,5,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,5,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,5,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,5,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,5,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,5,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,5,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,5,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,5,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,5,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,5,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,5,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,5,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,5,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,5,5); +} +void fenetreNote1_6 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_6")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_6 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_6"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_6"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_6"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_6"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_6"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,6,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,6,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,6,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,6,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,6,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,6,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,6,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,6,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,6,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,6,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,6,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,6,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,6,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,6,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,6,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,6,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,6,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,6,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,6,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,6,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,6,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,6,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,6,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,6,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,6,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,6,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,6,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,6,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,6,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,6,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,6,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,6,5); +} +void fenetreNote1_7 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_7")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_7 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_7"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_7"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_7"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_7"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_7"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,7,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,7,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,7,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,7,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,7,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,7,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,7,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,7,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,7,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,7,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,7,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,7,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,7,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,7,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,7,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,7,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,7,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,7,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,7,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,7,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,7,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,7,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,7,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,7,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,7,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,7,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,7,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,7,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,7,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,7,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,7,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,7,5); +} +void fenetreNote1_8 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_8")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_8 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_8"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_8"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_8"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_8"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_8"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,8,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,8,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,8,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,8,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,8,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,8,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,8,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,8,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,8,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,8,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,8,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,8,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,8,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,8,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,8,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,8,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,8,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,8,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,8,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,8,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,8,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,8,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,8,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,8,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,8,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,8,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,8,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,8,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,8,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,8,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,8,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,8,5); +} +void fenetreNote1_9 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_9")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_9 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_9"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_9"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_9"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_9"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_9"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,9,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,9,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,9,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,9,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,9,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,9,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,9,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,9,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,9,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,9,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,9,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,9,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,9,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,9,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,9,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,9,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,9,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,9,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,9,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,9,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,9,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,9,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,9,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,9,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,9,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,9,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,9,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,9,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,9,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,9,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,9,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,9,5); +} +void fenetreNote1_10 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_10")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_10 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_10"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_10"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_10"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_10"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_10"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,10,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,10,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,10,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,10,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,10,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,10,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,10,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,10,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,10,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,10,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,10,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,10,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,10,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,10,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,10,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,10,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,10,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,10,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,10,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,10,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,10,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,10,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,10,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,10,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,10,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,10,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,10,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,10,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,10,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,10,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,10,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,10,5); +} + +void fenetreNote1_11 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_11")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_11 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_11"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_11"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_11"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_11"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_11"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,11,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,11,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,11,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,11,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,11,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,11,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,11,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,11,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,11,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,11,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,11,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,11,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,11,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,11,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,11,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,11,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,11,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,11,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,11,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,11,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,11,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,11,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,11,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,11,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,11,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,11,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,11,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,11,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,11,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,11,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,11,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,11,5); +} + +void fenetreNote1_12 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_12")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_12 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_12"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_12"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_12"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_12"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_12"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,12,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,12,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,12,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,12,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,12,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,12,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,12,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,12,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,12,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,12,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,12,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,12,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,12,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,12,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,12,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,12,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,12,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,12,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,12,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,12,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,12,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,12,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,12,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,12,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,12,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,12,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,12,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,12,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,12,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,12,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,12,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,12,5); +} + +void fenetreNote1_13 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_13")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_13 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_13"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_13"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_13"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_13"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_13"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,13,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,13,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,13,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,13,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,13,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,13,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,13,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,13,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,13,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,13,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,13,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,13,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,13,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,13,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,13,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,13,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,13,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,13,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,13,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,13,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,13,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,13,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,13,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,13,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,13,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,13,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,13,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,13,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,13,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,13,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,13,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,13,5); +} + +void fenetreNote1_14 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_14")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_14 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_14"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_14"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_14"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_14"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_14"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,14,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,14,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,14,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,14,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,14,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,14,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,14,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,14,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,14,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,14,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,14,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,14,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,14,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,14,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,14,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,14,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,14,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,14,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,14,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,14,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,14,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,14,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,14,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,14,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,14,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,14,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,14,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,14,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,14,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,14,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,14,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,14,5); +} + +void fenetreNote1_15 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote1_15")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote1_15 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote1_15"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave1_15"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument1_15"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume1_15"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet1_15"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,1,15,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,1,15,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,1,15,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,1,15,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,1,15,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,1,15,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,1,15,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,1,15,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,1,15,9); + else + if (strcmp(La,strnote)==0) definirNote(m,1,15,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,1,15,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,1,15,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,1,15,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,1,15,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,1,15,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,1,15,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,1,15,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,1,15,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,1,15,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,1,15,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,1,15,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,1,15,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,1,15,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,1,15,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,1,15,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,1,15,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,1,15,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,1,15,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,1,15,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,1,15,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,1,15,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,1,15,5); +} + +void fenetreNote2_0 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_0")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_0 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_0"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_0"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_0"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_0"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_0"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,0,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,0,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,0,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,0,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,0,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,0,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,0,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,0,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,0,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,0,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,0,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,0,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,0,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,0,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,0,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,0,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,0,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,0,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,0,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,0,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,0,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,0,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,0,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,0,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,0,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,0,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,0,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,0,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,0,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,0,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,0,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,0,5); +} +void fenetreNote2_1 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_1")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_1 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_1"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_1"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_1"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_1"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_1"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,1,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,1,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,1,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,1,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,1,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,1,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,1,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,1,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,1,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,1,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,1,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,1,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,1,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,1,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,1,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,1,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,1,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,1,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,1,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,1,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,1,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,1,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,1,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,1,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,1,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,1,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,1,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,1,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,1,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,1,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,1,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,1,5); +} +void fenetreNote2_2 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_2")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_2 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_2"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_2"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_2"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_2"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_2"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,2,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,2,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,2,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,2,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,2,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,2,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,2,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,2,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,2,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,2,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,2,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,2,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,2,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,2,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,2,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,2,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,2,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,2,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,2,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,2,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,2,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,2,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,2,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,2,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,2,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,2,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,2,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,2,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,2,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,2,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,2,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,2,5); +} +void fenetreNote2_3 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_3")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_3 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_3"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_3"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_3"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_3"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_3"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,3,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,3,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,3,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,3,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,3,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,3,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,3,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,3,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,3,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,3,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,3,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,3,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,3,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,3,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,3,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,3,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,3,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,3,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,3,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,3,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,3,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,3,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,3,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,3,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,3,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,3,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,3,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,3,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,3,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,3,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,3,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,3,5); +} +void fenetreNote2_4 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_4")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_4 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_4"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_4"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_4"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_4"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_4"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,4,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,4,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,4,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,4,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,4,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,4,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,4,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,4,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,4,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,4,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,4,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,4,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,4,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,4,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,4,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,4,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,4,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,4,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,4,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,4,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,4,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,4,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,4,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,4,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,4,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,4,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,4,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,4,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,4,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,4,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,4,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,4,5); +} +void fenetreNote2_5 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_5")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_5 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_5"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_5"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_5"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_5"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_5"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,5,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,5,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,5,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,5,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,5,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,5,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,5,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,5,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,5,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,5,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,5,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,5,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,5,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,5,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,5,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,5,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,5,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,5,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,5,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,5,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,5,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,5,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,5,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,5,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,5,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,5,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,5,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,5,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,5,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,5,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,5,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,5,5); +} +void fenetreNote2_6 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_6")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_6 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_6"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_6"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_6"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_6"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_6"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,6,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,6,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,6,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,6,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,6,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,6,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,6,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,6,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,6,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,6,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,6,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,6,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,6,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,6,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,6,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,6,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,6,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,6,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,6,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,6,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,6,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,6,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,6,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,6,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,6,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,6,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,6,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,6,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,6,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,6,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,6,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,6,5); +} +void fenetreNote2_7 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_7")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_7 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_7"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_7"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_7"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_7"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_7"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,7,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,7,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,7,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,7,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,7,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,7,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,7,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,7,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,7,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,7,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,7,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,7,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,7,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,7,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,7,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,7,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,7,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,7,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,7,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,7,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,7,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,7,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,7,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,7,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,7,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,7,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,7,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,7,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,7,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,7,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,7,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,7,5); +} +void fenetreNote2_8 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_8")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_8 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_8"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_8"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_8"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_8"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_8"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,8,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,8,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,8,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,8,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,8,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,8,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,8,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,8,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,8,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,8,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,8,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,8,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,8,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,8,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,8,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,8,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,8,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,8,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,8,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,8,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,8,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,8,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,8,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,8,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,8,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,8,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,8,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,8,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,8,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,8,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,8,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,8,5); +} +void fenetreNote2_9 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_9")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_9 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_9"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_9"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_9"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_9"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_9"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,9,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,9,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,9,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,9,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,9,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,9,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,9,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,9,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,9,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,9,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,9,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,9,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,9,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,9,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,9,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,9,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,9,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,9,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,9,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,9,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,9,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,9,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,9,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,9,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,9,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,9,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,9,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,9,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,9,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,9,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,9,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,9,5); +} +void fenetreNote2_10 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_10")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_10 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_10"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_10"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_10"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_10"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_10"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,10,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,10,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,10,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,10,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,10,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,10,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,10,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,10,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,10,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,10,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,10,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,10,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,10,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,10,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,10,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,10,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,10,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,10,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,10,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,10,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,10,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,10,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,10,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,10,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,10,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,10,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,10,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,10,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,10,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,10,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,10,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,10,5); +} + +void fenetreNote2_11 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_11")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_11 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_11"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_11"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_11"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_11"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_11"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,11,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,11,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,11,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,11,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,11,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,11,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,11,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,11,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,11,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,11,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,11,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,11,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,11,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,11,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,11,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,11,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,11,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,11,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,11,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,11,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,11,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,11,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,11,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,11,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,11,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,11,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,11,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,11,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,11,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,11,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,11,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,11,5); +} + +void fenetreNote2_12 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_12")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_12 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_12"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_12"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_12"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_12"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_12"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,12,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,12,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,12,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,12,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,12,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,12,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,12,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,12,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,12,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,12,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,12,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,12,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,12,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,12,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,12,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,12,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,12,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,12,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,12,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,12,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,12,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,12,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,12,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,12,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,12,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,12,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,12,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,12,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,12,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,12,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,12,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,12,5); +} + +void fenetreNote2_13 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_13")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_13 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_13"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_13"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_13"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_13"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_13"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,13,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,13,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,13,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,13,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,13,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,13,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,13,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,13,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,13,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,13,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,13,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,13,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,13,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,13,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,13,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,13,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,13,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,13,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,13,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,13,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,13,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,13,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,13,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,13,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,13,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,13,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,13,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,13,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,13,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,13,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,13,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,13,5); +} + +void fenetreNote2_14 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_14")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_14 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_14"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_14"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_14"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_14"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_14"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,14,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,14,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,14,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,14,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,14,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,14,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,14,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,14,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,14,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,14,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,14,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,14,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,14,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,14,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,14,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,14,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,14,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,14,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,14,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,14,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,14,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,14,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,14,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,14,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,14,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,14,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,14,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,14,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,14,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,14,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,14,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,14,5); +} + +void fenetreNote2_15 ( int argc, char *argv[] ) +{ + GtkWidget *maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilder, "ajoutnote2_15")); + + gtk_widget_show_all (maFenetreNote); +} + +void remplissageNote2_15 (GtkWidget *widget, gpointer *data){ + + GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilder,"combonote2_15"); + GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilder,"combooctave2_15"); + GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboinstrument2_15"); + GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilder,"combovolume2_15"); + GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilder,"comboeffet2_15"); + + const char *strnote = gtk_entry_get_text(GTK_ENTRY(entryNote)); + const char *stroctave = gtk_entry_get_text(GTK_ENTRY(entryOctave)); + const char *strinstrument = gtk_entry_get_text(GTK_ENTRY(entryInstrument)); + const char *strvolume = gtk_entry_get_text(GTK_ENTRY(entryVolume)); + const char *streffet = gtk_entry_get_text(GTK_ENTRY(entryEffet)); + + if (strcmp(Do,strnote)==0) definirNote(m,2,15,1); + else + if (strcmp(DoD,strnote)==0) definirNote(m,2,15,2); + else + if (strcmp(Re,strnote)==0) definirNote(m,2,15,3); + else + if (strcmp(ReD,strnote)==0) definirNote(m,2,15,4); + else + if (strcmp(Mi,strnote)==0) definirNote(m,2,15,5); + else + if (strcmp(Fa,strnote)==0) definirNote(m,2,15,6); + else + if (strcmp(FaD,strnote)==0) definirNote(m,2,15,7); + else + if (strcmp(Sol,strnote)==0) definirNote(m,2,15,8); + else + if (strcmp(SolD,strnote)==0) definirNote(m,2,15,9); + else + if (strcmp(La,strnote)==0) definirNote(m,2,15,10); + else + if (strcmp(LaD,strnote)==0) definirNote(m,2,15,11); + else + if (strcmp(Si,strnote)==0) definirNote(m,2,15,12); + + if (strcmp(N1,stroctave)==0) definirOctave(m,2,15,1); + else + if (strcmp(N2,stroctave)==0) definirOctave(m,2,15,2); + else + if (strcmp(N3,stroctave)==0) definirOctave(m,2,15,3); + else + if (strcmp(N4,stroctave)==0) definirOctave(m,2,15,4); + else + if (strcmp(N5,stroctave)==0) definirOctave(m,2,15,5); + + if (strcmp(N1,strinstrument)==0) definirInstrument(m,2,15,1); + else + if (strcmp(N2,strinstrument)==0) definirInstrument(m,2,15,2); + else + if (strcmp(N3,strinstrument)==0) definirInstrument(m,2,15,3); + else + if (strcmp(N4,strinstrument)==0) definirInstrument(m,2,15,4); + else + if (strcmp(N5,strinstrument)==0) definirInstrument(m,2,15,5); + + if (strcmp(N1,strvolume)==0) definirVolume(m,2,15,1); + else + if (strcmp(N2,strvolume)==0) definirVolume(m,2,15,2); + else + if (strcmp(N3,strvolume)==0) definirVolume(m,2,15,3); + else + if (strcmp(N4,strvolume)==0) definirVolume(m,2,15,4); + else + if (strcmp(N5,strvolume)==0) definirVolume(m,2,15,5); + + if (strcmp(N1,streffet)==0) definirEffet(m,2,15,1); + else + if (strcmp(N2,streffet)==0) definirEffet(m,2,15,2); + else + if (strcmp(N3,streffet)==0) definirEffet(m,2,15,3); + else + if (strcmp(N4,streffet)==0) definirEffet(m,2,15,4); + else + if (strcmp(N5,streffet)==0) definirEffet(m,2,15,5); +} void lancerLecture () {