[Sndobj-devel] does SndJackIO needs fixing on intel Mac?
Status: Abandoned
Brought to you by:
veplaini
From: sonify <so...@av...> - 2007-01-28 05:58:10
|
Not sure if this is syntactically correct. Please check it. > # PySndObj Jack example > import sndobj > import time > tab = sndobj.HarmTable() > osc = sndobj.Oscili(tab, 440, 16000) > oput = sndobj.SndJackIO('sine') > oput.SetOutput(1, osc) > > # then either > thread = sndobj.SndThread() > thread.AddObj(osc) > thread.AddObj(oput, sndobj.SNDIO_OUT) > thread.ProcOn() > time.sleep(5) > thread.ProcOff() > > # or > osc.DoProcess() > oput.Write() > time.sleep(5) > del jack > del osc It bombs on intel Mac on oput assignment, ie the line > oput = sndobj.SndJackIO('sine') produced our old favourite: bus error. Dave _____________________________ David Worrall: so...@av... |