Difference between revisions of "Activities/TamTam"
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>[[Category:Activities| | + | <noinclude>[[Category:Activities|TamTam]]</noinclude> |
− | + | ==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, | + | In Terminal activity, install some necessary software: |
sudo yum install git csound-devel alsa-lib-devel python-devel make gcc-c++ | sudo yum install git csound-devel alsa-lib-devel python-devel make gcc-c++ | ||
+ | |||
+ | If you are building a development environment on Ubuntu or Linux Mint, install the following packages instead: | ||
+ | |||
+ | sudo apt-get install git libcsound64-dev python-dev make g++ | ||
+ | |||
+ | 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 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: | ||
Line 23: | Line 31: | ||
cd ~/Activities/tamtam | cd ~/Activities/tamtam | ||
./setup.py dev | ./setup.py dev | ||
+ | |||
+ | == Bundling from Sweets == | ||
+ | |||
+ | If you are using [[Platform_Team/Sweets|Sweets]] you can bundle your changes with the following command line: | ||
+ | |||
+ | sweets bind sdk/sugar ./setup.py dist_xo | ||
+ | |||
+ | This can be done in the root of tamtam sources. | ||
==Resources== | ==Resources== | ||
Line 29: | Line 45: | ||
* [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 | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4059 TamTam Edit] |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4060 | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4060 TamTam Jam] |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4061 | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4061 TamTam Mini] |
− | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4062 | + | ** [http://activities.sugarlabs.org/en-US/sugar/addon/4062 TamTam SynthLab] |
− | * [ | + | * [[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] |
Latest revision as of 15:59, 6 January 2015
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.
Build from sources
In Terminal activity, install some necessary software:
sudo yum install git csound-devel alsa-lib-devel python-devel make gcc-c++
If you are building a development environment on Ubuntu or Linux Mint, install the following packages instead:
sudo apt-get install git libcsound64-dev python-dev make g++
libcsound64-dev is not actually sufficiently up to date in the Ubuntu repository, so it may be necessary to build csound from source on Ubuntu or Mint before building TamTam.
Clone the sources and build binaries:
mkdir -p ~/Activities 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 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:
cd ~/Activities/tamtam ./setup.py dev
Bundling from Sweets
If you are using Sweets you can bundle your changes with the following command line:
sweets bind sdk/sugar ./setup.py dist_xo
This can be done in the root of tamtam sources.
Resources
- Tam Tam Resources - Learner resources
- Sources
- Sugar Activity Library pages:
- TamTam on OLPC wiki
- Trac tickets: OLPC, Sugar Labs