Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTamMini.activity
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-09-13 20:33:18 (GMT)
committer Nat <natcl@hotmail.com>2007-09-13 20:33:18 (GMT)
commita3b8d0fe198473f18495696025e6852c4d2c9f58 (patch)
treec43099929417716d868713c3ae8334275d235424 /TamTamMini.activity
parent3080356e8c3d275634cb011a160d47f3a482cfbb (diff)
Jam works
Diffstat (limited to 'TamTamMini.activity')
-rw-r--r--TamTamMini.activity/MANIFEST522
-rw-r--r--TamTamMini.activity/TamTamMini.py35
-rw-r--r--TamTamMini.activity/po/TamTamMini.pot423
-rw-r--r--TamTamMini.activity/setup.py11
4 files changed, 957 insertions, 34 deletions
diff --git a/TamTamMini.activity/MANIFEST b/TamTamMini.activity/MANIFEST
new file mode 100644
index 0000000..0b06dea
--- /dev/null
+++ b/TamTamMini.activity/MANIFEST
@@ -0,0 +1,522 @@
+MANIFEST
+NEWS
+setup.py
+TamTamMini.py
+activity/activity-tamtam.svg
+activity/activity.info
+icons/keyrec.svg
+icons/loop.svg
+icons/micrec1.svg
+icons/micrec2.svg
+icons/micrec3.svg
+icons/micrec4.svg
+icons/micrec5.svg
+icons/micrec6.svg
+icons/minusrec.svg
+icons/overrec.svg
+icons/rec1.svg
+icons/rec2.svg
+icons/rec3.svg
+icons/rec4.svg
+icons/rec5.svg
+icons/rec6.svg
+Mini/Fillin.py
+Mini/GenRythm.py
+Mini/KeyboardStandAlone.py
+Mini/Loop.py
+Mini/MiniSequencer.py
+Mini/NoteStdAlone.py
+Mini/RythmGenerator.py
+Mini/__init__.py
+Mini/lps.py
+Mini/miniTamTamMain.py
+Mini/miniToolbars.py
+common/__init__.py
+common/Config.py
+common/Util/CSoundClient.py
+common/Util/CSoundNote.py
+common/Util/ControlStream.py
+common/Util/Credits.py
+common/Util/InstrumentDB.py
+common/Util/InstrumentPanel.py
+common/Util/Instrument_.py
+common/Util/KeyboardWindow.py
+common/Util/LoopSettings.py
+common/Util/Network.py
+common/Util/NoteDB.py
+common/Util/NoteLooper.py
+common/Util/Profiler.py
+common/Util/Sound.py
+common/Util/ThemeWidgets.py
+common/Util/Trackpad.py
+common/Util/__init__.py
+common/Util/Clooper/Makefile
+common/Util/Clooper/SoundClient.i
+common/Util/Clooper/__init__.py
+common/Util/Clooper/aclient.cpp
+common/Util/Clooper/aclient.so
+common/Util/Clooper/audio.cpp
+common/Util/Clooper/cmd_csound.cpp
+common/Util/Clooper/log.cpp
+common/Util/Clooper/ttest.c
+common/Util/Clooper/ttest.h
+common/Util/Clooper/ttest.i
+common/Util/Clooper/ttest.py
+common/Util/Clooper/ttest_wrap.c
+common/Generation/Drunk.py
+common/Generation/GenerationConstants.py
+common/Generation/GenerationParametersWindow.py
+common/Generation/GenerationPitch.py
+common/Generation/GenerationRythm.py
+common/Generation/Generator.py
+common/Generation/Utils.py
+common/Generation/VariationPitch.py
+common/Generation/VariationRythm.py
+common/Generation/__init__.py
+common/Generation/bList.py
+common/Resources/__init__.py
+common/Resources/crop.csd
+common/Resources/tamtamorc.csd
+common/Resources/tooltips_en.py
+common/Resources/tooltips_fr.py
+common/Resources/Desktops/desktop0
+common/Resources/Desktops/desktop1
+common/Resources/Desktops/desktop2
+common/Resources/Desktops/desktop3
+common/Resources/Desktops/desktop4
+common/Resources/Desktops/desktop5
+common/Resources/Desktops/desktop6
+common/Resources/Desktops/desktop7
+common/Resources/Desktops/desktop8
+common/Resources/Desktops/desktop9
+common/Resources/Images/TamTam.png
+common/Resources/Images/acguit.png
+common/Resources/Images/acguitsel.png
+common/Resources/Images/alarm.png
+common/Resources/Images/alarmsel.png
+common/Resources/Images/all.png
+common/Resources/Images/allsel.png
+common/Resources/Images/animals.png
+common/Resources/Images/animalssel.png
+common/Resources/Images/arrowEditDown.png
+common/Resources/Images/arrowEditDownDown.png
+common/Resources/Images/arrowEditDownOver.png
+common/Resources/Images/arrowEditLeft.png
+common/Resources/Images/arrowEditLeftDown.png
+common/Resources/Images/arrowEditLeftOver.png
+common/Resources/Images/arrowEditRight.png
+common/Resources/Images/arrowEditRightDown.png
+common/Resources/Images/arrowEditRightOver.png
+common/Resources/Images/arrowEditUp.png
+common/Resources/Images/arrowEditUpDown.png
+common/Resources/Images/arrowEditUpOver.png
+common/Resources/Images/basse.png
+common/Resources/Images/bassesel.png
+common/Resources/Images/beat1.png
+common/Resources/Images/beat10.png
+common/Resources/Images/beat11.png
+common/Resources/Images/beat2.png
+common/Resources/Images/beat3.png
+common/Resources/Images/beat4.png
+common/Resources/Images/beat5.png
+common/Resources/Images/beat6.png
+common/Resources/Images/beat7.png
+common/Resources/Images/beat8.png
+common/Resources/Images/beat9.png
+common/Resources/Images/bird.png
+common/Resources/Images/birdsel.png
+common/Resources/Images/bottle.png
+common/Resources/Images/bottlesel.png
+common/Resources/Images/bubbles.png
+common/Resources/Images/bubblessel.png
+common/Resources/Images/byke.png
+common/Resources/Images/bykesel.png
+common/Resources/Images/camera.png
+common/Resources/Images/camerasel.png
+common/Resources/Images/car.png
+common/Resources/Images/carsel.png
+common/Resources/Images/cat.png
+common/Resources/Images/catsel.png
+common/Resources/Images/cello.png
+common/Resources/Images/cellosel.png
+common/Resources/Images/check.png
+common/Resources/Images/checkOff.svg
+common/Resources/Images/checkOn.svg
+common/Resources/Images/chimes.png
+common/Resources/Images/chimessel.png
+common/Resources/Images/clang.png
+common/Resources/Images/clangsel.png
+common/Resources/Images/clarinette.png
+common/Resources/Images/clarinettesel.png
+common/Resources/Images/cling.png
+common/Resources/Images/clingsel.png
+common/Resources/Images/complex1.png
+common/Resources/Images/complex2.png
+common/Resources/Images/complex3.png
+common/Resources/Images/complex4.png
+common/Resources/Images/complex5.png
+common/Resources/Images/complex6.png
+common/Resources/Images/complex7.png
+common/Resources/Images/complex8.png
+common/Resources/Images/concret.png
+common/Resources/Images/concretsel.png
+common/Resources/Images/crash.png
+common/Resources/Images/crashsel.png
+common/Resources/Images/dice.png
+common/Resources/Images/diceProp.png
+common/Resources/Images/dicePropSel.png
+common/Resources/Images/diceblur.png
+common/Resources/Images/diceinst.png
+common/Resources/Images/diceinstsel.png
+common/Resources/Images/didjeridu.png
+common/Resources/Images/didjeridusel.png
+common/Resources/Images/dog.png
+common/Resources/Images/dogsel.png
+common/Resources/Images/door.png
+common/Resources/Images/doorsel.png
+common/Resources/Images/dru0.png
+common/Resources/Images/dru1.png
+common/Resources/Images/dru2.png
+common/Resources/Images/dru3.png
+common/Resources/Images/dru4.png
+common/Resources/Images/drum1kit.png
+common/Resources/Images/drum1kitsel.png
+common/Resources/Images/drum1kitselgen.png
+common/Resources/Images/drum2kit.png
+common/Resources/Images/drum2kitsel.png
+common/Resources/Images/drum2kitselgen.png
+common/Resources/Images/drum3kit.png
+common/Resources/Images/drum3kitsel.png
+common/Resources/Images/drum3kitselgen.png
+common/Resources/Images/drum4kit.png
+common/Resources/Images/drum4kitsel.png
+common/Resources/Images/drum4kitselgen.png
+common/Resources/Images/drum5kit.png
+common/Resources/Images/drum5kitsel.png
+common/Resources/Images/drum5kitselgen.png
+common/Resources/Images/duck.png
+common/Resources/Images/duck2.png
+common/Resources/Images/duck2sel.png
+common/Resources/Images/ducksel.png
+common/Resources/Images/editTam.png
+common/Resources/Images/editTamDown.png
+common/Resources/Images/editTamOver.png
+common/Resources/Images/electronic.png
+common/Resources/Images/electronicsel.png
+common/Resources/Images/flute.png
+common/Resources/Images/flutesel.png
+common/Resources/Images/gam.png
+common/Resources/Images/gamsel.png
+common/Resources/Images/generic.png
+common/Resources/Images/genericsel.png
+common/Resources/Images/guit.png
+common/Resources/Images/guit2.png
+common/Resources/Images/guit2sel.png
+common/Resources/Images/guitsel.png
+common/Resources/Images/harmonica.png
+common/Resources/Images/harmonicasel.png
+common/Resources/Images/harmonium.png
+common/Resources/Images/harmoniumsel.png
+common/Resources/Images/helpShow1.jpg
+common/Resources/Images/helpShow2.jpg
+common/Resources/Images/helpShow3.jpg
+common/Resources/Images/helpShow4.jpg
+common/Resources/Images/helpShow5.jpg
+common/Resources/Images/helpShow6.jpg
+common/Resources/Images/helpShow7.jpg
+common/Resources/Images/helpShow8.jpg
+common/Resources/Images/helpShow9.jpg
+common/Resources/Images/helpTam.png
+common/Resources/Images/helpTamDown.png
+common/Resources/Images/helpTamOver.png
+common/Resources/Images/hit.png
+common/Resources/Images/hitSelected.png
+common/Resources/Images/horse.png
+common/Resources/Images/horsesel.png
+common/Resources/Images/instr0.png
+common/Resources/Images/instr1.png
+common/Resources/Images/instr2.png
+common/Resources/Images/instr3.png
+common/Resources/Images/instr4.png
+common/Resources/Images/jam-blockMask.png
+common/Resources/Images/kalimba.png
+common/Resources/Images/kalimbasel.png
+common/Resources/Images/keyboard.png
+common/Resources/Images/keyboardsel.png
+common/Resources/Images/koto.png
+common/Resources/Images/kotosel.png
+common/Resources/Images/laugh.png
+common/Resources/Images/laughsel.png
+common/Resources/Images/mando.png
+common/Resources/Images/mandosel.png
+common/Resources/Images/marimba.png
+common/Resources/Images/marimbasel.png
+common/Resources/Images/marquis.png
+common/Resources/Images/mic1.png
+common/Resources/Images/mic1sel.png
+common/Resources/Images/mic2.png
+common/Resources/Images/mic2sel.png
+common/Resources/Images/mic3.png
+common/Resources/Images/mic3sel.png
+common/Resources/Images/mic4.png
+common/Resources/Images/mic4sel.png
+common/Resources/Images/miniTam.png
+common/Resources/Images/miniTamDown.png
+common/Resources/Images/miniTamOver.png
+common/Resources/Images/miniplay.png
+common/Resources/Images/mysounds.png
+common/Resources/Images/mysoundssel.png
+common/Resources/Images/note.png
+common/Resources/Images/noteSelected.png
+common/Resources/Images/ocarina.png
+common/Resources/Images/ocarinasel.png
+common/Resources/Images/ounk.png
+common/Resources/Images/ounksel.png
+common/Resources/Images/ow.png
+common/Resources/Images/owsel.png
+common/Resources/Images/pageThumbnailBG.png
+common/Resources/Images/pageThumbnailBG0.png
+common/Resources/Images/pageThumbnailBG1.png
+common/Resources/Images/pageThumbnailBG2.png
+common/Resources/Images/pageThumbnailBG3.png
+common/Resources/Images/pageThumbnailBut0.png
+common/Resources/Images/pageThumbnailBut0Down.png
+common/Resources/Images/pageThumbnailBut1.png
+common/Resources/Images/pageThumbnailBut1Down.png
+common/Resources/Images/pageThumbnailBut2.png
+common/Resources/Images/pageThumbnailBut2Down.png
+common/Resources/Images/pageThumbnailBut3.png
+common/Resources/Images/pageThumbnailBut3Down.png
+common/Resources/Images/pageThumbnailMask.png
+common/Resources/Images/people.png
+common/Resources/Images/peoplesel.png
+common/Resources/Images/percussions.png
+common/Resources/Images/percussionssel.png
+common/Resources/Images/piano.png
+common/Resources/Images/pianosel.png
+common/Resources/Images/plane.png
+common/Resources/Images/planesel.png
+common/Resources/Images/reverb0.png
+common/Resources/Images/reverb1.png
+common/Resources/Images/reverb2.png
+common/Resources/Images/reverb3.png
+common/Resources/Images/reverb4.png
+common/Resources/Images/reverb5.png
+common/Resources/Images/rhodes.png
+common/Resources/Images/rhodessel.png
+common/Resources/Images/sampleBG.png
+common/Resources/Images/sampleNoteMask.png
+common/Resources/Images/saxo.png
+common/Resources/Images/saxosel.png
+common/Resources/Images/scrollBar.png
+common/Resources/Images/sheep.png
+common/Resources/Images/sheepsel.png
+common/Resources/Images/shenai.png
+common/Resources/Images/shenaisel.png
+common/Resources/Images/sitar.png
+common/Resources/Images/sitarsel.png
+common/Resources/Images/slap.png
+common/Resources/Images/slapsel.png
+common/Resources/Images/sliderDrum.png
+common/Resources/Images/sliderEditTempo.png
+common/Resources/Images/sliderEditVolume.png
+common/Resources/Images/sliderInst1.png
+common/Resources/Images/sliderInst2.png
+common/Resources/Images/sliderInst3.png
+common/Resources/Images/sliderInst4.png
+common/Resources/Images/sliderbutbleu.png
+common/Resources/Images/sliderbutjaune.png
+common/Resources/Images/sliderbutred.png
+common/Resources/Images/sliderbutvert.png
+common/Resources/Images/sliderbutviolet.png
+common/Resources/Images/sliderlong.png
+common/Resources/Images/slidershort.png
+common/Resources/Images/stop.png
+common/Resources/Images/strings.png
+common/Resources/Images/stringssel.png
+common/Resources/Images/synthTam.png
+common/Resources/Images/synthTamDown.png
+common/Resources/Images/synthTamOver.png
+common/Resources/Images/synthlabMask.png
+common/Resources/Images/tchiwo.png
+common/Resources/Images/tchiwosel.png
+common/Resources/Images/tempo1.png
+common/Resources/Images/tempo2.png
+common/Resources/Images/tempo3.png
+common/Resources/Images/tempo4.png
+common/Resources/Images/tempo5.png
+common/Resources/Images/tempo6.png
+common/Resources/Images/tempo7.png
+common/Resources/Images/tempo8.png
+common/Resources/Images/trackBG.png
+common/Resources/Images/trackBGDrum.png
+common/Resources/Images/trackBGDrumSelected.png
+common/Resources/Images/trackBGSelected.png
+common/Resources/Images/triangle.png
+common/Resources/Images/trianglesel.png
+common/Resources/Images/trumpet.png
+common/Resources/Images/trumpetsel.png
+common/Resources/Images/tuba.png
+common/Resources/Images/tubasel.png
+common/Resources/Images/violin.png
+common/Resources/Images/violinsel.png
+common/Resources/Images/voix.png
+common/Resources/Images/voixsel.png
+common/Resources/Images/volume0.png
+common/Resources/Images/volume1.png
+common/Resources/Images/volume2.png
+common/Resources/Images/volume3.png
+common/Resources/Images/water.png
+common/Resources/Images/watersel.png
+common/Resources/Images/winds.png
+common/Resources/Images/windssel.png
+common/Resources/Images/zap.png
+common/Resources/Images/zapsel.png
+common/Resources/Loops/loop1.ttl
+common/Resources/Loops/loop2.ttl
+common/Resources/Loops/loop3.ttl
+common/Resources/Sounds/acguit
+common/Resources/Sounds/alarm
+common/Resources/Sounds/banjo
+common/Resources/Sounds/basse
+common/Resources/Sounds/bird
+common/Resources/Sounds/bottle
+common/Resources/Sounds/bubbles
+common/Resources/Sounds/byke
+common/Resources/Sounds/camera
+common/Resources/Sounds/car
+common/Resources/Sounds/cat
+common/Resources/Sounds/cello
+common/Resources/Sounds/chimes
+common/Resources/Sounds/clang
+common/Resources/Sounds/clarinette
+common/Resources/Sounds/cling
+common/Resources/Sounds/crash
+common/Resources/Sounds/diceinst
+common/Resources/Sounds/didjeridu
+common/Resources/Sounds/dog
+common/Resources/Sounds/door
+common/Resources/Sounds/drum1chine
+common/Resources/Sounds/drum1crash
+common/Resources/Sounds/drum1floortom
+common/Resources/Sounds/drum1hardride
+common/Resources/Sounds/drum1hatpedal
+common/Resources/Sounds/drum1hatshoulder
+common/Resources/Sounds/drum1kick
+common/Resources/Sounds/drum1ridebell
+common/Resources/Sounds/drum1snare
+common/Resources/Sounds/drum1snaresidestick
+common/Resources/Sounds/drum1splash
+common/Resources/Sounds/drum1tom
+common/Resources/Sounds/drum2darbukadoom
+common/Resources/Sounds/drum2darbukafinger
+common/Resources/Sounds/drum2darbukapied
+common/Resources/Sounds/drum2darbukapiedsoft
+common/Resources/Sounds/drum2darbukaroll
+common/Resources/Sounds/drum2darbukaslap
+common/Resources/Sounds/drum2darbukatak
+common/Resources/Sounds/drum2hatflanger
+common/Resources/Sounds/drum2hatpied
+common/Resources/Sounds/drum2hatpied2
+common/Resources/Sounds/drum2tambourinepied
+common/Resources/Sounds/drum2tambourinepiedsoft
+common/Resources/Sounds/drum3cowbell
+common/Resources/Sounds/drum3cowbelltip
+common/Resources/Sounds/drum3cup
+common/Resources/Sounds/drum3djembelow
+common/Resources/Sounds/drum3djembemid
+common/Resources/Sounds/drum3djembesidestick
+common/Resources/Sounds/drum3djembeslap
+common/Resources/Sounds/drum3djembestickmid
+common/Resources/Sounds/drum3metalstand
+common/Resources/Sounds/drum3pedalperc
+common/Resources/Sounds/drum3rainstick
+common/Resources/Sounds/drum3tambourinehigh
+common/Resources/Sounds/drum3tambourinelow
+common/Resources/Sounds/drum4afrofeet
+common/Resources/Sounds/drum4fingersn
+common/Resources/Sounds/drum4mutecuic
+common/Resources/Sounds/drum4stompbass
+common/Resources/Sounds/drum4tambouri
+common/Resources/Sounds/drum4tr707clap
+common/Resources/Sounds/drum4tr707open
+common/Resources/Sounds/drum4tr808closed
+common/Resources/Sounds/drum4tr808sn
+common/Resources/Sounds/drum4tr909bass
+common/Resources/Sounds/drum4tr909kick
+common/Resources/Sounds/drum4tr909sn
+common/Resources/Sounds/drum5agogoaigu
+common/Resources/Sounds/drum5agogograve
+common/Resources/Sounds/drum5bongoaiguouvert
+common/Resources/Sounds/drum5bongograveouvert
+common/Resources/Sounds/drum5congaaiguouvert
+common/Resources/Sounds/drum5congagraveferme
+common/Resources/Sounds/drum5congagraveouvert
+common/Resources/Sounds/drum5guiroretour
+common/Resources/Sounds/drum5quicaaigu
+common/Resources/Sounds/drum5quicamedium
+common/Resources/Sounds/drum5timablesaiguslap
+common/Resources/Sounds/drum5timablesslap
+common/Resources/Sounds/drum5vibraslap
+common/Resources/Sounds/duck
+common/Resources/Sounds/duck2
+common/Resources/Sounds/flute
+common/Resources/Sounds/gam
+common/Resources/Sounds/guidice1
+common/Resources/Sounds/guidice10
+common/Resources/Sounds/guidice2
+common/Resources/Sounds/guidice3
+common/Resources/Sounds/guidice4
+common/Resources/Sounds/guidice5
+common/Resources/Sounds/guidice6
+common/Resources/Sounds/guidice7
+common/Resources/Sounds/guidice8
+common/Resources/Sounds/guidice9
+common/Resources/Sounds/guit
+common/Resources/Sounds/guit2
+common/Resources/Sounds/harmonica
+common/Resources/Sounds/harmonium
+common/Resources/Sounds/horse
+common/Resources/Sounds/kalimba
+common/Resources/Sounds/koto
+common/Resources/Sounds/lab1
+common/Resources/Sounds/lab2
+common/Resources/Sounds/lab3
+common/Resources/Sounds/lab4
+common/Resources/Sounds/lab5
+common/Resources/Sounds/lab6
+common/Resources/Sounds/laugh
+common/Resources/Sounds/mando
+common/Resources/Sounds/marimba
+common/Resources/Sounds/mic1
+common/Resources/Sounds/mic2
+common/Resources/Sounds/mic3
+common/Resources/Sounds/mic4
+common/Resources/Sounds/ocarina
+common/Resources/Sounds/ounk
+common/Resources/Sounds/ow
+common/Resources/Sounds/piano
+common/Resources/Sounds/plane
+common/Resources/Sounds/rhodes
+common/Resources/Sounds/saxo
+common/Resources/Sounds/sheep
+common/Resources/Sounds/shenai
+common/Resources/Sounds/sitar
+common/Resources/Sounds/slap
+common/Resources/Sounds/triangle
+common/Resources/Sounds/trumpet
+common/Resources/Sounds/tuba
+common/Resources/Sounds/violin
+common/Resources/Sounds/voix
+common/Resources/Sounds/water
+common/Resources/Sounds/zap
+common/Resources/SynthFiles/synthFile1
+common/Resources/SynthFiles/synthFile2
+common/Resources/SynthFiles/synthFile3
+common/Resources/SynthFiles/synthFile4
+common/Resources/SynthFiles/synthFile5
+common/Resources/SynthFiles/synthFile6
+common/Resources/SynthFiles/synthFile7
+common/Resources/SynthFiles/synthFile8
+common/Resources/SynthFiles/synthFile9
+common/Resources/SynthFiles/synthFile10 \ No newline at end of file
diff --git a/TamTamMini.activity/TamTamMini.py b/TamTamMini.activity/TamTamMini.py
index 70ed410..0e6f4e2 100644
--- a/TamTamMini.activity/TamTamMini.py
+++ b/TamTamMini.activity/TamTamMini.py
@@ -86,9 +86,6 @@ class TamTamMini(activity.Activity):
if Config.DEBUG > 3: print 'DEBUG: TamTam::onFocusOut in TamTam.py'
csnd = new_csound_client()
csnd.connect(True)
- if self.mode == 'synth':
- self.modeList[ self.mode ].updateSound()
- self.modeList[ self.mode ].updateTables()
#csnd.load_instruments()
def onFocusOut(self, event, data=None):
@@ -100,44 +97,16 @@ class TamTamMini(activity.Activity):
pass
def onKeyPress(self, widget, event):
- if Config.DEBUG > 5: print 'DEBUG: TamTam::onKeyPress in TamTam.py'
- if event.state == gtk.gdk.MOD1_MASK:
- key = event.keyval
- if key == gtk.keysyms.j:
- self.set_mode("jam")
- return
- elif key == gtk.keysyms.m:
- self.set_mode('mini')
- return
- elif key == gtk.keysyms.s:
- self.set_mode('synth')
- return
- elif key == gtk.keysyms.w:
- self.set_mode('welcome')
- return
- elif key == gtk.keysyms.e:
- self.set_mode('edit')
- return
- elif key == gtk.keysyms.t:
- self.toolbox.show()
- return
- elif key == gtk.keysyms.y:
- self.toolbox.hide()
- if self.mode:
- self.modeList[ self.mode ].onKeyPress(widget, event)
+ pass
def onKeyRelease(self, widget, event):
- if Config.DEBUG > 5: print 'DEBUG: TamTam::onKeyRelease in TamTam.py'
- self.modeList[ self.mode ].onKeyRelease(widget, event)
pass
def onDestroy(self, arg2):
if Config.DEBUG: print 'DEBUG: TamTam::onDestroy()'
os.system('rm -f ' + Config.PREF_DIR + '/synthTemp*')
- for m in self.modeList:
- if self.modeList[m] != None:
- self.modeList[m].onDestroy()
+ self.mini.onDestroy()
csnd = new_csound_client()
csnd.connect(False)
diff --git a/TamTamMini.activity/po/TamTamMini.pot b/TamTamMini.activity/po/TamTamMini.pot
new file mode 100644
index 0000000..db65448
--- /dev/null
+++ b/TamTamMini.activity/po/TamTamMini.pot
@@ -0,0 +1,423 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-09-13 14:46-0400\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: activity/activity.info:2
+msgid "TamTamMini"
+msgstr ""
+
+#: Mini/miniTamTamMain.py:151 common/Resources/tooltips_en.py:40
+msgid "Play"
+msgstr ""
+
+#: Mini/miniTamTamMain.py:152
+msgid "Record"
+msgstr ""
+
+#: Mini/miniTamTamMain.py:164
+msgid "TamTam"
+msgstr ""
+
+#: Mini/miniToolbars.py:31 common/Resources/tooltips_en.py:114
+msgid "Play / Stop"
+msgstr ""
+
+#: Mini/miniToolbars.py:60 common/Resources/tooltips_en.py:112
+msgid "Balance"
+msgstr ""
+
+#: Mini/miniToolbars.py:83 common/Resources/tooltips_en.py:83
+#: common/Resources/tooltips_en.py:113
+msgid "Reverb"
+msgstr ""
+
+#: Mini/miniToolbars.py:104
+msgid "Record microphone into slot 1"
+msgstr ""
+
+#: Mini/miniToolbars.py:110
+msgid "Record microphone into slot 2"
+msgstr ""
+
+#: Mini/miniToolbars.py:116
+msgid "Record microphone into slot 3"
+msgstr ""
+
+#: Mini/miniToolbars.py:130
+msgid "Click to record a loop"
+msgstr ""
+
+#: Mini/miniToolbars.py:136
+msgid "Click to add a loop"
+msgstr ""
+
+#: Mini/miniToolbars.py:143
+msgid "Click to clear all loops"
+msgstr ""
+
+#: Mini/miniToolbars.py:151
+msgid "Add new sound"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:8
+msgid "Select tool"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:9
+msgid "Draw tool"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:10
+msgid "Paint tool"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:12
+msgid "Generate new tune"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:14
+msgid "Generate page"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:15
+msgid "Page properties"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:16
+msgid "Delete page(s)"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:17
+msgid "Duplicate page(s)"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:18
+msgid "Add page"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:19
+msgid "Beats per page"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:20
+msgid "Save tune"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:21
+msgid "Load tune"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:23
+msgid "Generate track"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:24
+msgid "Track properties"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:25
+msgid "Clear track"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:26
+msgid "Duplicate track"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:28
+msgid "Note(s) properties"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:29
+msgid "Delete note(s)"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:30
+msgid "Duplicate note(s)"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:31 common/Resources/tooltips_en.py:32
+msgid "Move note in time"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:33
+msgid "Lower pitch"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:34
+msgid "Raise pitch"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:35 common/Resources/tooltips_en.py:36
+msgid "Modify duration"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:37
+msgid "Lower volume"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:38
+msgid "Raise volume"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:41
+msgid "Pause"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:42 common/Resources/tooltips_en.py:115
+msgid "Stop"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:43
+msgid "Keyboard recording"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:44
+msgid "Save as .ogg"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:45
+msgid "Rewind"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:46
+msgid "Save to journal and quit"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:48
+msgid "Master volume"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:49 common/Resources/tooltips_en.py:120
+msgid "Tempo"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:51 common/Resources/tooltips_en.py:52
+#: common/Resources/tooltips_en.py:53 common/Resources/tooltips_en.py:54
+#: common/Resources/tooltips_en.py:55
+msgid "Left click to mute, right click to solo"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:58
+msgid "-- Rythm density, | Rythm regularity"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:59
+msgid "-- Pitch regularity, | Pitch maximum step"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:60
+msgid "-- Average duration, | Silence probability"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:61 common/Resources/tooltips_en.py:98
+msgid "Drunk"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:62
+msgid "Drone and Jump"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:63 common/Resources/tooltips_en.py:100
+msgid "Repeater"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:64 common/Resources/tooltips_en.py:101
+msgid "Loop segments"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:65
+msgid "Major scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:66
+msgid "Harmonic minor scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:67
+msgid "Natural minor scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:68
+msgid "Phrygian scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:69
+msgid "Dorian scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:70
+msgid "Lydian scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:71
+msgid "Myxolydian scale"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:72
+msgid "Save preset"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:73
+msgid "Load preset"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:74 common/Resources/tooltips_en.py:117
+msgid "Generate"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:75
+msgid "Close"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:78
+msgid "Transpose up"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:79
+msgid "Transpose down"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:80
+msgid "Volume up"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:81
+msgid "Volume down"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:82
+msgid "Panoramisation"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:84
+msgid "Attack duration"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:85
+msgid "Decay duration"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:86
+msgid "Lowpass filter"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:87
+msgid "Highpass filter"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:88
+msgid "Bandpass filter"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:89
+msgid "Filter cutoff"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:90 common/Resources/tooltips_en.py:91
+#: common/Resources/tooltips_en.py:92 common/Resources/tooltips_en.py:93
+#: common/Resources/tooltips_en.py:94 common/Resources/tooltips_en.py:95
+#: common/Resources/tooltips_en.py:96
+msgid "Open algorithmic generator"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:97
+msgid "Line"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:99
+msgid "Drone and jump"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:102
+msgid "Minimum value"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:103
+msgid "Maximum value"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:104
+msgid "Specific parameter"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:105
+msgid "Apply generator"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:106
+msgid "Cancel"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:111
+msgid "Volume"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:116
+msgid "Left click to record, right click to record on top"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:118
+msgid "Complexity of beat"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:119
+msgid "Beats per bar"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:121
+msgid "Jazz / Rock Kit"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:122
+msgid "African Kit"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:123
+msgid "Arabic Kit"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:124
+msgid "South American Kit"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:125
+msgid "Electronic Kit"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:126
+msgid "Record with the microphone"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:127
+msgid "Open SynthLab to create noise"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:128
+msgid "Record mic into slot 1"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:128
+msgid "Record mic into slot 2"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:128
+msgid "Record mic into slot 3"
+msgstr ""
+
+#: common/Resources/tooltips_en.py:128
+msgid "Record mic into slot 4"
+msgstr ""
diff --git a/TamTamMini.activity/setup.py b/TamTamMini.activity/setup.py
index 5b21f11..87a6a08 100644
--- a/TamTamMini.activity/setup.py
+++ b/TamTamMini.activity/setup.py
@@ -17,5 +17,14 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
from sugar.activity import bundlebuilder
+import shutil
+import os
-bundlebuilder.start('TamTam')
+#We are removing the symlink to common and replacing it with the real common folder
+os.system('unlink common')
+shutil.copytree('../common', 'common')
+
+bundlebuilder.start('TamTamMini')
+#Restore the symlink
+os.system('rm -rf common')
+os.system('ln -s ../common common')