wang1986one / pyo

Automatically exported from code.google.com/p/pyo
GNU General Public License v3.0
0 stars 0 forks source link

PYO segmentation fault VoiceManager #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using pyo 0.6.4 on OSX 10.8.3 with python 2.7.2

example from docs VoiceManager (see below) gives error and quits:

Segmentation fault: 11

------------
from pyo import *
s = Server().boot()
s.start()
env = CosTable([(0,0),(100,1),(500,.5),(8192,0)])
delta = RandDur(min=.05, max=.1)
vm = VoiceManager(Change(delta))
sel = Select(vm, value=[0,1,2,3])
pit = TrigChoice(sel, choice=[midiToHz(x) for x in [60,63,67,70,72]])
amp = TrigEnv(sel, table=env, dur=.5, mul=.25)
synth1 = SineLoop(pit, feedback=.07, mul=amp).out()
vm.setTriggers(amp["trig"])
s.gui(locals())
------------

Original issue reported on code.google.com by stokhuy...@gmail.com on 27 Mar 2013 at 2:04

GoogleCodeExporter commented 9 years ago
It's already fixed in the sources. Will be in 0.6.5!

Original comment by belan...@gmail.com on 11 Apr 2013 at 10:25