sndobj-devel Mailing List for The Sound Object Library (Page 17)
Status: Abandoned
Brought to you by:
veplaini
This list is closed, nobody may subscribe to it.
2007 |
Jan
(57) |
Feb
(16) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
(8) |
Aug
(24) |
Sep
(12) |
Oct
(4) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(9) |
Feb
(13) |
Mar
(3) |
Apr
(10) |
May
(11) |
Jun
(12) |
Jul
(8) |
Aug
(9) |
Sep
(1) |
Oct
(24) |
Nov
(11) |
Dec
(19) |
2009 |
Jan
(5) |
Feb
(24) |
Mar
(43) |
Apr
(9) |
May
(14) |
Jun
(28) |
Jul
|
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(10) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
2011 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Victor L. <vic...@nu...> - 2007-01-27 23:45:15
|
Great. OK, so I need to fix the 2.6.4 release. It always happens that the right code does not get there. Will do so on Monday. Many thanks to the two of you for checking this one out. Victor > > Well it may not be the problem - but it IS the solution - > YES!!!!!!! (pumps fist and dances around the room.) > Oh the glorious sound of a sine! > > Thanks muchly, > D. > (need to get some sleep: It's been an all-nighter!) > On 28/01/2007, at 8:01 AM, todd ingalls wrote: > > > well, it is probably not the problem, but there is a > > delay between code being checkedin on sourceforge and > > it migrating to anon cvs. anyway - here is the code i > have > > > > > On Jan 27, 2007, at 1:41 PM, sonify wrote: > > > >> > >> On 28/01/2007, at 7:27 AM, sonify wrote: > >> > >>> My build is from CVS code. > >>> D. > >>> > >> Todd, > >> I just figured out that perhaps you meant "the code > from >> developer CVS access" > >> is different from anon. CVS access. My access is of > course anon. >> <SndCoreAudio.cpp> > >> <SndCoreAudio.h> > >> If so, access to your copy of the code (even just > >> SndCoreAudio.cpp) might prove > >> enlightening. > >> > >> Anyway, something comforting about not being the only > soul on the >> planet w. the problem :-) > >> > >> D. > >> > >>> On 28/01/2007, at 7:23 AM, todd ingalls wrote: > >>> > >>>> victor > >>>> one of our students (copied on this email) is having > the same >>>> problem as dave. > >>>> > >>>> i downloaded the 2.6.4 release and also checked out > the code from >>>> developer CVS access. i did a diff on > SndCoreAudio.cpp and noticed >>>> that there are some > differences - so i guess the 2.6.4 release may >>>> still > have the problem that is fixed in the cvs code. this may > >>>> explain why it is working for me and not others who > downloaded the >>>> new release. > >>>> > >>>> > >>>> On Jan 27, 2007, at 12:33 PM, Victor Lazzarini wrote: > >>>> > >>>>> Well, you really did a thorough check. > >>>>> I really can't work out what the problem > >>>>> might be. I can't see that it is a Python > >>>>> version issue, because on other systems I have > >>>>> it on 2.4 and 2.5. > >>>>> > >>>>> I'll try to think of something. Of course you can > >>>>> always try the C++ examples in ./bin. For instance > >>>>> rtschroeder (reverb) and streson(resonator) would > >>>>> work of everything is OK. That'll give us some > indication. >>>>> > >>>>> regards > >>>>> Victor > >>>>> > >>>>>> > >>>>>> Of course one must admit that possibility! > >>>>>> I didn't mention it but I did a _very_ thorough > check of >>>>>> the entire file system using: > >>>>>> > >>>>>> cd / ; $ sudo ls -liR | grep -i libsndobj > >>>>>> > >>>>>> and there is not a single i-node outside > >>>>>> /usr/local/sndobj/ which does not refer to an email > , >>>>>> manual etc file. (I ran the test twice) > >>>>>> > >>>>>> Furthermore when I move the libsndobj etc files > from where >>>>>> scons creates them, > >>>>>> python (import sndobj) fails, so I know I'm dealing > w. >>>>>> the(recently) created builds and not some > >>>>>> obscure reference via $PYTHONPATH or whatever. > >>>>>> > >>>>>> Possible conclusions? > >>>>>> (a) HW error > >>>>>> - other SW works, so unlikely > >>>>>> (b) code error - possibly, but Tony says it works > for him >>>>>> - need to > >>>>>> - test Todd's build on my machine...... > >>>>>> - determine exact SW version combinations > >>>>>> (c) some weird incompatibility problem w. > >>>>>> scons/swig/python > >>>>>> - have returned to sys python 2.3, > >>>>>> - have installed latest scons under 2.3 > >>>>>> - have built pysndobj under 2.3 using > >>>>>> $ cd /usr/local/sndobj ; sudo scons > >>>>>> pythonmodule=yes > >>>>>> > >>>>>> Given the above, would you still put money on it > being a >>>>>> lazy SndObj or relative? > >>>>>> Personally, I doubt it. > >>>>>> D. > >>>>>> > >>>>>> On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: > >>>>>> > >>>>>>> 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 > >>>>>>> >>>>>> > >>>>>> _________________________________________________ > >>>>>> 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 > >>>>> >>>>> > ---------------------------------------------------------- > -------- >>>>> --- > >>>>> ---- > >>>>> 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 > >>> >> > >> _________________________________________________ > >> experimental polymedia: www.avatar.com.au > >> Sonic Communications Research Group, > >> University of Canberra: > www.canberra.edu.au/vc-forum/scrg >> vip=Verbal > Interactivity Project >> > >> > >> > > > > _________________________________________________ > 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 |
From: sonify <so...@av...> - 2007-01-27 22:02:15
|
Well it may not be the problem - but it IS the solution - YES!!!!!!! (pumps fist and dances around the room.) Oh the glorious sound of a sine! Thanks muchly, D. (need to get some sleep: It's been an all-nighter!) On 28/01/2007, at 8:01 AM, todd ingalls wrote: > well, it is probably not the problem, but there is a delay between > code being checkedin on sourceforge and it migrating to anon cvs. > anyway - here is the code i have > > > On Jan 27, 2007, at 1:41 PM, sonify wrote: > >> >> On 28/01/2007, at 7:27 AM, sonify wrote: >> >>> My build is from CVS code. >>> D. >>> >> Todd, >> I just figured out that perhaps you meant "the code from >> developer CVS access" >> is different from anon. CVS access. My access is of course anon. >> <SndCoreAudio.cpp> >> <SndCoreAudio.h> >> If so, access to your copy of the code (even just >> SndCoreAudio.cpp) might prove >> enlightening. >> >> Anyway, something comforting about not being the only soul on the >> planet w. the problem :-) >> >> D. >> >>> On 28/01/2007, at 7:23 AM, todd ingalls wrote: >>> >>>> victor >>>> one of our students (copied on this email) is having the same >>>> problem as dave. >>>> >>>> i downloaded the 2.6.4 release and also checked out the code from >>>> developer CVS access. i did a diff on SndCoreAudio.cpp and noticed >>>> that there are some differences - so i guess the 2.6.4 release may >>>> still have the problem that is fixed in the cvs code. this may >>>> explain why it is working for me and not others who downloaded the >>>> new release. >>>> >>>> >>>> On Jan 27, 2007, at 12:33 PM, Victor Lazzarini wrote: >>>> >>>>> Well, you really did a thorough check. >>>>> I really can't work out what the problem >>>>> might be. I can't see that it is a Python >>>>> version issue, because on other systems I have >>>>> it on 2.4 and 2.5. >>>>> >>>>> I'll try to think of something. Of course you can >>>>> always try the C++ examples in ./bin. For instance >>>>> rtschroeder (reverb) and streson(resonator) would >>>>> work of everything is OK. That'll give us some indication. >>>>> >>>>> regards >>>>> Victor >>>>> >>>>>> >>>>>> Of course one must admit that possibility! >>>>>> I didn't mention it but I did a _very_ thorough check of >>>>>> the entire file system using: >>>>>> >>>>>> cd / ; $ sudo ls -liR | grep -i libsndobj >>>>>> >>>>>> and there is not a single i-node outside >>>>>> /usr/local/sndobj/ which does not refer to an email, >>>>>> manual etc file. (I ran the test twice) >>>>>> >>>>>> Furthermore when I move the libsndobj etc files from where >>>>>> scons creates them, >>>>>> python (import sndobj) fails, so I know I'm dealing w. >>>>>> the(recently) created builds and not some >>>>>> obscure reference via $PYTHONPATH or whatever. >>>>>> >>>>>> Possible conclusions? >>>>>> (a) HW error >>>>>> - other SW works, so unlikely >>>>>> (b) code error - possibly, but Tony says it works for him >>>>>> - need to >>>>>> - test Todd's build on my machine...... >>>>>> - determine exact SW version combinations >>>>>> (c) some weird incompatibility problem w. >>>>>> scons/swig/python >>>>>> - have returned to sys python 2.3, >>>>>> - have installed latest scons under 2.3 >>>>>> - have built pysndobj under 2.3 using >>>>>> $ cd /usr/local/sndobj ; sudo scons >>>>>> pythonmodule=yes >>>>>> >>>>>> Given the above, would you still put money on it being a >>>>>> lazy SndObj or relative? >>>>>> Personally, I doubt it. >>>>>> D. >>>>>> >>>>>> On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: >>>>>> >>>>>>> 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 >>>>>>> >>>>>> >>>>>> _________________________________________________ >>>>>> 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 >>>>> >>>>> ------------------------------------------------------------------ >>>>> --- >>>>> ---- >>>>> 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 >>> >> >> _________________________________________________ >> experimental polymedia: www.avatar.com.au >> Sonic Communications Research Group, >> University of Canberra: www.canberra.edu.au/vc-forum/scrg >> vip=Verbal Interactivity Project >> >> >> > _________________________________________________ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: www.canberra.edu.au/vc-forum/scrg vip=Verbal Interactivity Project |
From: todd i. <tes...@as...> - 2007-01-27 21:01:37
|
well, it is probably not the problem, but there is a delay between code being checkedin on sourceforge and it migrating to anon cvs. anyway - here is the code i have On Jan 27, 2007, at 1:41 PM, sonify wrote: > > On 28/01/2007, at 7:27 AM, sonify wrote: > >> My build is from CVS code. >> D. >> > Todd, > I just figured out that perhaps you meant "the code from > developer CVS access" > is different from anon. CVS access. My access is of course anon. |
From: sonify <so...@av...> - 2007-01-27 20:43:35
|
On 28/01/2007, at 7:27 AM, sonify wrote: > My build is from CVS code. > D. > Todd, I just figured out that perhaps you meant "the code from developer CVS access" is different from anon. CVS access. My access is of course anon. If so, access to your copy of the code (even just SndCoreAudio.cpp) might prove enlightening. Anyway, something comforting about not being the only soul on the planet w. the problem :-) D. > On 28/01/2007, at 7:23 AM, todd ingalls wrote: > >> victor >> one of our students (copied on this email) is having the same >> problem as dave. >> >> i downloaded the 2.6.4 release and also checked out the code from >> developer CVS access. i did a diff on SndCoreAudio.cpp and noticed >> that there are some differences - so i guess the 2.6.4 release may >> still have the problem that is fixed in the cvs code. this may >> explain why it is working for me and not others who downloaded the >> new release. >> >> >> On Jan 27, 2007, at 12:33 PM, Victor Lazzarini wrote: >> >>> Well, you really did a thorough check. >>> I really can't work out what the problem >>> might be. I can't see that it is a Python >>> version issue, because on other systems I have >>> it on 2.4 and 2.5. >>> >>> I'll try to think of something. Of course you can >>> always try the C++ examples in ./bin. For instance >>> rtschroeder (reverb) and streson(resonator) would >>> work of everything is OK. That'll give us some indication. >>> >>> regards >>> Victor >>> >>>> >>>> Of course one must admit that possibility! >>>> I didn't mention it but I did a _very_ thorough check of >>>> the entire file system using: >>>> >>>> cd / ; $ sudo ls -liR | grep -i libsndobj >>>> >>>> and there is not a single i-node outside >>>> /usr/local/sndobj/ which does not refer to an email, >>>> manual etc file. (I ran the test twice) >>>> >>>> Furthermore when I move the libsndobj etc files from where >>>> scons creates them, >>>> python (import sndobj) fails, so I know I'm dealing w. >>>> the(recently) created builds and not some >>>> obscure reference via $PYTHONPATH or whatever. >>>> >>>> Possible conclusions? >>>> (a) HW error >>>> - other SW works, so unlikely >>>> (b) code error - possibly, but Tony says it works for him >>>> - need to >>>> - test Todd's build on my machine...... >>>> - determine exact SW version combinations >>>> (c) some weird incompatibility problem w. >>>> scons/swig/python >>>> - have returned to sys python 2.3, >>>> - have installed latest scons under 2.3 >>>> - have built pysndobj under 2.3 using >>>> $ cd /usr/local/sndobj ; sudo scons >>>> pythonmodule=yes >>>> >>>> Given the above, would you still put money on it being a >>>> lazy SndObj or relative? >>>> Personally, I doubt it. >>>> D. >>>> >>>> On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: >>>> >>>>> 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 >>>>> >>>> >>>> _________________________________________________ >>>> 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 >>> >>> -------------------------------------------------------------------- >>> - >>> ---- >>> 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 > _________________________________________________ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: www.canberra.edu.au/vc-forum/scrg vip=Verbal Interactivity Project |
From: sonify <so...@av...> - 2007-01-27 20:31:08
|
My build is from CVS code. D. On 28/01/2007, at 7:23 AM, todd ingalls wrote: > victor > one of our students (copied on this email) is having the same > problem as dave. > > i downloaded the 2.6.4 release and also checked out the code from > developer CVS access. i did a diff on SndCoreAudio.cpp and noticed > that there are some differences - so i guess the 2.6.4 release may > still have the problem that is fixed in the cvs code. this may > explain why it is working for me and not others who downloaded the > new release. > > > On Jan 27, 2007, at 12:33 PM, Victor Lazzarini wrote: > >> Well, you really did a thorough check. >> I really can't work out what the problem >> might be. I can't see that it is a Python >> version issue, because on other systems I have >> it on 2.4 and 2.5. >> >> I'll try to think of something. Of course you can >> always try the C++ examples in ./bin. For instance >> rtschroeder (reverb) and streson(resonator) would >> work of everything is OK. That'll give us some indication. >> >> regards >> Victor >> >>> >>> Of course one must admit that possibility! >>> I didn't mention it but I did a _very_ thorough check of >>> the entire file system using: >>> >>> cd / ; $ sudo ls -liR | grep -i libsndobj >>> >>> and there is not a single i-node outside >>> /usr/local/sndobj/ which does not refer to an email, >>> manual etc file. (I ran the test twice) >>> >>> Furthermore when I move the libsndobj etc files from where >>> scons creates them, >>> python (import sndobj) fails, so I know I'm dealing w. >>> the(recently) created builds and not some >>> obscure reference via $PYTHONPATH or whatever. >>> >>> Possible conclusions? >>> (a) HW error >>> - other SW works, so unlikely >>> (b) code error - possibly, but Tony says it works for him >>> - need to >>> - test Todd's build on my machine...... >>> - determine exact SW version combinations >>> (c) some weird incompatibility problem w. >>> scons/swig/python >>> - have returned to sys python 2.3, >>> - have installed latest scons under 2.3 >>> - have built pysndobj under 2.3 using >>> $ cd /usr/local/sndobj ; sudo scons >>> pythonmodule=yes >>> >>> Given the above, would you still put money on it being a >>> lazy SndObj or relative? >>> Personally, I doubt it. >>> D. >>> >>> On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: >>> >>>> 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 >>>> >>> >>> _________________________________________________ >>> 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 >> >> --------------------------------------------------------------------- >> ---- >> 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 |
From: todd i. <tes...@as...> - 2007-01-27 20:23:43
|
victor one of our students (copied on this email) is having the same problem as dave. i downloaded the 2.6.4 release and also checked out the code from developer CVS access. i did a diff on SndCoreAudio.cpp and noticed that there are some differences - so i guess the 2.6.4 release may still have the problem that is fixed in the cvs code. this may explain why it is working for me and not others who downloaded the new release. On Jan 27, 2007, at 12:33 PM, Victor Lazzarini wrote: > Well, you really did a thorough check. > I really can't work out what the problem > might be. I can't see that it is a Python > version issue, because on other systems I have > it on 2.4 and 2.5. > > I'll try to think of something. Of course you can > always try the C++ examples in ./bin. For instance > rtschroeder (reverb) and streson(resonator) would > work of everything is OK. That'll give us some indication. > > regards > Victor > >> >> Of course one must admit that possibility! >> I didn't mention it but I did a _very_ thorough check of >> the entire file system using: >> >> cd / ; $ sudo ls -liR | grep -i libsndobj >> >> and there is not a single i-node outside >> /usr/local/sndobj/ which does not refer to an email, >> manual etc file. (I ran the test twice) >> >> Furthermore when I move the libsndobj etc files from where >> scons creates them, >> python (import sndobj) fails, so I know I'm dealing w. >> the(recently) created builds and not some >> obscure reference via $PYTHONPATH or whatever. >> >> Possible conclusions? >> (a) HW error >> - other SW works, so unlikely >> (b) code error - possibly, but Tony says it works for him >> - need to >> - test Todd's build on my machine...... >> - determine exact SW version combinations >> (c) some weird incompatibility problem w. >> scons/swig/python >> - have returned to sys python 2.3, >> - have installed latest scons under 2.3 >> - have built pysndobj under 2.3 using >> $ cd /usr/local/sndobj ; sudo scons >> pythonmodule=yes >> >> Given the above, would you still put money on it being a >> lazy SndObj or relative? >> Personally, I doubt it. >> D. >> >> On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: >> >>> 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 >>> >> >> _________________________________________________ >> 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 > > ---------------------------------------------------------------------- > --- > 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 |
From: sonify <so...@av...> - 2007-01-27 20:05:44
|
On 28/01/2007, at 6:33 AM, Victor Lazzarini wrote: > Well, you really did a thorough check. Yep -=3D that was my Saturday... (paralleled w. watching the tennis*) > I really can't work out what the problem > might be. I can't see that it is a Python > version issue, because on other systems I have > it on 2.4 and 2.5. > Todd will send stuff on Monday - then I can test with that. I'll stick to Python2.3 with this project, just in case until I get =20= something working. > I'll try to think of something. Of course you can > always try the C++ examples in ./bin. For instance > rtschroeder (reverb) and streson(resonator) would > work of everything is OK. That'll give us some indication. > > regards > Victor Thanks for the suggestion. I'll try some. I did try to put some =20 printfs in the ProcOn() code but I couldn't see them through the =20 python interpreter. (I've got rusty C and almost no C++ chops) Would you be kind enough to show me a quick-'n-dirty simple eg of =20 arguments to SndJackIO? many thanks - unfortunately I've got two other build in progress with =20= different types of problems.. very dry, creatively - one needs the patience of an animator in =20 these situations! David *If you like TV tennis (my 1 TV sport indulge) the Aust. Open Men's =20 final (Federer vs Gonzalez) is today (16h00 here =BF=3DGMT+ 5?) and promises to be an extraordinary =20= display. They've both completely dominated their prev. opposition with =20 balletic performances. > >> >> Of course one must admit that possibility! >> I didn't mention it but I did a _very_ thorough check of >> the entire file system using: >> >> cd / ; $ sudo ls -liR | grep -i libsndobj >> >> and there is not a single i-node outside >> /usr/local/sndobj/ which does not refer to an email, >> manual etc file. (I ran the test twice) >> >> Furthermore when I move the libsndobj etc files from where >> scons creates them, >> python (import sndobj) fails, so I know I'm dealing w. >> the(recently) created builds and not some >> obscure reference via $PYTHONPATH or whatever. >> >> Possible conclusions? >> (a) HW error >> - other SW works, so unlikely >> (b) code error - possibly, but Tony says it works for him >> - need to >> - test Todd's build on my machine...... >> - determine exact SW version combinations >> (c) some weird incompatibility problem w. >> scons/swig/python >> - have returned to sys python 2.3, >> - have installed latest scons under 2.3 >> - have built pysndobj under 2.3 using >> $ cd /usr/local/sndobj ; sudo scons >> pythonmodule=3Dyes >> >> Given the above, would you still put money on it being a >> lazy SndObj or relative? >> Personally, I doubt it. >> D. >> >> On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: >> >>> 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. >>>> =46rom the code I worked out that it should be something >>>> like >>>> >>>> outp =3D 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 =3D sndobj.HarmTable() >>>>>>>> osc =3D sndobj.Oscili(tab, 440, 16000) >>>>>>>> #outp =3D sndobj.SndRTIO >>>>>>>> outp =3D sndobj.SndCoreAudio() >>>>>>>> outp.SetOutput(1,osc) >>>>>>>> >>>>>>>> thread =3D 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 =3D 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=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >>>>>>>> _______________________________________________ >>>>>>>> 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=3DVerbal >> 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=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >>>>>>> _______________________________________________ >>>>>>> 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=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >>>>>> _______________________________________________ >>>>>> 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=3DVerbal >> 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=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >>>> _______________________________________________ >>>> 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=3DVerbal 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?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >> _______________________________________________ >> 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=3DVerbal Interactivity Project |
From: Victor L. <vic...@nu...> - 2007-01-27 19:33:50
|
Well, you really did a thorough check. I really can't work out what the problem might be. I can't see that it is a Python version issue, because on other systems I have it on 2.4 and 2.5. I'll try to think of something. Of course you can always try the C++ examples in ./bin. For instance rtschroeder (reverb) and streson(resonator) would work of everything is OK. That'll give us some indication. regards Victor > > Of course one must admit that possibility! > I didn't mention it but I did a _very_ thorough check of > the entire file system using: > > cd / ; $ sudo ls -liR | grep -i libsndobj > > and there is not a single i-node outside > /usr/local/sndobj/ which does not refer to an email, > manual etc file. (I ran the test twice) > > Furthermore when I move the libsndobj etc files from where > scons creates them, > python (import sndobj) fails, so I know I'm dealing w. > the(recently) created builds and not some > obscure reference via $PYTHONPATH or whatever. > > Possible conclusions? > (a) HW error > - other SW works, so unlikely > (b) code error - possibly, but Tony says it works for him > - need to > - test Todd's build on my machine...... > - determine exact SW version combinations > (c) some weird incompatibility problem w. > scons/swig/python > - have returned to sys python 2.3, > - have installed latest scons under 2.3 > - have built pysndobj under 2.3 using > $ cd /usr/local/sndobj ; sudo scons > pythonmodule=yes > > Given the above, would you still put money on it being a > lazy SndObj or relative? > Personally, I doubt it. > D. > > On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: > > > 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 > > > > _________________________________________________ > 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 |
From: todd i. <tes...@as...> - 2007-01-27 17:51:42
|
dave - unfortunately i will not have access to the intel machine until monday. i can send you the libs then. On Jan 27, 2007, at 10:28 AM, sonify wrote: > Of course one must admit that possibility! > I didn't mention it but I did a _very_ thorough check of the entire > file system using: > > cd / ; $ sudo ls -liR | grep -i libsndobj > > and there is not a single i-node outside /usr/local/sndobj/ > which does not refer to an email, manual etc file. (I ran the test > twice) > > Furthermore when I move the libsndobj etc files from where scons > creates them, > python (import sndobj) fails, so I know I'm dealing w. the(recently) > created builds and not some > obscure reference via $PYTHONPATH or whatever. > > Possible conclusions? > (a) HW error > - other SW works, so unlikely > (b) code error - possibly, but Tony says it works for him > - need to > - test Todd's build on my machine...... > - determine exact SW version combinations > (c) some weird incompatibility problem w. scons/swig/python > - have returned to sys python 2.3, > - have installed latest scons under 2.3 > - have built pysndobj under 2.3 using > $ cd /usr/local/sndobj ; sudo scons pythonmodule=yes > > Given the above, would you still put money on it being a lazy SndObj > or relative? > Personally, I doubt it. > D. > > On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: > >> 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 >> > > _________________________________________________ > 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 |
From: sonify <so...@av...> - 2007-01-27 17:35:17
|
Apologies, Todd, for some reason you became Tony..:-) On 28/01/2007, at 4:28 AM, sonify wrote: > ... > (b) code error - possibly, but Tony says it works for him > - need to > - test Todd's build on my machine...... > - determine exact SW version combinations _________________________________________________ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: www.canberra.edu.au/vc-forum/scrg vip=Verbal Interactivity Project |
From: sonify <so...@av...> - 2007-01-27 17:29:30
|
Of course one must admit that possibility! I didn't mention it but I did a _very_ thorough check of the entire file system using: cd / ; $ sudo ls -liR | grep -i libsndobj and there is not a single i-node outside /usr/local/sndobj/ which does not refer to an email, manual etc file. (I ran the test twice) Furthermore when I move the libsndobj etc files from where scons creates them, python (import sndobj) fails, so I know I'm dealing w. the(recently) created builds and not some obscure reference via $PYTHONPATH or whatever. Possible conclusions? (a) HW error - other SW works, so unlikely (b) code error - possibly, but Tony says it works for him - need to - test Todd's build on my machine...... - determine exact SW version combinations (c) some weird incompatibility problem w. scons/swig/python - have returned to sys python 2.3, - have installed latest scons under 2.3 - have built pysndobj under 2.3 using $ cd /usr/local/sndobj ; sudo scons pythonmodule=yes Given the above, would you still put money on it being a lazy SndObj or relative? Personally, I doubt it. D. On 28/01/2007, at 12:22 AM, Victor Lazzarini wrote: > 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 > _________________________________________________ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: www.canberra.edu.au/vc-forum/scrg vip=Verbal Interactivity Project |
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 |
From: sonify <so...@av...> - 2007-01-27 10:08:26
|
Todd, A quick-n-dirty test would be for me to test using use your build of sndobj.so _sndobj and libsndobj.dylib Any chance you could upload it to cvs or somewhere? 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 A wish for even more pain than currently being administered by CS dev :-) David |
From: sonify <so...@av...> - 2007-01-27 09:49:43
|
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 |
From: sonify <so...@av...> - 2007-01-26 23:11:14
|
Before extending sndobj with math functions, it would be as well to test how much more efficient (if at all) this would be to using Numpy, which itself is a linked library written in C and pretty fast, especially for matrix algebra. David On 27/01/2007, at 5:29 AM, Victor Lazzarini wrote: > > > At 18:03 26/01/2007, you wrote: >> victor, >> would there be any particular utility in having a series of SndObj >> that performed math like functions. I am thinking in particular for >> use with python or lisp scripting since they might not be as much use >> in c++. > > Probably useful, if it would speed up calculation. These can be > done in Python OK, but probably less efficiently > >> for instance >> >> class Asin : public SndObj{ >> public: >> >> Asin(SndObj* input, int vecsize=DEF_VECSIZE, float sr=DEF_SR); >> ~Asin(); >> >> short DoProcess(); >> >> }; >> >> Asin::Asin(SndObj* input, int vecsize, float sr): >> SndObj(input, vecsize, sr) { >> } >> >> Asin::~Asin() { >> } >> >> short Asin::DoProcess(){ >> if(!m_error){ >> if(m_input){ >> for(m_vecpos = 0; m_vecpos < m_vecsize; m_vecpos++){ >> if(m_enable) >> m_output[m_vecpos] = asinf(m_input->Output(m_vecpos)); >> else m_output[m_vecpos] = 0.f; >> } >> return 1; >> } else { >> m_error=3; >> return 0; >> } >> } >> else return 0; >> } >> >> might not be the best way to do this in some situations but in others >> it might be necessary. >> >> >> in particular, and excuse my ignorance about python (i am starting to >> learn it, btw), but do SndObj operators get imported in some way? for >> instance would the '+' below be valid in python? >> >> line = Interp(0, 10000, 0.05) >> osc = Oscili(tab, pitch, 0, None, line + .2) > > I don't think that would work in Python. It would not work in > C++ either (you have to keep adding values every control > period). > > However, I never tried the overloaded ops in Python. > > >> for the cffi bindings it is not and really needs some type of Add >> sndobj: >> >> class Add : public SndObj{ >> public: >> >> Add(SndObj* input1, SndObj* input2, int vecsize=DEF_VECSIZE, >> float sr=DEF_SR); >> Add(float input1, SndObj* input2, int vecsize=DEF_VECSIZE, float >> sr=DEF_SR); >> Add(SndObj* input1, float input1, int vecsize=DEF_VECSIZE, float >> sr=DEF_SR); >> ~Add(); >> >> short DoProcess(); >> >> }; >> >> then could be used >> >> (setf line (new_interp 0 10000 .05)) >> (setf osc (new_oscili tab pitch 0 nil (new_add line osc))) >> >> >> i have a bunch of these defined in a basic way - would they be useful >> or merely included just for the benefit of lisp. if the latter than >> maybe i could but them as separate code that SWIG would wrap? > > We can think about it. I'll check what can and can't be done in > Python. > > At the moment, it's the Intel Mac bug that is making me worry. I > really > can't see what the issue is. But then again I only hear reports. > > All the best > > 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 |
From: todd i. <tes...@as...> - 2007-01-26 20:36:14
|
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 |
From: Victor L. <Vic...@nu...> - 2007-01-26 18:29:54
|
At 18:03 26/01/2007, you wrote: >victor, >would there be any particular utility in having a series of SndObj >that performed math like functions. I am thinking in particular for >use with python or lisp scripting since they might not be as much use >in c++. Probably useful, if it would speed up calculation. These can be done in Python OK, but probably less efficiently >for instance > >class Asin : public SndObj{ >public: > > Asin(SndObj* input, int vecsize=DEF_VECSIZE, float sr=DEF_SR); > ~Asin(); > > short DoProcess(); > >}; > >Asin::Asin(SndObj* input, int vecsize, float sr): > SndObj(input, vecsize, sr) { >} > >Asin::~Asin() { >} > >short Asin::DoProcess(){ > if(!m_error){ > if(m_input){ > for(m_vecpos = 0; m_vecpos < m_vecsize; m_vecpos++){ > if(m_enable) > m_output[m_vecpos] = asinf(m_input->Output(m_vecpos)); > else m_output[m_vecpos] = 0.f; > } > return 1; > } else { > m_error=3; > return 0; > } > } > else return 0; >} > >might not be the best way to do this in some situations but in others >it might be necessary. > > >in particular, and excuse my ignorance about python (i am starting to >learn it, btw), but do SndObj operators get imported in some way? for >instance would the '+' below be valid in python? > >line = Interp(0, 10000, 0.05) >osc = Oscili(tab, pitch, 0, None, line + .2) I don't think that would work in Python. It would not work in C++ either (you have to keep adding values every control period). However, I never tried the overloaded ops in Python. >for the cffi bindings it is not and really needs some type of Add >sndobj: > >class Add : public SndObj{ >public: > > Add(SndObj* input1, SndObj* input2, int vecsize=DEF_VECSIZE, >float sr=DEF_SR); > Add(float input1, SndObj* input2, int vecsize=DEF_VECSIZE, float >sr=DEF_SR); > Add(SndObj* input1, float input1, int vecsize=DEF_VECSIZE, float >sr=DEF_SR); > ~Add(); > > short DoProcess(); > >}; > >then could be used > >(setf line (new_interp 0 10000 .05)) >(setf osc (new_oscili tab pitch 0 nil (new_add line osc))) > > >i have a bunch of these defined in a basic way - would they be useful >or merely included just for the benefit of lisp. if the latter than >maybe i could but them as separate code that SWIG would wrap? We can think about it. I'll check what can and can't be done in Python. At the moment, it's the Intel Mac bug that is making me worry. I really can't see what the issue is. But then again I only hear reports. All the best Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Victor L. <Vic...@nu...> - 2007-01-26 14:22:45
|
Dear all, I have released the latest sources for the SndObj library and some PySndObj binaries (for the systems I can build on). Unfortunately the fix for Mac Intel will have to wait until I get a machine. A way round this would be perhaps to use Jack (and SndJackIO), assuming that Jack is working on Intel macs. Anyway, thanks for all your help and suggestions, which made many improvements to the release. Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Victor L. <Vic...@nu...> - 2007-01-25 16:29:13
|
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 |
From: sonify <so...@av...> - 2007-01-25 13:18:07
|
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 |
From: sonify <so...@av...> - 2007-01-25 12:43:37
|
The /Library problem arises partly because the python community (I think on Apple's general advice) recommends against tampering with the distributed version. They keep it as their own 'space' I think this will change in the future and the python community is working on it (them!) to keep the system python up-to-date.. I actually run 3 different versions of python for different projects: 2.3 , 2.4, and 2.5 2.3 is the apple-distributed one /Library/Frameworks/Python.framework/Versions/Current is a symbolic link (ln -s) to a directory, like /Library/Frameworks/Python.framework/Versions//2.4/ which is the top directory for python2.4 so to use Python2.5, I install the library at /Library/Frameworks/Python.framework/Versions//2.5/ and then alter the "Current" symbolic link. So whatever python is appropriate for a particular project, as long as scons looks at /Library/Frameworks/Python.framework/Versions/Current/ it seems to work OK. - David On 25/01/2007, at 8:42 PM, Victor Lazzarini wrote: > I realised that 2.4 ends up in /Library.... and actually added a fix > to SConstruct yesterday. Now you should not need to add the path, > it will find it for you. The confusing thing is that having both > 2.4 and > 2.3 in the same machine might eventually lead to problems. It's > something really messy that OSX has not solved yet. > > I hope that with the SConstruct changes things are a little less > messy. > > But you're right, we are still not at an self-configurable easy-to- > build stage > yet. But I am confident we are better than we were when using > 'make' and will > get there eventually. > > Victor > > At 06:07 25/01/2007, Craig Lewiston wrote: >> I *finally* was able to get sndobj.py successfully generated and >> installed on OSX (10.4.8), with Python 2.4.4 >> >> my initial problem was that I was continually getting this error when >> I would try to 'import sndobj' from the python interpreter: >> >> Traceback (most recent call last): >> File "<stdin>", line 1, in ? >> File >> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ >> site-packages/sndobj.py", >> line 4, in ? >> import _sndobj >> ImportError: Failure linking new module: >> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ >> site-packages/_sndobj.so: >> Library not loaded: lib/libsndobj.dylib >> Referenced from: >> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ >> site-packages/_sndobj.so >> Reason: image not found >> >> >> the default Python that comes with OSX, on my machine, was Python >> 2.3.5. however, i was running Python 2.4.4 from a different >> location. >> i needed this because of other modules i am using with my >> application. it turned out, that in the SConstruct file, the >> variable >> pythonpath needed to be changed from: >> >> pythonpath = '/System/Library/Frameworks/Python.framework' >> (the location of the original Python 2.3.5 install), to: >> >> pythonpath = '/Library/Frameworks/Python.framework' >> (the location of Python 2.4.4.) >> >> however, once i did this, i was still having problems when i'd run >> scons. the build would complete, but no sndobj.py file could be >> found. so, after reading a little bit, i ran scons again with the >> cache disabled: >> >> %scons --cache-disable >> (scons user guide here: http://www.scons.org/doc/HTML/scons- >> user.html) >> >> when i did that, it completely rebuilt SndObj, including generating >> the sndobj.py file, along with its libraries. >> >> still, the problem was that the PySndObj files (sndobj.py, >> _sndobj.so, >> libsndobj.dylib) were not being installed into my Python 2.4.4 >> framework automatically with the scons build. instead, they were >> just >> showing up in the install folder on my desktop, so i had to manually >> install them into my Python framework. from the SConstruct file, as >> far as i can tell, it doesn't look like it's built to install the >> PySndObj files. is this correct? >> >> either way, it's working now. >> >> another issue i notice: in the SConstruct file, in the general >> configuration section, the indenting seemed to be very complicated. >> is there a reason for this? i know that indenting is crucial to >> proper python execution, and the mixed spaces and tabs in that >> section >> really confused. one of the reason i bring this up is because even >> though i had set pythonpath in the code, when i ran: >> >> %scons -h >> >> i got a printout with an 'actual' value of pythonpath to be blank. >> so, i had to manually set python by running >> >> %scons pythonpath=/Library/Frameworks/Python.framework >> >> of course, i was running scons so many times that maybe this is some >> error on my part. either way, i wanted to see if anyone else had >> notice the indenting in that section, and could possibly explain it. >> >> all that said, i'm curious to know what other people on this list are >> using SndObj for in their Python applications. my current >> application >> is a Tkinter-based GUI that takes incoming signals from a USB >> prototype keyboard and turns those into sound. it's basically a MIDI >> controller, without the MIDI. >> >> ok. thanks for getting back to me. >> >> -craig >> >> >> On 1/23/07, akonsu <ak...@gm...> wrote: >>> Hello, >>> >>> you can build it from source for your version. it looks like you are >>> on osx, so it should work. it worked for me on openbsd, osx is even >>> easier. >>> >>> konstantin >>> >>> 2007/1/23, sonify <so...@av...>: >>>> Hi Craig, >>>> What architecture/ operating system? >>>> >>>> >>>> On 23/01/2007, at 10:39 AM, Craig Lewiston wrote: >>>> >>>>> I've been having trouble getting SndObj to work in Python, >>>>> before I >>>>> finally realized that the current release is only built for Python >>>>> 2.3. I changed my PATH to point to the Apple's default Python >>>>> install >>>>> (2.3.5), and SndObj worked great within Python. The problem >>>>> is, my >>>>> current application that I'm trying to add sound to uses other >>>>> external modules that are only compatible with at least Python >>>>> 2.4. >>>>> >>>>> Is there a way I can build SndObj for Python 2.4? Do you only >>>>> have to >>>>> alter _sndobj.so to link to Python 2.4 on the system, or is there >>>>> something more fundamental that needs to be done? >>>>> >>>>> thanks, >>>>> craig >>>>> >>>>> ------------------------------------------------------------------ >>>>> ---- >>>>> --- >>>>> 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 >>>> >>> >> >> --------------------------------------------------------------------- >> ---- >> 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 |
From: Victor L. <Vic...@nu...> - 2007-01-25 11:10:48
|
I'd say it's OK in terms of efficiency. I would move the PushIn to outside the inner loop and call it with DEF_VECSIZE, so you are consuming more samples per function call. You will need to make 'sample' a block of floats. Since you are not doing any function calls in the inner loop, it's probably as efficient as using a SndObj (or even more). Victor At 10:53 25/01/2007, Rory Walsh wrote: >Am I correct to assume that the following code which uses SndObj's >PushIn() method is just as efficient as writing a simple class and >calling it's DoProcess()? > > >int main(int argc, char** argv) >{ >int dur = 10; >float* sample; >float index; >float incr; >int freq=420; >int length = 256; >float table[256]; > >SndObj test; >SndRTIO output(1, SND_OUTPUT); >SndObj mySndObj(&test); >output.SetOutput(1, &mySndObj); > >for(int i=0; i < length; i++) >table[i] = sin(i*2*PI/length); > >for(int i=0; i<dur*(DEF_SR/DEF_VECSIZE); i++) > { > for(int y=0;y<DEF_VECSIZE;y++) > { > *sample = 10000*table[(int)index]; > incr = freq*length/DEF_SR; > index += incr; > while(index >= length) index -= length; > while(index < 0) index += length; > mySndObj.PushIn(sample, 1); > } > output.Write(); > } >return 1; >} > >I'm aware of the different oscillator classes available in the SndObj >library, and obviously building a simple class would be more elegant, >this is just something I'm preparing for pedagogic purposes. Cheers, > >Rory. > > >------------------------------------------------------------------------- >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 |
From: Rory W. <ror...@ea...> - 2007-01-25 10:53:56
|
Am I correct to assume that the following code which uses SndObj's PushIn() method is just as efficient as writing a simple class and calling it's DoProcess()? int main(int argc, char** argv) { int dur = 10; float* sample; float index; float incr; int freq=420; int length = 256; float table[256]; SndObj test; SndRTIO output(1, SND_OUTPUT); SndObj mySndObj(&test); output.SetOutput(1, &mySndObj); for(int i=0; i < length; i++) table[i] = sin(i*2*PI/length); for(int i=0; i<dur*(DEF_SR/DEF_VECSIZE); i++) { for(int y=0;y<DEF_VECSIZE;y++) { *sample = 10000*table[(int)index]; incr = freq*length/DEF_SR; index += incr; while(index >= length) index -= length; while(index < 0) index += length; mySndObj.PushIn(sample, 1); } output.Write(); } return 1; } I'm aware of the different oscillator classes available in the SndObj library, and obviously building a simple class would be more elegant, this is just something I'm preparing for pedagogic purposes. Cheers, Rory. |
From: Victor L. <Vic...@nu...> - 2007-01-25 09:43:04
|
I realised that 2.4 ends up in /Library.... and actually added a fix to SConstruct yesterday. Now you should not need to add the path, it will find it for you. The confusing thing is that having both 2.4 and 2.3 in the same machine might eventually lead to problems. It's something really messy that OSX has not solved yet. I hope that with the SConstruct changes things are a little less messy. But you're right, we are still not at an self-configurable easy-to-build stage yet. But I am confident we are better than we were when using 'make' and will get there eventually. Victor At 06:07 25/01/2007, Craig Lewiston wrote: >I *finally* was able to get sndobj.py successfully generated and >installed on OSX (10.4.8), with Python 2.4.4 > >my initial problem was that I was continually getting this error when >I would try to 'import sndobj' from the python interpreter: > >Traceback (most recent call last): > File "<stdin>", line 1, in ? > File > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/sndobj.py", >line 4, in ? > import _sndobj >ImportError: Failure linking new module: >/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_sndobj.so: >Library not loaded: lib/libsndobj.dylib > Referenced from: >/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_sndobj.so > Reason: image not found > > >the default Python that comes with OSX, on my machine, was Python >2.3.5. however, i was running Python 2.4.4 from a different location. > i needed this because of other modules i am using with my >application. it turned out, that in the SConstruct file, the variable >pythonpath needed to be changed from: > >pythonpath = '/System/Library/Frameworks/Python.framework' >(the location of the original Python 2.3.5 install), to: > >pythonpath = '/Library/Frameworks/Python.framework' >(the location of Python 2.4.4.) > >however, once i did this, i was still having problems when i'd run >scons. the build would complete, but no sndobj.py file could be >found. so, after reading a little bit, i ran scons again with the >cache disabled: > >%scons --cache-disable >(scons user guide here: http://www.scons.org/doc/HTML/scons-user.html) > >when i did that, it completely rebuilt SndObj, including generating >the sndobj.py file, along with its libraries. > >still, the problem was that the PySndObj files (sndobj.py, _sndobj.so, >libsndobj.dylib) were not being installed into my Python 2.4.4 >framework automatically with the scons build. instead, they were just >showing up in the install folder on my desktop, so i had to manually >install them into my Python framework. from the SConstruct file, as >far as i can tell, it doesn't look like it's built to install the >PySndObj files. is this correct? > >either way, it's working now. > >another issue i notice: in the SConstruct file, in the general >configuration section, the indenting seemed to be very complicated. >is there a reason for this? i know that indenting is crucial to >proper python execution, and the mixed spaces and tabs in that section >really confused. one of the reason i bring this up is because even >though i had set pythonpath in the code, when i ran: > >%scons -h > >i got a printout with an 'actual' value of pythonpath to be blank. >so, i had to manually set python by running > >%scons pythonpath=/Library/Frameworks/Python.framework > >of course, i was running scons so many times that maybe this is some >error on my part. either way, i wanted to see if anyone else had >notice the indenting in that section, and could possibly explain it. > >all that said, i'm curious to know what other people on this list are >using SndObj for in their Python applications. my current application >is a Tkinter-based GUI that takes incoming signals from a USB >prototype keyboard and turns those into sound. it's basically a MIDI >controller, without the MIDI. > >ok. thanks for getting back to me. > >-craig > > >On 1/23/07, akonsu <ak...@gm...> wrote: > > Hello, > > > > you can build it from source for your version. it looks like you are > > on osx, so it should work. it worked for me on openbsd, osx is even > > easier. > > > > konstantin > > > > 2007/1/23, sonify <so...@av...>: > > > Hi Craig, > > > What architecture/ operating system? > > > > > > > > > On 23/01/2007, at 10:39 AM, Craig Lewiston wrote: > > > > > > > I've been having trouble getting SndObj to work in Python, before I > > > > finally realized that the current release is only built for Python > > > > 2.3. I changed my PATH to point to the Apple's default Python install > > > > (2.3.5), and SndObj worked great within Python. The problem is, my > > > > current application that I'm trying to add sound to uses other > > > > external modules that are only compatible with at least Python 2.4. > > > > > > > > Is there a way I can build SndObj for Python 2.4? Do you only have to > > > > alter _sndobj.so to link to Python 2.4 on the system, or is there > > > > something more fundamental that needs to be done? > > > > > > > > thanks, > > > > craig > > > > > > > > ---------------------------------------------------------------------- > > > > --- > > > > 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 > > > > > > >------------------------------------------------------------------------- >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 |
From: Victor L. <Vic...@nu...> - 2007-01-25 09:32:36
|
David, I think your error is because the CVS found conflicts during merge, you will see a <<<<<<<<<<<<<<<<<< and a =================== that CVS added to the file. I suggest a fresh checkout. I will add your suggestion, thanks! Victor At 23:58 24/01/2007, sonify wrote: >Hi Victor, >I get a build error on intel OSX 10.4.8: > >>g++ -O3 -fPIC -DWORDS_LITTLEENDIAN -DMACOSX -DJACK -Iinclude - >>Iinclude/rfftw -I/system/library/Frameworks/CoreAudio.framework/ Headers >>-c -o src/SndCoreAudio.os src/SndCoreAudio.cpp >>src/SndCoreAudio.cpp:225: error: expected unqualified-id before >>'<<' token >>src/SndCoreAudio.cpp:256: error: expected unqualified-id before >>'==' token >>scons: *** [src/SndCoreAudio.os] Error 1 >>scons: building terminated because of errors. > >May I suggest a little addition to the SConstruct script to alert >people to which version of python is being used. > >Before the line: > > if not msvctools: >(at about line 180) >insert > print "python version:", getVersion() > >BTW I'm building under python 2.4 OK. I'll post on this further if >there's a need. > >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 > > Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |