Activities/TamTam

From Sugar Labs
< Activities
Revision as of 19:21, 3 September 2011 by FGrose (talk | contribs)
Jump to navigation Jump to search

Tam Tam developers' page

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, launch:

sudo yum install git csound-devel alsa-lib-devel python-devel make gcc-c++

Clone the sources and build binaries:

mkdir -p ~/Activities
git clone --depth 1 git://git.sugarlabs.org/tamtam-branch/mainline.git ~/Activities/tamtam
cd ~/Activities/tamtam/common/Util/Clooper
make

If make was successful, create symlinks to all TamTam activities:

cd ~/Activities
rm -rf TamTam*.activity
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

Copy built .xo bundles to the sugar Journal:

copy-to-journal -m application/vnd.olpc-sugar dist/*.xo

Drag and drop copied .xo bundle from Journal to, e.g., USB stick.

Resources