Difference between revisions of "Activities/TamTam"

From Sugar Labs
Jump to navigation Jump to search
m (FGrose moved page Activities/Tam Tam to Activities/TamTam: restore to original name)
 
(2 intermediate revisions by 2 users not shown)
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 ===
+
== Build from sources ==
  
 
In Terminal activity, install some necessary software:
 
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://git.sugarlabs.org/tamtam/tamtam.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:
Line 37: 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 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]
 
* [[olpc: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]

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