diff --git a/data/templates/composite.h2song b/data/templates/composite.h2song new file mode 100755 index 0000000..60b6b85 --- /dev/null +++ b/data/templates/composite.h2song @@ -0,0 +1,591 @@ + + + 0.006.2 + X_BPM_X-CLAUDIA-X_BPM_X + 0.73 + 0.5 + Untitled Song + Unknown + Empty song. + Unknown license + true + pattern + 0 + 0 + 0 + + + 0 + GMkit + Kick + 1 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + kick_Dry_b.flac + 0 + 1 + 1 + 0 + + + + 1 + GMkit + Stick + 0.69 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + stick_Woody.flac + 0 + 1 + 1 + 0 + + + + 2 + GMkit + Snare Jazz + 1 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + sn_Jazz_c.flac + 0 + 1 + 1 + 0 + + + + 3 + GMkit + Hand Clap + 0.88 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + clap_Dry_c.flac + 0 + 1 + 1 + 0 + + + + 4 + GMkit + Snare Rock + 1 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + sn_Wet_b.flac + 0 + 1 + 1 + 0 + + + + 5 + GMkit + Tom Low + 0.96 + false + 0.44 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + tom_Rock_lo.flac + 0 + 1 + 1 + 0 + + + + 6 + GMkit + Closed HH + 0.89 + false + 1 + 0.78 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + hhc_Dry_a.flac + 0 + 1 + 1 + 0 + + + + 7 + GMkit + Tom Mid + 1 + false + 0.8 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + tom_Rock_mid.flac + 0 + 1 + 1 + 0 + + + + 8 + GMkit + Pedal HH + 0.89 + false + 1 + 0.78 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + hhp_Dry_a.flac + 0 + 1 + 1 + 0 + + + + 9 + GMkit + Tom Hi + 1 + false + 1 + 0.42 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + tom_Rock_hi.flac + 0 + 1 + 1 + 0 + + + + 10 + GMkit + Open HH + 0.8 + false + 1 + 0.84 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + hhc_Rock_b.flac + 0 + 1 + 1 + 0 + + + + 11 + GMkit + Cowbell + 0.8 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + misc_Cowbell.flac + 0 + 1 + 1 + 0 + + + + 12 + GMkit + Ride Jazz + 0.8 + false + 1 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + cym_Jazz.flac + 0 + 1 + 1 + 0 + + + + 13 + GMkit + Crash + 0.69 + false + 1 + 0.88 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + cra_Rock_a.flac + 0 + 1 + 1 + 0 + + + + 14 + GMkit + Ride Rock + 0.8 + false + 0.58 + 1 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + cym_Rock_b.flac + 0 + 1 + 1 + 0 + + + + 15 + GMkit + Crash Jazz + 0.77 + false + 1 + 0.78 + 1 + false + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1000 + 0 + -1 + + cra_Jazz.flac + 0 + 1 + 1 + 0 + + + + + + Pattern 1 + not_categorized + 192 + + + + Pattern 2 + not_categorized + 192 + + + + Pattern 3 + not_categorized + 192 + + + + Pattern 4 + not_categorized + 192 + + + + Pattern 5 + not_categorized + 192 + + + + Pattern 6 + not_categorized + 192 + + + + Pattern 7 + not_categorized + 192 + + + + Pattern 8 + not_categorized + 192 + + + + Pattern 9 + not_categorized + 192 + + + + Pattern 10 + not_categorized + 192 + + + + + + Pattern 1 + + + + + no plugin + - + false + 0.0 + + + no plugin + - + false + 0.0 + + + no plugin + - + false + 0.0 + + + no plugin + - + false + 0.0 + + + diff --git a/src/claudia_database.py b/src/claudia_database.py index 41e6b2d..d4709b0 100644 --- a/src/claudia_database.py +++ b/src/claudia_database.py @@ -20,14 +20,14 @@ TEMPLATE_NO = "No" # (L, D, L, V, VST-Mode, T, M, MIDI-Mode) -> ( LADSPA, DSSI, LV2, VST, VST-Mode, Transport, MIDI, MIDI-Mode) -# TODO - on kxstudio, set ardour2 and jacker to lvl1 +# TODO - on kxstudio, set ardour2 and jacker to LEVEL_1 list_DAW = [ # Package AppName Type Binary Icon Template? Level Rel.-Model (L, D, L, V, VST-Mode, T, M, MIDI-Mode) (doc-file, website) ( "ardour", "Ardour 2.8", "DAW", "ardour2", "ardour", TEMPLATE_YES, LEVEL_0, "OpenSource", (1, 0, 1, 0, "", 1, 0, "ALSA"), ("file:///usr/share/kxstudio/docs/ardour.pdf", "http://www.ardour.org/") ), ( "ardour3", "Ardour 3.0", "DAW", "ardour3", "ardour", TEMPLATE_YES, LEVEL_JS, "OpenSource", (1, 0, 1, 1, "Native", 1, 1, "JACK"), ("file:///usr/share/kxstudio/docs/ardour.pdf", "http://www.ardour.org/") ), - ( "composite", "Composite", "Drum Sequencer", "composite-gui", "composite32x32", TEMPLATE_NO, LEVEL_0, "OpenSource", (1, 0, 0, 0, "", 1, 1, "JACK"), ("file:///usr/share/composite/data/doc/manual.html", "http://gabe.is-a-geek.org/composite/") ), + ( "composite", "Composite", "Drum Sequencer", "composite-gui", "composite32x32", TEMPLATE_YES, LEVEL_0, "OpenSource", (1, 0, 0, 0, "", 1, 1, "JACK"), ("file:///usr/share/composite/data/doc/manual.html", "http://gabe.is-a-geek.org/composite/") ), ( "energyxt2", "EnergyXT2", "DAW", "energyxt2", "energyxt2", TEMPLATE_NO, LEVEL_0, "Demo", (0, 0, 0, 1, "Native", 0, 1, "JACK"), ("file:///usr/share/kxstudio/docs/EnergyXT_Manual_EN.pdf", "http://www.energy-xt.com/") ), diff --git a/src/claudia_launcher.py b/src/claudia_launcher.py index 707f0d4..7578311 100755 --- a/src/claudia_launcher.py +++ b/src/claudia_launcher.py @@ -203,48 +203,66 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): elif app == "Ardour 3.0": self.createAppTemplate("ardour3", app, binary) + elif app == "Composite": + self.createAppTemplate("composite", app, binary) + + elif app == "EnergyXT2": + self.createAppTemplate("energyxt2", app, binary) + + elif app in ("Hydrogen", "Hydrogen (SVN)"): + self.createAppTemplate("hydrogen", app, binary) + + elif app == "Jacker": + self.createAppTemplate("jacker", app, binary) + + elif app == "LMMS": + self.createAppTemplate("lmms", app, binary) + + elif app == "MusE": + self.createAppTemplate("muse", app, binary) + + elif app == "MuseScore": + self.createAppTemplate("musescore", app, binary) + + elif app == "Non-DAW": + self.createAppTemplate("non-daw", app, binary) + + elif app == "Non-Sequencer": + self.createAppTemplate("non-sequencer", app, binary) + + elif app in ("Qtractor", "Qtractor (SVN)"): + self.createAppTemplate("qtractor", app, binary) + + elif app == "REAPER": + self.createAppTemplate("reaper", app, binary) + + elif app == "Renoise": + self.createAppTemplate("renoise", app, binary) + + elif app == "Rosegarden": + self.createAppTemplate("rosegarden", app, binary) + + elif app == "Seq24": + self.createAppTemplate("seq24", app, binary) + elif app == "Calf Jack Host (GIT)": self.createAppTemplate("calfjackhost", app, binary) - #elif (app in ("Hydrogen", "Hydrogen (SVN)")): - #self.createAppTemplate("hydrogen", app, binary) - #elif (app == "Jack Mixer"): #self.createAppTemplate("jack-mixer", app, binary) #elif (app == "Jack Rack"): #self.createAppTemplate("jack-rack", app, binary) - #elif (app == "Jacker"): - #self.createAppTemplate("jacker", app, binary) - #elif (app == "Jamin"): #self.createAppTemplate("jamin", app, binary) - #elif (app == "Non-DAW"): - #self.createAppTemplate("non-daw", app, binary) - #elif (app == "Non-Mixer"): #self.createAppTemplate("non-mixer", app, binary) - #elif (app == "Non-Sequencer"): - #self.createAppTemplate("non-sequencer", app, binary) - #elif (app == "Qsampler"): #self.createAppTemplate("qsampler", app, binary) - #elif (app in ("Qtractor", "Qtractor (SVN)")): - #self.createAppTemplate("qtractor", app, binary) - - #elif (app == "Renoise"): - #self.createAppTemplate("renoise", app, binary) - - #elif (app == "Rosegarden"): - #self.createAppTemplate("rosegarden", app, binary) - - #elif (app == "Seq24"): - #self.createAppTemplate("seq24", app, binary) - #elif (app == "Yoshimi"): #self.createAppTemplate("yoshimi", app, binary) @@ -335,6 +353,15 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): if self.callback_isLadishRoom(): tmplte_lvl = "jacksession" + elif app == "composite": + tmplte_file = os.path.join(proj_folder, "composite_%i.h2song" % rand_check) + + # Create template + os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "composite.h2song"), tmplte_file)) + + tmplte_cmd = binary + tmplte_cmd += " -s '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) + elif app == "calfjackhost": tmplte_file = os.path.join(proj_folder, "CalfJackHost_%i" % rand_check)