~ubuntu-branches/ubuntu/quantal/python-pyo/quantal

« back to all changes in this revision

Viewing changes to examples/matrix/01_wave_terrain.py

  • Committer: Package Import Robot
  • Author(s): Tiago Bortoletto Vaz
  • Date: 2012-07-03 23:45:41 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120703234541-jh5jg00lvljnwq8m
Tags: 0.6.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
from pyo import *
8
8
import random, math
9
9
 
10
 
s = Server(sr=44100, nchnls=2, buffersize=512, duplex=1).boot()
 
10
s = Server(sr=44100, nchnls=2, buffersize=512, duplex=0).boot()
11
11
 
12
12
def terrain(size=256, freq=1, phase=16):
13
13
    l = []