Line 1: |
Line 1: |
− | <noinclude>[[Category:Activities|Tam Tam]]</noinclude> | + | <noinclude>[[Category:Activities|TamTam]]</noinclude> |
− | ==Tam Tam developers' page== | + | ==Overview== |
| | | |
− | ===Overview===
| + | TamTam is a suite of four music and sound related activities for the XO. TamTam is written in python with some C functions for speed-critical services. The audio engine for TamTam is Csound. |
| | | |
− | TamTam is a suite of four music and sound related activities for the XO. TamTam is written in python with some C functions for speed-critical services. The audio engine for TamTam is Csound.
| + | == Build from sources == |
| + | |
| + | In Terminal activity, install some necessary software: |
| + | |
| + | sudo yum install git csound-devel alsa-lib-devel python-devel make gcc-c++ |
| | | |
− | === Build from sources ===
| + | If you are building a development environment on Ubuntu or Linux Mint, install the following packages instead: |
| | | |
− | In Terminal activity, launch:
| + | sudo apt-get install git libcsound64-dev python-dev make g++ |
| | | |
− | sudo yum install git csound-devel alsa-lib-devel python-devel make
| + | libcsound64-dev is not actually sufficiently up to date in the Ubuntu repository, so it may be necessary to build [https://github.com/csound/csound/ csound] from source on Ubuntu or Mint before building TamTam. |
| | | |
| Clone the sources and build binaries: | | Clone the sources and build binaries: |
| | | |
| mkdir -p ~/Activities | | mkdir -p ~/Activities |
− | git clone --depth 1 git://git.sugarlabs.org/tamtam-branch/mainline.git ~/Activities/tamtam | + | git clone --depth 1 https://github.com/godiard/tamtam.git ~/Activities/tamtam |
| + | git fetch |
| + | git checkout -b sugar-0.94 sugar-0.94 |
| cd ~/Activities/tamtam/common/Util/Clooper | | cd ~/Activities/tamtam/common/Util/Clooper |
| make | | make |
| + | |
| + | Branch sugar-0.94 have the gtk2 version, master branch have a unfinished port to Gtk3. |
| | | |
| If make was successful, create symlinks to all TamTam activities: | | If make was successful, create symlinks to all TamTam activities: |
| | | |
− | cd ~/Activities | + | cd ~/Activities/tamtam |
− | rm -rf TamTam*.activity | + | ./setup.py dev |
− | ln -s tamtam/*activity .
| |
− | | |
− | === Share built TamTam ===
| |
− | | |
− | Go to the directory with one of four TamTam activities you want to copy, e.g.:
| |
− | | |
− | cd ~/Activities/TamTamMini.activity
| |
− | | |
− | Create .xo bundle:
| |
| | | |
− | ./setup.py dist_xo
| + | == Bundling from Sweets == |
| | | |
− | Copy built .xo bundles to the sugar Journal:
| + | If you are using [[Platform_Team/Sweets|Sweets]] you can bundle your changes with the following command line: |
| | | |
− | copy-to-journal -m application/vnd.olpc-sugar dist/*.xo | + | sweets bind sdk/sugar ./setup.py dist_xo |
| | | |
− | Drag and drop copied .xo bundle from Journal to, e.g., USB stick.
| + | This can be done in the root of tamtam sources. |
| | | |
− | ===Resources===
| + | ==Resources== |
| | | |
| + | * [[Tam Tam Resources]] - Learner resources |
| * [http://git.sugarlabs.org/projects/tamtam-branch Sources] | | * [http://git.sugarlabs.org/projects/tamtam-branch Sources] |
| * Sugar Activity Library pages: | | * Sugar Activity Library pages: |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4059 TamTamEdit] | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4059 TamTam Edit] |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4060 TamTamJam] | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4060 TamTam Jam] |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4061 TamTamMini] | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4061 TamTam Mini] |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4062 TamTamSynthLab] | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4062 TamTam SynthLab] |
− | * [http://wiki.laptop.org/go/TamTam TamTam on OLPC wiki] | + | * [[olpc:TamTam|TamTam on OLPC wiki]] |
| * Trac tickets: [http://dev.laptop.org/query?component=tamtam-activity&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority OLPC], [http://bugs.sugarlabs.org/query?component=TamTam&col=id&col=summary&col=component&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority Sugar Labs] | | * Trac tickets: [http://dev.laptop.org/query?component=tamtam-activity&col=id&col=summary&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority OLPC], [http://bugs.sugarlabs.org/query?component=TamTam&col=id&col=summary&col=component&col=type&col=status&col=priority&col=milestone&col=time&col=changetime&order=priority Sugar Labs] |