| @@ -1,591 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <song> | |||
| <version>0.006.2</version> | |||
| <bpm>X_BPM_X-CLAUDIA-X_BPM_X</bpm> | |||
| <volume>0.73</volume> | |||
| <metronomeVolume>0.5</metronomeVolume> | |||
| <name>Untitled Song</name> | |||
| <author>Unknown</author> | |||
| <notes>Empty song.</notes> | |||
| <license>Unknown license</license> | |||
| <loopEnabled>true</loopEnabled> | |||
| <mode>pattern</mode> | |||
| <humanize_time>0</humanize_time> | |||
| <humanize_velocity>0</humanize_velocity> | |||
| <swing_factor>0</swing_factor> | |||
| <instrumentList> | |||
| <instrument> | |||
| <id>0</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Kick</name> | |||
| <volume>1</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>kick_Dry_b.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>1</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Stick</name> | |||
| <volume>0.69</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>stick_Woody.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>2</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Snare Jazz</name> | |||
| <volume>1</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>sn_Jazz_c.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>3</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Hand Clap</name> | |||
| <volume>0.88</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>clap_Dry_c.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>4</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Snare Rock</name> | |||
| <volume>1</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>sn_Wet_b.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>5</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Tom Low</name> | |||
| <volume>0.96</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>0.44</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>tom_Rock_lo.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>6</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Closed HH</name> | |||
| <volume>0.89</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>0.78</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>hhc_Dry_a.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>7</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Tom Mid</name> | |||
| <volume>1</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>0.8</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>tom_Rock_mid.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>8</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Pedal HH</name> | |||
| <volume>0.89</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>0.78</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>hhp_Dry_a.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>9</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Tom Hi</name> | |||
| <volume>1</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>0.42</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>tom_Rock_hi.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>10</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Open HH</name> | |||
| <volume>0.8</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>0.84</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>hhc_Rock_b.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>11</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Cowbell</name> | |||
| <volume>0.8</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>misc_Cowbell.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>12</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Ride Jazz</name> | |||
| <volume>0.8</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>cym_Jazz.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>13</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Crash</name> | |||
| <volume>0.69</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>0.88</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>cra_Rock_a.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>14</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Ride Rock</name> | |||
| <volume>0.8</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>0.58</pan_L> | |||
| <pan_R>1</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>cym_Rock_b.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| <instrument> | |||
| <id>15</id> | |||
| <drumkit>GMkit</drumkit> | |||
| <name>Crash Jazz</name> | |||
| <volume>0.77</volume> | |||
| <isMuted>false</isMuted> | |||
| <pan_L>1</pan_L> | |||
| <pan_R>0.78</pan_R> | |||
| <gain>1</gain> | |||
| <filterActive>false</filterActive> | |||
| <filterCutoff>1</filterCutoff> | |||
| <filterResonance>0</filterResonance> | |||
| <FX1Level>0</FX1Level> | |||
| <FX2Level>0</FX2Level> | |||
| <FX3Level>0</FX3Level> | |||
| <FX4Level>0</FX4Level> | |||
| <Attack>0</Attack> | |||
| <Decay>0</Decay> | |||
| <Sustain>1</Sustain> | |||
| <Release>1000</Release> | |||
| <randomPitchFactor>0</randomPitchFactor> | |||
| <muteGroup>-1</muteGroup> | |||
| <layer> | |||
| <filename>cra_Jazz.flac</filename> | |||
| <min>0</min> | |||
| <max>1</max> | |||
| <gain>1</gain> | |||
| <pitch>0</pitch> | |||
| </layer> | |||
| </instrument> | |||
| </instrumentList> | |||
| <patternList> | |||
| <pattern> | |||
| <name>Pattern 1</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 2</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 3</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 4</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 5</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 6</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 7</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 8</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 9</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| <pattern> | |||
| <name>Pattern 10</name> | |||
| <category>not_categorized</category> | |||
| <size>192</size> | |||
| <noteList/> | |||
| </pattern> | |||
| </patternList> | |||
| <patternSequence> | |||
| <group> | |||
| <patternID>Pattern 1</patternID> | |||
| </group> | |||
| </patternSequence> | |||
| <ladspa> | |||
| <fx> | |||
| <name>no plugin</name> | |||
| <filename>-</filename> | |||
| <enabled>false</enabled> | |||
| <volume>0.0</volume> | |||
| </fx> | |||
| <fx> | |||
| <name>no plugin</name> | |||
| <filename>-</filename> | |||
| <enabled>false</enabled> | |||
| <volume>0.0</volume> | |||
| </fx> | |||
| <fx> | |||
| <name>no plugin</name> | |||
| <filename>-</filename> | |||
| <enabled>false</enabled> | |||
| <volume>0.0</volume> | |||
| </fx> | |||
| <fx> | |||
| <name>no plugin</name> | |||
| <filename>-</filename> | |||
| <enabled>false</enabled> | |||
| <volume>0.0</volume> | |||
| </fx> | |||
| </ladspa> | |||
| </song> | |||
| @@ -107,7 +107,7 @@ list_Instrument = [ | |||
| [ "phasex", "Phasex", "Synth", "phasex", "phasex", TEMPLATE_NO, LEVEL_0, (1, 1, "ALSA"), ("file:///usr/share/phasex/help/parameters.help", "") ], | |||
| [ "qsampler", "Qsampler", "Sampler", "qsampler", "qsampler", TEMPLATE_NO, LEVEL_1, (0, 0, "ALSA + JACK"), ("", "http://qsampler.sf.net/") ], | |||
| [ "qsampler", "Qsampler", "Sampler", "qsampler", "qsampler", TEMPLATE_YES, LEVEL_0, (0, 0, "ALSA + JACK"), ("", "http://qsampler.sf.net/") ], | |||
| [ "qsynth", "Qsynth", "SoundFont Player", "qsynth -a jack -m jack", "qsynth", TEMPLATE_NO, LEVEL_0, (1, 0, "ALSA | JACK"), ("", "http://qsynth.sf.net/") ], | |||
| @@ -207,7 +207,6 @@ list_Tool = [ | |||
| [ "cadence", "Cadence", "JACK Toolbox", "cadence", "cadence", TEMPLATE_NO, LEVEL_0, ("---", 0), ("", "") ], | |||
| [ "cadence-tools", "Cadence XY-Controller", "XY Controller", "cadence-xycontroller", "cadence", TEMPLATE_NO, LEVEL_0, ("JACK", 0), ("", "") ], | |||
| [ "catia", "Catia", "Patch Bay", "catia", "catia", TEMPLATE_NO, LEVEL_0, ("JACK", 1), ("", "") ], | |||
| [ "claudia", "Claudia", "Session Handler", "claudia", "claudia", TEMPLATE_NO, LEVEL_0, ("JACK", 1), ("", "") ], | |||
| [ "carla-control", "Carla OSC Control", "OSC Control", "carla-control", "carla-control", TEMPLATE_NO, LEVEL_0, ("JACK", 1), ("", "") ], | |||
| [ "drumstick-tools", "Drumstick Virtual Piano", "Virtual Keyboard", "drumstick-vpiano", "drumstick", TEMPLATE_NO, LEVEL_0, ("ALSA", 0), ("", "http://drumstick.sf.net/") ], | |||
| @@ -219,8 +218,6 @@ list_Tool = [ | |||
| [ "gjacktransport", "GJackClock", "Transport Tool", "gjackclock", "gjackclock", TEMPLATE_NO, LEVEL_0, ("---", 1), ("", "") ], | |||
| [ "gjacktransport", "GJackTransport", "Transport Tool", "gjacktransport", "gjacktransport", TEMPLATE_NO, LEVEL_0, ("---", 1), ("", "") ], | |||
| [ "gladish", "LADI Session Handler", "Session Handler", "gladish", "gladish", TEMPLATE_NO, LEVEL_0, ("JACK", 0), ("", "http://www.ladish.org") ], | |||
| [ "gninjam", "Gtk NINJAM client", "Music Collaboration", "gninjam", generic_audio_icon, TEMPLATE_NO, LEVEL_0, ("---", 1), ("", "") ], | |||
| [ "jack-keyboard", "Jack Keyboard", "Virtual Keyboard", "jack-keyboard", "jack-keyboard", TEMPLATE_NO, LEVEL_0, ("JACK", 0), ("file:///usr/share/kxstudio/docs/jack-keyboard/manual.html", "http://jack-keyboard.sf.net/") ], | |||
| @@ -223,83 +223,43 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| def startApp(self): | |||
| app, binary = self.getSelectedAppAndBinary() | |||
| if app and binary: | |||
| os.system("cd '%s' && %s &" % (self.callback_getProjectFolder(), binary)) | |||
| if not (app and binary): | |||
| return | |||
| os.system("cd '%s' && %s &" % (self.callback_getProjectFolder(), binary)) | |||
| def addAppToLADISH(self): | |||
| app, binary = self.getSelectedAppAndBinary() | |||
| if binary.startswith("startBristol"): | |||
| self.createAppTemplate("bristol", app, binary) | |||
| elif binary.startswith("carla-single"): | |||
| self.createAppTemplate("carla-single", app, binary) | |||
| elif app == "Ardour 2.8": | |||
| self.createAppTemplate("ardour2", app, binary) | |||
| 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 (GIT)", "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 == "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": | |||
| self.createAppTemplate("calfjackhost", app, binary) | |||
| elif app in ("Carla", "Carla (GIT)"): | |||
| self.createAppTemplate("carla", app, binary) | |||
| elif app == "Jack Rack": | |||
| self.createAppTemplate("jack-rack", app, binary) | |||
| elif app == "Qsampler": | |||
| self.createAppTemplate("qsampler", app, binary) | |||
| elif (app == "Jack Mixer"): | |||
| self.createAppTemplate("jack-mixer", app, binary) | |||
| if not (app and binary): | |||
| return | |||
| if binary.startswith("startBristol") or binary.startswith("carla-single"): | |||
| self.createAppTemplate(app, binary) | |||
| elif binary in ("ardour", | |||
| "ardour3", | |||
| "hydrogen", | |||
| "jacker", | |||
| "lmms", | |||
| "muse", | |||
| "non-daw", | |||
| "non-sequencer", | |||
| "qtractor", | |||
| "rosegarden", | |||
| "seq24", | |||
| "calfjackhost", | |||
| "carla", | |||
| "jack-rack", | |||
| "qsampler", | |||
| "jack-mixer"): | |||
| self.createAppTemplate(app, binary) | |||
| else: | |||
| appBus = self.callback_getAppBus() | |||
| appBus.RunCustom2(False, binary, app, "0") | |||
| def createAppTemplate(self, app, app_name, binary): | |||
| def createAppTemplate(self, app, binary): | |||
| rand_check = randint(1, 99999) | |||
| proj_bpm = str(self.callback_getBPM()) | |||
| proj_srate = str(self.callback_getSampleRate()) | |||
| @@ -322,7 +282,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| if not os.path.exists(proj_folder): | |||
| os.mkdir(proj_folder) | |||
| if app == "bristol": | |||
| if binary.startswith("startBristol"): | |||
| module = binary.replace("startBristol -audio jack -midi jack -", "") | |||
| tmplte_folder = os.path.join(proj_folder, "bristol_%s_%i" % (module, rand_check)) | |||
| os.mkdir(tmplte_folder) | |||
| @@ -330,7 +290,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| if self.callback_isLadishRoom(): | |||
| tmplte_folder = os.path.basename(tmplte_folder) | |||
| tmplte_cmd = binary | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " -emulate %s" % module | |||
| tmplte_cmd += " -cache '%s'" % tmplte_folder | |||
| tmplte_cmd += " -memdump '%s'" % tmplte_folder | |||
| @@ -338,11 +298,11 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " -exec" | |||
| tmplte_lvl = "1" | |||
| elif app == "carla-single": | |||
| elif binary.startswith("carla-single"): | |||
| tmplte_cmd = binary | |||
| tmplte_lvl = "1" | |||
| elif app == "ardour2": | |||
| elif binary == "ardour": | |||
| tmplte_folder = os.path.join(proj_folder, "Ardour2_%i" % rand_check) | |||
| tmplte_file = os.path.join(tmplte_folder, "Ardour2_%i.ardour" % rand_check) | |||
| os.mkdir(tmplte_folder) | |||
| @@ -360,10 +320,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_folder) if self.callback_isLadishRoom() else tmplte_folder) | |||
| if database.USING_KXSTUDIO: | |||
| tmplte_lvl = "1" | |||
| elif app == "ardour3": | |||
| elif binary == "ardour3": | |||
| projName = "Ardour3_%i" % rand_check | |||
| tmplte_folder = os.path.join(proj_folder, projName) | |||
| tmplte_file = os.path.join(tmplte_folder, "%s.ardour" % projName) | |||
| @@ -388,15 +345,7 @@ 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) | |||
| 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 == "hydrogen": | |||
| elif binary == "hydrogen": | |||
| tmplte_file = os.path.join(proj_folder, "Hydrogen_%i.h2song" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Hydrogen.h2song"), tmplte_file)) | |||
| @@ -409,7 +358,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| else: | |||
| tmplte_lvl = "1" | |||
| elif app == "jacker": | |||
| elif binary == "jacker": | |||
| tmplte_file = os.path.join(proj_folder, "Jacker_%i.jsong" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Jacker.jsong"), tmplte_file)) | |||
| @@ -423,7 +372,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| # No decimal bpm support | |||
| proj_bpm = proj_bpm.split(".")[0] | |||
| elif app == "lmms": | |||
| elif binary == "lmms": | |||
| tmplte_file = os.path.join(proj_folder, "LMMS_%i.mmp" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "LMMS.mmp"), tmplte_file)) | |||
| @@ -432,9 +381,9 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| # No decimal bpm support | |||
| proj_bpm = proj_bpm.split(".")[0] | |||
| proj_bpm = proj_bpm.split(".",1)[0] | |||
| elif app == "muse": | |||
| elif binary == "muse": | |||
| tmplte_file = os.path.join(proj_folder, "MusE_%i.med" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "MusE.med"), tmplte_file)) | |||
| @@ -442,7 +391,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| elif app == "non-daw": | |||
| elif binary == "non-daw": | |||
| tmplte_folder = os.path.join(proj_folder, "Non-DAW_%i" % rand_check) | |||
| os.mkdir(tmplte_folder) | |||
| @@ -456,7 +405,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_folder) if self.callback_isLadishRoom() else tmplte_folder) | |||
| elif app == "non-sequencer": | |||
| elif binary == "non-sequencer": | |||
| tmplte_file_r = os.path.join(proj_folder, "Non-Sequencer_%i.non" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Non-Sequencer.non"), tmplte_file_r)) | |||
| @@ -464,7 +413,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file_r) if self.callback_isLadishRoom() else tmplte_file_r) | |||
| elif app == "qtractor": | |||
| elif binary == "qtractor": | |||
| tmplte_file = os.path.join(proj_folder, "Qtractor_%i.qtr" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Qtractor.qtr"), tmplte_file)) | |||
| @@ -473,20 +422,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| tmplte_lvl = "1" | |||
| elif app == "renoise": | |||
| tmplte_file_r = os.path.join(proj_folder, "Renoise_%i.xrns" % rand_check) | |||
| tmplte_folder = os.path.join(proj_folder, "tmp_renoise_%i" % rand_check) | |||
| os.mkdir(tmplte_folder) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Renoise.xml"), tmplte_folder)) | |||
| os.system('sed -i "s/X_BPM_X-CLAUDIA-X_BPM_X/%s/" "%s"' % (proj_bpm, os.path.join(tmplte_folder, "Renoise.xml"))) | |||
| os.system("cd '%s' && mv Renoise.xml Song.xml && zip '%s' Song.xml" % (tmplte_folder, tmplte_file_r)) | |||
| os.system("rm -rf '%s'" % tmplte_folder) | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file_r) if self.callback_isLadishRoom() else tmplte_file_r) | |||
| elif app == "rosegarden": | |||
| elif binary == "rosegarden": | |||
| tmplte_file = os.path.join(proj_folder, "Rosegarden_%i.rg" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Rosegarden.rg"), tmplte_file)) | |||
| @@ -495,7 +431,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| tmplte_lvl = "1" | |||
| elif app == "seq24": | |||
| elif binary == "seq24": | |||
| tmplte_file_r = os.path.join(proj_folder, "Seq24_%i.midi" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Seq24.midi"), tmplte_file_r)) | |||
| @@ -504,7 +440,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file_r) if self.callback_isLadishRoom() else tmplte_file_r) | |||
| tmplte_lvl = "1" | |||
| elif app == "calfjackhost": | |||
| elif binary == "calfjackhost": | |||
| tmplte_file = os.path.join(proj_folder, "CalfJackHost_%i" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "CalfJackHost"), tmplte_file)) | |||
| @@ -513,7 +449,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " --load '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| tmplte_lvl = "1" | |||
| elif app == "carla": | |||
| elif binary == "carla": | |||
| tmplte_file = os.path.join(proj_folder, "Carla_%i.carxp" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Carla.carxp"), tmplte_file)) | |||
| @@ -522,7 +458,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| tmplte_lvl = "1" | |||
| elif app == "jack-rack": | |||
| elif binary == "jack-rack": | |||
| tmplte_file = os.path.join(proj_folder, "Jack-Rack_%i.xml" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Jack-Rack.xml"), tmplte_file)) | |||
| @@ -530,7 +466,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| elif app == "qsampler": | |||
| elif binary == "qsampler": | |||
| tmplte_file = os.path.join(proj_folder, "Qsampler_%i.lscp" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Qsampler.lscp"), tmplte_file)) | |||
| @@ -538,10 +474,7 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| if database.USING_KXSTUDIO: | |||
| tmplte_lvl = "1" | |||
| elif app == "jack-mixer": | |||
| elif binary == "jack-mixer": | |||
| tmplte_file = os.path.join(proj_folder, "Jack-Mixer_%i.xml" % rand_check) | |||
| os.system("cp '%s' '%s'" % (os.path.join(tmplte_dir, "Jack-Mixer.xml"), tmplte_file)) | |||
| @@ -549,19 +482,16 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW): | |||
| tmplte_cmd = binary | |||
| tmplte_cmd += " -c '%s'" % (os.path.basename(tmplte_file) if self.callback_isLadishRoom() else tmplte_file) | |||
| if self.callback_isLadishRoom(): | |||
| tmplte_lvl = "lash" | |||
| else: | |||
| print("ClaudiaLauncher::createAppTemplate(%s) - Failed to parse app name" % app) | |||
| if tmplte_file is not None: | |||
| os.system('sed -i "s/X_SR_X-CLAUDIA-X_SR_X/%s/" "%s"' % (proj_srate, tmplte_file)) | |||
| os.system('sed -i "s/X_BPM_X-CLAUDIA-X_BPM_X/%s/" "%s"' % (proj_bpm, tmplte_file)) | |||
| os.system('sed -i "s/X_FOLDER_X-CLAUDIA-X_FOLDER_X/%s/" "%s"' % (proj_folder.replace("/", "\/").replace("$", "\$"), tmplte_file)) | |||
| os.system('sed -i "s|X_SR_X-CLAUDIA-X_SR_X|%s|" "%s"' % (proj_srate, tmplte_file)) | |||
| os.system('sed -i "s|X_BPM_X-CLAUDIA-X_BPM_X|%s|" "%s"' % (proj_bpm, tmplte_file)) | |||
| os.system('sed -i "s|X_FOLDER_X-CLAUDIA-X_FOLDER_X|%s|" "%s"' % (proj_folder.replace("|", "\|").replace("$", "\$"), tmplte_file)) | |||
| appBus = self.callback_getAppBus() | |||
| appBus.RunCustom2(False, tmplte_cmd, app_name, tmplte_lvl) | |||
| appBus.RunCustom2(False, tmplte_cmd, app, tmplte_lvl) | |||
| def parentR(self): | |||
| return self._parent | |||