Re: [Sndobj-devel] SndCoreAudio fixes
Status: Abandoned
Brought to you by:
veplaini
From: Victor L. <vic...@nu...> - 2007-01-27 13:22:14
|
I reckon you might have an old SndObj lib or _sndobj.so lying around in your machine. > > I've checked that out to no effect. In fact I've even gone > back and rebuilt scons with python 2.3, rebuilt sndobj > under python2.3 and used the same python to execute the > test. The ball.py example also bombs on ProcOn() > > I tried to test with Jack as Victor suggested but couldn't > find any manual reference to it. > From the code I worked out that it should be something > like > > outp = sndobj.SndJackIO("whatgoeshere", 1, > sndobj.SND_OUTPUT) > > perhaps a simple example of use would help and I'll work > it into the manual as well. > > for the record, I am instantiating python from > /usr/local/sndobj/ python under su permissions to ensure > that it's not a file permissions block. > How frustrating.... > > Tony - what version of python and is it MacPython or the > standard issue? > > David > > On 27/01/2007, at 7:35 AM, todd ingalls wrote: > > > Hi everyone, > > I grabbed a fresh copy of the source from cvs this > > morning and built SndObj and PySndObj on an intel mac. > > SndCoreAudio seems to be working properly from me and > > i tried the exact same example as below in python and > it worked properly. > > > david, is it possible you have some outdated builds of > > libsndobj or _sndobj.so somewhere that are being > loaded? > > > > > On Jan 25, 2007, at 9:28 AM, Victor Lazzarini wrote: > > > >> hmmm. I really can't debug it without a machine. Have > to get >> one urgently. > >> > >> Victor > >> > >> At 13:17 25/01/2007, sonify wrote: > >>> New CVS compiled OK on OSX10.4.8 > >>> With this in mind: > >>>> import time > >>>> import sndobj > >>>> tab = sndobj.HarmTable() > >>>> osc = sndobj.Oscili(tab, 440, 16000) > >>>> #outp = sndobj.SndRTIO > >>>> outp = sndobj.SndCoreAudio() > >>>> outp.SetOutput(1,osc) > >>>> > >>>> thread = sndobj.SndThread() > >>>> thread.AddObj(outp, sndobj.SNDIO_OUT) > >>>> thread.AddObj(osc) > >>>> thread.ProcOn() > >>>> time.sleep(15) > >>>> thread.ProcOff() > >>>> thread.ProcOn() > >>> returns a "bus error" exception and bombs. If I > remember correctly, >>> it used to bomb on > >>>> outp = sndobj.SndCoreAudio() > >>> > >>> how that helps, > >>> > >>> David > >>> > >>> On 25/01/2007, at 3:28 AM, Victor Lazzarini wrote: > >>> > >>>> Dear all, > >>>> > >>>> I have committed to CVS some fixes to SndCoreAudio to > handle non- >>>> interleaved > >>>> audio. I am wondering whether that was the problem > with Intel >>>> hardware. If the audio device required > non-interleaved audio, it >>>> would not have > >>>> worked. Would anyone care to test it? > >>>> > >>>> On the other hand the problem might be somewhere > else... >>>> > >>>> Victor Lazzarini > >>>> Music Technology Laboratory > >>>> Music Department > >>>> National University of Ireland, Maynooth > >>>> > >>>> > >>>> > ---------------------------------------------------------- > --------- >>>> --- > >>>> --- > >>>> 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 > >>>> >>> > >>> _________________________________________________ > >>> experimental polymedia: www.avatar.com.au > >>> Sonic Communications Research Group, > >>> University of Canberra: > www.canberra.edu.au/vc-forum/scrg >>> vip=Verbal > Interactivity Project >>> > >>> > >>> > >>> > >>> > ---------------------------------------------------------- > ---------- >>> ----- > >>> 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 > >> >> Victor Lazzarini > >> Music Technology Laboratory > >> Music Department > >> National University of Ireland, Maynooth > >> > >> > >> > ---------------------------------------------------------- > ----------- >> ---- > >> 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 > > > > _________________________________________________ > experimental polymedia: www.avatar.com.au > Sonic Communications Research Group, > University of Canberra: > www.canberra.edu.au/vc-forum/scrg vip=Verbal Interactivity > Project > > > > > ---------------------------------------------------------- > --------------- 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 |