Re: [Sndobj-devel] does SndJackIO needs fixing on intel Mac?
Status: Abandoned
Brought to you by:
veplaini
From: Victor L. <vic...@nu...> - 2007-01-28 09:37:42
|
Looks correct, but I am afraid I have not tested Jack on OSX extensively. I assume your Jack server is up and running. I'll look into the Jack thing on Monday. Regards Victor > > 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... > > > > > ---------------------------------------------------------- > --------------- Take Surveys. Earn Cash. Influence the > Future of IT Join SourceForge.net's Techsay panel and > you'll get the chance to share your opinions on IT & > business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |