pksampler-devel Mailing List for the pksampler project
Status: Beta
Brought to you by:
patrickkidd
You can subscribe to this list here.
2005 |
Jan
|
Feb
(28) |
Mar
(12) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(34) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Patrick S. <pat...@gm...> - 2007-04-18 21:11:50
|
On 4/18/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > On Dimecres 18 Abril 2007, Patrick Stinson wrote: > > Sounds cool. I had a look at the links about creating good transparent > > povray widgets. It would take a little getting used to, but the > > workflow could be automated and integrated into the python-based > > solution that I already started with the pk.povray package, and > > respective rendering tools in repos/resources. We are using > > alpha-blended widgets with Play, and they are great to work with. > > Great news. So you finished the release, didn't you? ;-) We've got another month of PLANNED work. who knows when we get to chill out a little. > > I am just casting transparent shadows on QSynth knobs. It was easier to d= o > than with povray. Of course the effect is not the same but it is cool. Ch= eck > the last screenshots. > http://iua-share.upf.edu/wikis/clam/images/5/58/Qsynth-knobs-shadows2.png > http://iua-share.upf.edu/wikis/clam/images/4/43/Qsynth-knobs-shadows1.png > > Not 3D but almost ;-) Cool. Once you get some interface stability it would be nice to work towards some continuity as well. Developing the semi-transparent widget method would help a lot, so you could get rid of the old 136, 136, 136 that all my stuff uses. My Allen and Heath xone:3D mixer uses black plastic with white indicators for all of it's controls - jog wheels, faders, knobs, buttons, etc. Obviously this only makes sense if you are building a toolkit or one app, but it appears that that is what you are trying to do. > > > There are some things that need to be cleaned up with the widgets > > along the lines of cleaner implementation. I have a few different > > implementations for the knob that rely on modifier keys and make it a > > little easier to get course and fine adjustments. The pixmap frames > > for the pk.widgets.povwidgets should be all in one file instead of > > separated out like they are in the implementation that you got from > > me. This provides for resource and memory footprint. > > Modifier keys are really a good idea. > > > Also, the next thing I'd like to do is have a look at using python in > > common audio plugin hosts. This will mostly involve project templates, > > but that would kill two birds with one stone: using Qt with VST, and > > AU, and using PyQt with them as well. > > Did i tell you we are also very much interested in mixing Qt and VST. Sur= e, i > did. We want to extend the prototyper idea to VST plugins. We have the > processing part solved but we lack a way of running the Qt interface. Dro= p us > a line as soon as you start addressing such problem. > Actually, as far as I know all you have to do is create a QApplication, then use QWidget *QWidget::create(WId) to create the window. There is no event translation required. Be prepared for inconsistent behavior between window systems, though. That's what I'm working on at the moment. > > fun stuff, and all in good time... > > Definitely. :-) > > > > On 4/18/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > Any enhancement would be really very wellcome, Patrick. > > > > > > I am starting to adapt also widgets from Rui Nuno Capella and Pedro L= opez > > > Cabanillas (QSynth/Qtractor/QJackCtl...), and Chris Cannam > > > (SonicVisualizer,Rosegarden...). Let's make Linux interfaces cool ;-) > > > > > > David. > > > > > > On Dimecres 18 Abril 2007, Patrick Stinson wrote: > > > > I just had a look at some of the screenshots. Good greif! I thouht = I > > > > recognized those widgets...I wish I had some time to play with it a= nd > > > > make it better... > > > > > > > > On 4/12/07, Patrick Stinson <pat...@gm...> wrote: > > > > > On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > > > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > > > > > > I did some experiments by changing parameters such as color= s > > > > > > > > and size of buttons, and works pretty well. :-) I need to k= now > > > > > > > > how to crop them but i am on the track. > > > > > > > > > > > > > > Right. I wrote a tool to do that a while ago, but it isn't in= my > > > > > > > repository anymore because I took a different direction with = the > > > > > > > widgets I have now. I could write it again in a day or less i= f I > > > > > > > wasn't so busy... We release early june (hopefully) and this > > > > > > > stuff would be fun to get back into then (no promises!) > > > > > > > > > > > > Nice to know. If i need it before i think i could do it myself. > > > > > > > > > > > > > > What i miss is some way of making the background transparen= t. > > > > > > > > Adding pkwidgets to an interface forces you to use the widg= et > > > > > > > > background for all the interface to avoid awkward aspect. B= y > > > > > > > > having an alpha background we could remove this limitation.= I > > > > > > > > spotted several interesting links: > > > > > > > > http://www.imagico.de/pov/icons.html > > > > > > > > http://www.econym.demon.co.uk/shadowtut/index.htm > > > > > > > > > > > > > > This was one of two major problems I never tackled.. I though= t > > > > > > > about using some sort of mask, but I'm not sure. The purest w= ay > > > > > > > would be to get povray to do it, but I haven't looked into it= . If > > > > > > > it isn't immediately possible using the povray docs, then a p= ost > > > > > > > to the povray mailing list and/or community forums would prob= ably > > > > > > > be worth it. If not, creating some sort of mask might be the = way > > > > > > > to go, but that would be difficult with the shadow. > > > > > > > > > > > > Have you checked the links? Ok, you are in release ;-) i can ju= st > > > > > > describe them, they explain how to do icons with alpha by doing= 2 > > > > > > or 3 povray runs with different parameters. By doing that we co= uld > > > > > > get some alpha shadowed backgrounds. I promise to get on that, > > > > > > well, if you don't before ;-) > > > > > > > > > > you probably will before me > > > > > > > > > > > > > > Keep me informed how your work goes. I'm glad to hear my = code > > > > > > > > > helped. > > > > > > > > > > > > > > > > At the moment i'll use the existing widgets and pixmaps and > > > > > > > > i'll extend both as i need more. Our packaging must not to = be > > > > > > > > changed for that. Eventually i would like to integrate thin= gs > > > > > > > > further and porting other widgets. So let's talk then. I'll > > > > > > > > keep you informed. Warn me also when your release is over a= nd > > > > > > > > lets chat a little. > > > > > > > > > > > > > > I may not remember (we are REALLY busy), so drop me another l= ine > > > > > > > if I don't get back to you. This is what we are working on: > > > > > > > www.soundsonline.com. > > > > > > > > > > > > > > Are you doing anything commercially? > > > > > > > > > > > > Not so, but we are currently seeking commercial projects involv= ing > > > > > > CLAM. Here comercial does not mean non-free but we also are abl= e to > > > > > > drop non relicenceable dependencies if non-free is a requiremen= t. > > > > > > > > > > > > Good luck with the release. > > > > > > > > > > > > -- > > > > > > David Garc=EDa Garz=F3n > > > > > > (Work) dgarcia at iua dot upf anotherdot es > > > > > > (Home) vokimon at telefonica adot net > > > > > > http://www.iua.upf.edu/~dgarcia > > > > > > > > > > -- > > > > > Patrick Kidd Stinson > > > > > http://www.patrickkidd.com/ > > > > > http://pkaudio.sourceforge.net/ > > > > > http://pksampler.sourceforge.net/ > > > > > > -- > > > David Garc=EDa Garz=F3n > > > (Work) dgarcia at iua dot upf anotherdot es > > > (Home) vokimon at telefonica adot net > > > http://www.iua.upf.edu/~dgarcia > > > > -- > David Garc=EDa Garz=F3n > (Work) dgarcia at iua dot upf anotherdot es > (Home) vokimon at telefonica adot net > http://www.iua.upf.edu/~dgarcia > > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: David <dg...@iu...> - 2007-04-18 21:03:58
|
On Dimecres 18 Abril 2007, Patrick Stinson wrote: > Sounds cool. I had a look at the links about creating good transparent > povray widgets. It would take a little getting used to, but the > workflow could be automated and integrated into the python-based > solution that I already started with the pk.povray package, and > respective rendering tools in repos/resources. We are using > alpha-blended widgets with Play, and they are great to work with. Great news. So you finished the release, didn't you? ;-) I am just casting transparent shadows on QSynth knobs. It was easier to do= =20 than with povray. Of course the effect is not the same but it is cool. Chec= k=20 the last screenshots. http://iua-share.upf.edu/wikis/clam/images/5/58/Qsynth-knobs-shadows2.png http://iua-share.upf.edu/wikis/clam/images/4/43/Qsynth-knobs-shadows1.png Not 3D but almost ;-) > There are some things that need to be cleaned up with the widgets > along the lines of cleaner implementation. I have a few different > implementations for the knob that rely on modifier keys and make it a > little easier to get course and fine adjustments. The pixmap frames > for the pk.widgets.povwidgets should be all in one file instead of > separated out like they are in the implementation that you got from > me. This provides for resource and memory footprint. Modifier keys are really a good idea. > Also, the next thing I'd like to do is have a look at using python in > common audio plugin hosts. This will mostly involve project templates, > but that would kill two birds with one stone: using Qt with VST, and > AU, and using PyQt with them as well. Did i tell you we are also very much interested in mixing Qt and VST. Sure,= i=20 did. We want to extend the prototyper idea to VST plugins. We have the=20 processing part solved but we lack a way of running the Qt interface. Drop = us=20 a line as soon as you start addressing such problem. > fun stuff, and all in good time... Definitely. :-) > On 4/18/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > Any enhancement would be really very wellcome, Patrick. > > > > I am starting to adapt also widgets from Rui Nuno Capella and Pedro Lop= ez > > Cabanillas (QSynth/Qtractor/QJackCtl...), and Chris Cannam > > (SonicVisualizer,Rosegarden...). Let's make Linux interfaces cool ;-) > > > > David. > > > > On Dimecres 18 Abril 2007, Patrick Stinson wrote: > > > I just had a look at some of the screenshots. Good greif! I thouht I > > > recognized those widgets...I wish I had some time to play with it and > > > make it better... > > > > > > On 4/12/07, Patrick Stinson <pat...@gm...> wrote: > > > > On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > > > > > I did some experiments by changing parameters such as colors > > > > > > > and size of buttons, and works pretty well. :-) I need to know > > > > > > > how to crop them but i am on the track. > > > > > > > > > > > > Right. I wrote a tool to do that a while ago, but it isn't in my > > > > > > repository anymore because I took a different direction with the > > > > > > widgets I have now. I could write it again in a day or less if I > > > > > > wasn't so busy... We release early june (hopefully) and this > > > > > > stuff would be fun to get back into then (no promises!) > > > > > > > > > > Nice to know. If i need it before i think i could do it myself. > > > > > > > > > > > > What i miss is some way of making the background transparent. > > > > > > > Adding pkwidgets to an interface forces you to use the widget > > > > > > > background for all the interface to avoid awkward aspect. By > > > > > > > having an alpha background we could remove this limitation. I > > > > > > > spotted several interesting links: > > > > > > > http://www.imagico.de/pov/icons.html > > > > > > > http://www.econym.demon.co.uk/shadowtut/index.htm > > > > > > > > > > > > This was one of two major problems I never tackled.. I thought > > > > > > about using some sort of mask, but I'm not sure. The purest way > > > > > > would be to get povray to do it, but I haven't looked into it. = If > > > > > > it isn't immediately possible using the povray docs, then a post > > > > > > to the povray mailing list and/or community forums would probab= ly > > > > > > be worth it. If not, creating some sort of mask might be the way > > > > > > to go, but that would be difficult with the shadow. > > > > > > > > > > Have you checked the links? Ok, you are in release ;-) i can just > > > > > describe them, they explain how to do icons with alpha by doing 2 > > > > > or 3 povray runs with different parameters. By doing that we could > > > > > get some alpha shadowed backgrounds. I promise to get on that, > > > > > well, if you don't before ;-) > > > > > > > > you probably will before me > > > > > > > > > > > > Keep me informed how your work goes. I'm glad to hear my co= de > > > > > > > > helped. > > > > > > > > > > > > > > At the moment i'll use the existing widgets and pixmaps and > > > > > > > i'll extend both as i need more. Our packaging must not to be > > > > > > > changed for that. Eventually i would like to integrate things > > > > > > > further and porting other widgets. So let's talk then. I'll > > > > > > > keep you informed. Warn me also when your release is over and > > > > > > > lets chat a little. > > > > > > > > > > > > I may not remember (we are REALLY busy), so drop me another line > > > > > > if I don't get back to you. This is what we are working on: > > > > > > www.soundsonline.com. > > > > > > > > > > > > Are you doing anything commercially? > > > > > > > > > > Not so, but we are currently seeking commercial projects involving > > > > > CLAM. Here comercial does not mean non-free but we also are able = to > > > > > drop non relicenceable dependencies if non-free is a requirement. > > > > > > > > > > Good luck with the release. > > > > > > > > > > -- > > > > > David Garc=EDa Garz=F3n > > > > > (Work) dgarcia at iua dot upf anotherdot es > > > > > (Home) vokimon at telefonica adot net > > > > > http://www.iua.upf.edu/~dgarcia > > > > > > > > -- > > > > Patrick Kidd Stinson > > > > http://www.patrickkidd.com/ > > > > http://pkaudio.sourceforge.net/ > > > > http://pksampler.sourceforge.net/ > > > > -- > > David Garc=EDa Garz=F3n > > (Work) dgarcia at iua dot upf anotherdot es > > (Home) vokimon at telefonica adot net > > http://www.iua.upf.edu/~dgarcia =2D-=20 David Garc=EDa Garz=F3n (Work) dgarcia at iua dot upf anotherdot es (Home) vokimon at telefonica adot net http://www.iua.upf.edu/~dgarcia |
From: Patrick S. <pat...@gm...> - 2007-04-18 19:48:00
|
Sounds cool. I had a look at the links about creating good transparent povray widgets. It would take a little getting used to, but the workflow could be automated and integrated into the python-based solution that I already started with the pk.povray package, and respective rendering tools in repos/resources. We are using alpha-blended widgets with Play, and they are great to work with. There are some things that need to be cleaned up with the widgets along the lines of cleaner implementation. I have a few different implementations for the knob that rely on modifier keys and make it a little easier to get course and fine adjustments. The pixmap frames for the pk.widgets.povwidgets should be all in one file instead of separated out like they are in the implementation that you got from me. This provides for resource and memory footprint. Also, the next thing I'd like to do is have a look at using python in common audio plugin hosts. This will mostly involve project templates, but that would kill two birds with one stone: using Qt with VST, and AU, and using PyQt with them as well. fun stuff, and all in good time... On 4/18/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > Any enhancement would be really very wellcome, Patrick. > > I am starting to adapt also widgets from Rui Nuno Capella and Pedro Lopez > Cabanillas (QSynth/Qtractor/QJackCtl...), and Chris Cannam > (SonicVisualizer,Rosegarden...). Let's make Linux interfaces cool ;-) > > David. > > > On Dimecres 18 Abril 2007, Patrick Stinson wrote: > > I just had a look at some of the screenshots. Good greif! I thouht I > > recognized those widgets...I wish I had some time to play with it and > > make it better... > > > > On 4/12/07, Patrick Stinson <pat...@gm...> wrote: > > > On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > > > > I did some experiments by changing parameters such as colors an= d > > > > > > size of buttons, and works pretty well. :-) I need to know how = to > > > > > > crop them but i am on the track. > > > > > > > > > > Right. I wrote a tool to do that a while ago, but it isn't in my > > > > > repository anymore because I took a different direction with the > > > > > widgets I have now. I could write it again in a day or less if I > > > > > wasn't so busy... We release early june (hopefully) and this stuf= f > > > > > would be fun to get back into then (no promises!) > > > > > > > > Nice to know. If i need it before i think i could do it myself. > > > > > > > > > > What i miss is some way of making the background transparent. > > > > > > Adding pkwidgets to an interface forces you to use the widget > > > > > > background for all the interface to avoid awkward aspect. By ha= ving > > > > > > an alpha background we could remove this limitation. I spotted > > > > > > several interesting links: http://www.imagico.de/pov/icons.html > > > > > > http://www.econym.demon.co.uk/shadowtut/index.htm > > > > > > > > > > This was one of two major problems I never tackled.. I thought ab= out > > > > > using some sort of mask, but I'm not sure. The purest way would b= e to > > > > > get povray to do it, but I haven't looked into it. If it isn't > > > > > immediately possible using the povray docs, then a post to the po= vray > > > > > mailing list and/or community forums would probably be worth it. = If > > > > > not, creating some sort of mask might be the way to go, but that > > > > > would be difficult with the shadow. > > > > > > > > Have you checked the links? Ok, you are in release ;-) i can just > > > > describe them, they explain how to do icons with alpha by doing 2 o= r 3 > > > > povray runs with different parameters. By doing that we could get s= ome > > > > alpha shadowed backgrounds. I promise to get on that, well, if you > > > > don't before ;-) > > > > > > you probably will before me > > > > > > > > > > Keep me informed how your work goes. I'm glad to hear my code > > > > > > > helped. > > > > > > > > > > > > At the moment i'll use the existing widgets and pixmaps and i'l= l > > > > > > extend both as i need more. Our packaging must not to be change= d > > > > > > for that. Eventually i would like to integrate things further a= nd > > > > > > porting other widgets. So let's talk then. I'll keep you inform= ed. > > > > > > Warn me also when your release is over and lets chat a little. > > > > > > > > > > I may not remember (we are REALLY busy), so drop me another line = if I > > > > > don't get back to you. This is what we are working on: > > > > > www.soundsonline.com. > > > > > > > > > > Are you doing anything commercially? > > > > > > > > Not so, but we are currently seeking commercial projects involving > > > > CLAM. Here comercial does not mean non-free but we also are able to > > > > drop non relicenceable dependencies if non-free is a requirement. > > > > > > > > Good luck with the release. > > > > > > > > -- > > > > David Garc=EDa Garz=F3n > > > > (Work) dgarcia at iua dot upf anotherdot es > > > > (Home) vokimon at telefonica adot net > > > > http://www.iua.upf.edu/~dgarcia > > > > > > -- > > > Patrick Kidd Stinson > > > http://www.patrickkidd.com/ > > > http://pkaudio.sourceforge.net/ > > > http://pksampler.sourceforge.net/ > > > > -- > David Garc=EDa Garz=F3n > (Work) dgarcia at iua dot upf anotherdot es > (Home) vokimon at telefonica adot net > http://www.iua.upf.edu/~dgarcia > > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: David <dg...@iu...> - 2007-04-18 09:21:05
|
Any enhancement would be really very wellcome, Patrick. I am starting to adapt also widgets from Rui Nuno Capella and Pedro Lopez=20 Cabanillas (QSynth/Qtractor/QJackCtl...), and Chris Cannam=20 (SonicVisualizer,Rosegarden...). Let's make Linux interfaces cool ;-) David. On Dimecres 18 Abril 2007, Patrick Stinson wrote: > I just had a look at some of the screenshots. Good greif! I thouht I > recognized those widgets...I wish I had some time to play with it and > make it better... > > On 4/12/07, Patrick Stinson <pat...@gm...> wrote: > > On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > > > I did some experiments by changing parameters such as colors and > > > > > size of buttons, and works pretty well. :-) I need to know how to > > > > > crop them but i am on the track. > > > > > > > > Right. I wrote a tool to do that a while ago, but it isn't in my > > > > repository anymore because I took a different direction with the > > > > widgets I have now. I could write it again in a day or less if I > > > > wasn't so busy... We release early june (hopefully) and this stuff > > > > would be fun to get back into then (no promises!) > > > > > > Nice to know. If i need it before i think i could do it myself. > > > > > > > > What i miss is some way of making the background transparent. > > > > > Adding pkwidgets to an interface forces you to use the widget > > > > > background for all the interface to avoid awkward aspect. By havi= ng > > > > > an alpha background we could remove this limitation. I spotted > > > > > several interesting links: http://www.imagico.de/pov/icons.html > > > > > http://www.econym.demon.co.uk/shadowtut/index.htm > > > > > > > > This was one of two major problems I never tackled.. I thought about > > > > using some sort of mask, but I'm not sure. The purest way would be = to > > > > get povray to do it, but I haven't looked into it. If it isn't > > > > immediately possible using the povray docs, then a post to the povr= ay > > > > mailing list and/or community forums would probably be worth it. If > > > > not, creating some sort of mask might be the way to go, but that > > > > would be difficult with the shadow. > > > > > > Have you checked the links? Ok, you are in release ;-) i can just > > > describe them, they explain how to do icons with alpha by doing 2 or 3 > > > povray runs with different parameters. By doing that we could get some > > > alpha shadowed backgrounds. I promise to get on that, well, if you > > > don't before ;-) > > > > you probably will before me > > > > > > > > Keep me informed how your work goes. I'm glad to hear my code > > > > > > helped. > > > > > > > > > > At the moment i'll use the existing widgets and pixmaps and i'll > > > > > extend both as i need more. Our packaging must not to be changed > > > > > for that. Eventually i would like to integrate things further and > > > > > porting other widgets. So let's talk then. I'll keep you informed. > > > > > Warn me also when your release is over and lets chat a little. > > > > > > > > I may not remember (we are REALLY busy), so drop me another line if= I > > > > don't get back to you. This is what we are working on: > > > > www.soundsonline.com. > > > > > > > > Are you doing anything commercially? > > > > > > Not so, but we are currently seeking commercial projects involving > > > CLAM. Here comercial does not mean non-free but we also are able to > > > drop non relicenceable dependencies if non-free is a requirement. > > > > > > Good luck with the release. > > > > > > -- > > > David Garc=EDa Garz=F3n > > > (Work) dgarcia at iua dot upf anotherdot es > > > (Home) vokimon at telefonica adot net > > > http://www.iua.upf.edu/~dgarcia > > > > -- > > Patrick Kidd Stinson > > http://www.patrickkidd.com/ > > http://pkaudio.sourceforge.net/ > > http://pksampler.sourceforge.net/ =2D-=20 David Garc=EDa Garz=F3n (Work) dgarcia at iua dot upf anotherdot es (Home) vokimon at telefonica adot net http://www.iua.upf.edu/~dgarcia |
From: Patrick S. <pat...@gm...> - 2007-04-18 02:29:06
|
I just had a look at some of the screenshots. Good greif! I thouht I recognized those widgets...I wish I had some time to play with it and make it better... On 4/12/07, Patrick Stinson <pat...@gm...> wrote: > On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > > I did some experiments by changing parameters such as colors and si= ze of > > > > buttons, and works pretty well. :-) I need to know how to crop them= but i > > > > am on the track. > > > > > > Right. I wrote a tool to do that a while ago, but it isn't in my > > > repository anymore because I took a different direction with the > > > widgets I have now. I could write it again in a day or less if I > > > wasn't so busy... We release early june (hopefully) and this stuff > > > would be fun to get back into then (no promises!) > > > > Nice to know. If i need it before i think i could do it myself. > > > > > > What i miss is some way of making the background transparent. Addin= g > > > > pkwidgets to an interface forces you to use the widget background f= or all > > > > the interface to avoid awkward aspect. By having an alpha backgroun= d we > > > > could remove this limitation. I spotted several interesting links: > > > > http://www.imagico.de/pov/icons.html > > > > http://www.econym.demon.co.uk/shadowtut/index.htm > > > > > > This was one of two major problems I never tackled.. I thought about > > > using some sort of mask, but I'm not sure. The purest way would be to > > > get povray to do it, but I haven't looked into it. If it isn't > > > immediately possible using the povray docs, then a post to the povray > > > mailing list and/or community forums would probably be worth it. If > > > not, creating some sort of mask might be the way to go, but that woul= d > > > be difficult with the shadow. > > > > Have you checked the links? Ok, you are in release ;-) i can just descr= ibe > > them, they explain how to do icons with alpha by doing 2 or 3 povray ru= ns > > with different parameters. By doing that we could get some alpha shadow= ed > > backgrounds. I promise to get on that, well, if you don't before ;-) > > you probably will before me > > > > > > > > > > Keep me informed how your work goes. I'm glad to hear my code hel= ped. > > > > > > > > At the moment i'll use the existing widgets and pixmaps and i'll ex= tend > > > > both as i need more. Our packaging must not to be changed for that. > > > > Eventually i would like to integrate things further and porting oth= er > > > > widgets. So let's talk then. I'll keep you informed. Warn me also w= hen > > > > your release is over and lets chat a little. > > > > > > I may not remember (we are REALLY busy), so drop me another line if I > > > don't get back to you. This is what we are working on: > > > www.soundsonline.com. > > > > > > Are you doing anything commercially? > > > > Not so, but we are currently seeking commercial projects involving CLAM= . Here > > comercial does not mean non-free but we also are able to drop non > > relicenceable dependencies if non-free is a requirement. > > > > Good luck with the release. > > > > -- > > David Garc=EDa Garz=F3n > > (Work) dgarcia at iua dot upf anotherdot es > > (Home) vokimon at telefonica adot net > > http://www.iua.upf.edu/~dgarcia > > > > > > > -- > Patrick Kidd Stinson > http://www.patrickkidd.com/ > http://pkaudio.sourceforge.net/ > http://pksampler.sourceforge.net/ > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: Patrick S. <pat...@gm...> - 2007-04-13 00:40:36
|
On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > I did some experiments by changing parameters such as colors and size= of > > > buttons, and works pretty well. :-) I need to know how to crop them b= ut i > > > am on the track. > > > > Right. I wrote a tool to do that a while ago, but it isn't in my > > repository anymore because I took a different direction with the > > widgets I have now. I could write it again in a day or less if I > > wasn't so busy... We release early june (hopefully) and this stuff > > would be fun to get back into then (no promises!) > > Nice to know. If i need it before i think i could do it myself. > > > > What i miss is some way of making the background transparent. Adding > > > pkwidgets to an interface forces you to use the widget background for= all > > > the interface to avoid awkward aspect. By having an alpha background = we > > > could remove this limitation. I spotted several interesting links: > > > http://www.imagico.de/pov/icons.html > > > http://www.econym.demon.co.uk/shadowtut/index.htm > > > > This was one of two major problems I never tackled.. I thought about > > using some sort of mask, but I'm not sure. The purest way would be to > > get povray to do it, but I haven't looked into it. If it isn't > > immediately possible using the povray docs, then a post to the povray > > mailing list and/or community forums would probably be worth it. If > > not, creating some sort of mask might be the way to go, but that would > > be difficult with the shadow. > > Have you checked the links? Ok, you are in release ;-) i can just describ= e > them, they explain how to do icons with alpha by doing 2 or 3 povray runs > with different parameters. By doing that we could get some alpha shadowed > backgrounds. I promise to get on that, well, if you don't before ;-) you probably will before me > > > > > > Keep me informed how your work goes. I'm glad to hear my code helpe= d. > > > > > > At the moment i'll use the existing widgets and pixmaps and i'll exte= nd > > > both as i need more. Our packaging must not to be changed for that. > > > Eventually i would like to integrate things further and porting other > > > widgets. So let's talk then. I'll keep you informed. Warn me also whe= n > > > your release is over and lets chat a little. > > > > I may not remember (we are REALLY busy), so drop me another line if I > > don't get back to you. This is what we are working on: > > www.soundsonline.com. > > > > Are you doing anything commercially? > > Not so, but we are currently seeking commercial projects involving CLAM. = Here > comercial does not mean non-free but we also are able to drop non > relicenceable dependencies if non-free is a requirement. > > Good luck with the release. > > -- > David Garc=EDa Garz=F3n > (Work) dgarcia at iua dot upf anotherdot es > (Home) vokimon at telefonica adot net > http://www.iua.upf.edu/~dgarcia > > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: David <dg...@iu...> - 2007-04-13 00:30:22
|
On Dijous 12 Abril 2007, Patrick Stinson wrote: > > I did some experiments by changing parameters such as colors and size of > > buttons, and works pretty well. :-) I need to know how to crop them but= i > > am on the track. > > Right. I wrote a tool to do that a while ago, but it isn't in my > repository anymore because I took a different direction with the > widgets I have now. I could write it again in a day or less if I > wasn't so busy... We release early june (hopefully) and this stuff > would be fun to get back into then (no promises!) Nice to know. If i need it before i think i could do it myself. > > What i miss is some way of making the background transparent. Adding > > pkwidgets to an interface forces you to use the widget background for a= ll > > the interface to avoid awkward aspect. By having an alpha background we > > could remove this limitation. I spotted several interesting links: > > http://www.imagico.de/pov/icons.html > > http://www.econym.demon.co.uk/shadowtut/index.htm > > This was one of two major problems I never tackled.. I thought about > using some sort of mask, but I'm not sure. The purest way would be to > get povray to do it, but I haven't looked into it. If it isn't > immediately possible using the povray docs, then a post to the povray > mailing list and/or community forums would probably be worth it. If > not, creating some sort of mask might be the way to go, but that would > be difficult with the shadow. Have you checked the links? Ok, you are in release ;-) i can just describe= =20 them, they explain how to do icons with alpha by doing 2 or 3 povray runs=20 with different parameters. By doing that we could get some alpha shadowed=20 backgrounds. I promise to get on that, well, if you don't before ;-) > > > Keep me informed how your work goes. I'm glad to hear my code helped. > > > > At the moment i'll use the existing widgets and pixmaps and i'll extend > > both as i need more. Our packaging must not to be changed for that. > > Eventually i would like to integrate things further and porting other > > widgets. So let's talk then. I'll keep you informed. Warn me also when > > your release is over and lets chat a little. > > I may not remember (we are REALLY busy), so drop me another line if I > don't get back to you. This is what we are working on: > www.soundsonline.com. > > Are you doing anything commercially? Not so, but we are currently seeking commercial projects involving CLAM. He= re=20 comercial does not mean non-free but we also are able to drop non=20 relicenceable dependencies if non-free is a requirement. Good luck with the release. =2D-=20 David Garc=EDa Garz=F3n (Work) dgarcia at iua dot upf anotherdot es (Home) vokimon at telefonica adot net http://www.iua.upf.edu/~dgarcia |
From: Patrick S. <pat...@gm...> - 2007-04-12 17:09:57
|
On 4/12/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > On Thursday 12 April 2007 04:14:49 Patrick Stinson wrote: > > I wish I had more brain to use to listen to your description, but i am > > in the middle of a totally unrelated commercial release for my client. > > No problem. Let's talk afterwards then. Sure. This topic is really fun because the work is really high level and ea= sy! > > > I built our system around the specific requirements for our product > > plugin system, so it probably won't make much sense for you.\ > > > > I program against the latest PyQt4 and for any platform. I always > > build from source. I suggest you do too. > > I do, but we offer a development platform and distribute packages for a l= ot of > platforms so in some way we will like to distribute the widget toolchain = too > in a similar way or providing some howto. Gotchya. Packaging is the usually the biggest problem with sip/pyqt stuff, = IMO. > > > I'd be happy to answer questions about the povray stuff. That facet of > > my code is pretty interesting, as it lets you focus on the povray > > scenes. I can't remember what state the pkpov tool is in, but I was > > just writing the scenes myself in python anyway, so I suggest you try > > that. > > I did some experiments by changing parameters such as colors and size of > buttons, and works pretty well. :-) I need to know how to crop them but i= am > on the track. Right. I wrote a tool to do that a while ago, but it isn't in my repository anymore because I took a different direction with the widgets I have now. I could write it again in a day or less if I wasn't so busy... We release early june (hopefully) and this stuff would be fun to get back into then (no promises!) > > What i miss is some way of making the background transparent. Adding pkwi= dgets > to an interface forces you to use the widget background for all the inter= face > to avoid awkward aspect. By having an alpha background we could remove th= is > limitation. I spotted several interesting links: > http://www.imagico.de/pov/icons.html > http://www.econym.demon.co.uk/shadowtut/index.htm This was one of two major problems I never tackled.. I thought about using some sort of mask, but I'm not sure. The purest way would be to get povray to do it, but I haven't looked into it. If it isn't immediately possible using the povray docs, then a post to the povray mailing list and/or community forums would probably be worth it. If not, creating some sort of mask might be the way to go, but that would be difficult with the shadow. > > > Keep me informed how your work goes. I'm glad to hear my code helped. > > At the moment i'll use the existing widgets and pixmaps and i'll extend b= oth > as i need more. Our packaging must not to be changed for that. Eventually= i > would like to integrate things further and porting other widgets. So let'= s > talk then. I'll keep you informed. Warn me also when your release is over= and > lets chat a little. I may not remember (we are REALLY busy), so drop me another line if I don't get back to you. This is what we are working on: www.soundsonline.com. Are you doing anything commercially? > > Regards > > > > On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > > Are you working on a project written in python? > > > > > > No, it is C++. Although we want to provide bindings soon. > > > > > > > If so, I would suggest > > > > that you keep as much code in python as possible! > > > > > > Yes, i understand why. Now i have to take a look at the features you > > > added since the original port i did in 2004. Afortunatelly, C++ code = is > > > nearly as tiny and simple as Python code. > > > > > > Any way i just need being able to load the plugin, and just rely on t= he > > > AbstractButton and AbstractSlider interface, so i would like to check= if > > > i the new announced PyQt feature (python designer plugins) really wor= ks. > > > > > > > I developed an interesting way to do this in designer in C++. It is > > > > kind of complicated, though. > > > > > > > > I have a basic subclass for each standard widget like knob and butt= on. > > > > They all have myStyle, myObject, and myValue (not the real names - = the > > > > real names have our code name in them), string properties declared > > > > with Q_PROPERTY. When a plugin widget is loaded, the host wrapper > > > > checks all children with QWidget::findChildren() that have the mySt= yle > > > > property, and creates the appropriate style and sets it on the widg= et. > > > > It took me a while to write the styles, but know that I know the > > > > proper enums and virtual functions (hint: read qwindowsstyle.cpp an= d > > > > qcommonstyle.cpp for QWidget subclass usage, in that order) it's > > > > rpetty easy to write a style. > > > > > > > > PyQt doesn't support QStyle subclasses because of a casting problem= - > > > > that's why I wrote my simple custom classes. My classes expect the > > > > pixmaps to be in a certain format (not so unreasonable), and the > > > > subclasses are all centered around a pythonic way to set a pixmap p= ath > > > > on a widget easily. I don't know how this integrates into your > > > > project. > > > > > > > > What are your requirements for your widgets? do you just want to > > > > display pixmaps widgets from a designer form? > > > > > > Well, i think that the current approach we are taking is more suited = for > > > our purposes. Just a property with the base name for the pixmap. Our > > > project is a prototyping tool, as i told you. We want to allow a maxi= mum > > > flexibility without programming. A user can build his own interface a= nd > > > bind it to a processing core which is also constructed by another vis= ual > > > tool, the NetworkEditor. Check the newer development snapshots. They = have > > > been assembled using pixmap widgets from the designer plugin. > > > > > > http://clam.iua.upf.edu/wikis/clam/index.php/Development_screenshots > > > > > > For the pixmap widgets i would like to have a fast way they can chang= e > > > the image without compilation, that's why i made it a property. > > > > > > In fact, I don't like my current property implementation. I would lik= e a > > > pixmap property so you can use the resource dialog, but then i don't = know > > > how to get the file name from the pixmap in order to extrapolate the > > > other names. I also would like to provide some default implementation= s > > > classes not requiring to setup any property. But definitely this appr= oach > > > is more flexible than building a QStyle. > > > > > > I would like also that our users could have your povray based widget > > > construction kit available on a handy place. So that they can generat= e > > > new widgets easily. I have to talk more to you about that. I am not a > > > povray expert. Also debian and your programs' dependencies are in som= e > > > kind of trouble. Which ditribution are you programming on? > > > > > > > You can do whatever you > > > > want with my code, just leave a reference somewhere that says you > > > > learned something from me so I can get hired again when I quit my > > > > current job. > > > > > > Of course. Thanks. And when you need to be hired, feel free to refer = our > > > project as a success history for your developments. Definitely, we ar= e > > > going to use it a lot. :-) > > > > > > > On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > > > Hi, patrick and any one on the list. > > > > > > > > > > I am working on a C++ designer plugin version of pk widgets to > > > > > integrate them with CLAM audio application prototyping framework.= The > > > > > framework allows you to visually build audio applications by > > > > > prototyping the audio core with a patch tool and the interface wi= th > > > > > Qt Designer. > > > > > > > > > > I just ported some of the pkwidgets: a generic button and a gener= ic > > > > > slider. Both offer properties to base pixmap from the designer > > > > > interface. [2] They really look nice!! > > > > > > > > > > I am open to any collaboration, to split the widgets from CLAM as= an > > > > > independent library or check the new PyQt4 method to build plugin= s in > > > > > python (published today!). I know we also share some interests on > > > > > VST/Qt integration so drop us a line. > > > > > > > > > > > > > > > -- > > > > > David Garc=EDa Garz=F3n > > > > > (Work) dgarcia at iua dot upf anotherdot es > > > > > (Home) vokimon at telefonica adot net > > > > > http://www.iua.upf.edu/~dgarcia > > > > > > > > > > -----------------------------------------------------------------= ---- > > > > >---- 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=3Dsourceforg= e&CID=3DDE > > > > >VDEV _______________________________________________ > > > > > pksampler-devel mailing list > > > > > pks...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > > > > -- > > > David Garc=EDa Garz=F3n > > > (Work) dgarcia at iua dot upf anotherdot es > > > (Home) vokimon at telefonica adot net > > > http://www.iua.upf.edu/~dgarcia > > > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: David <dg...@iu...> - 2007-04-12 16:58:20
|
On Thursday 12 April 2007 04:14:49 Patrick Stinson wrote: > I wish I had more brain to use to listen to your description, but i am > in the middle of a totally unrelated commercial release for my client. No problem. Let's talk afterwards then. > I built our system around the specific requirements for our product > plugin system, so it probably won't make much sense for you.\ > > I program against the latest PyQt4 and for any platform. I always > build from source. I suggest you do too. I do, but we offer a development platform and distribute packages for a lot= of=20 platforms so in some way we will like to distribute the widget toolchain to= o=20 in a similar way or providing some howto. > I'd be happy to answer questions about the povray stuff. That facet of > my code is pretty interesting, as it lets you focus on the povray > scenes. I can't remember what state the pkpov tool is in, but I was > just writing the scenes myself in python anyway, so I suggest you try > that. I did some experiments by changing parameters such as colors and size of=20 buttons, and works pretty well. :-) I need to know how to crop them but i a= m=20 on the track. What i miss is some way of making the background transparent. Adding pkwidg= ets=20 to an interface forces you to use the widget background for all the interfa= ce=20 to avoid awkward aspect. By having an alpha background we could remove this= =20 limitation. I spotted several interesting links: http://www.imagico.de/pov/icons.html http://www.econym.demon.co.uk/shadowtut/index.htm > Keep me informed how your work goes. I'm glad to hear my code helped. At the moment i'll use the existing widgets and pixmaps and i'll extend bot= h=20 as i need more. Our packaging must not to be changed for that. Eventually i= =20 would like to integrate things further and porting other widgets. So let's= =20 talk then. I'll keep you informed. Warn me also when your release is over a= nd=20 lets chat a little. Regards > On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > > Are you working on a project written in python? > > > > No, it is C++. Although we want to provide bindings soon. > > > > > If so, I would suggest > > > that you keep as much code in python as possible! > > > > Yes, i understand why. Now i have to take a look at the features you > > added since the original port i did in 2004. Afortunatelly, C++ code is > > nearly as tiny and simple as Python code. > > > > Any way i just need being able to load the plugin, and just rely on the > > AbstractButton and AbstractSlider interface, so i would like to check if > > i the new announced PyQt feature (python designer plugins) really works. > > > > > I developed an interesting way to do this in designer in C++. It is > > > kind of complicated, though. > > > > > > I have a basic subclass for each standard widget like knob and button. > > > They all have myStyle, myObject, and myValue (not the real names - the > > > real names have our code name in them), string properties declared > > > with Q_PROPERTY. When a plugin widget is loaded, the host wrapper > > > checks all children with QWidget::findChildren() that have the myStyle > > > property, and creates the appropriate style and sets it on the widget. > > > It took me a while to write the styles, but know that I know the > > > proper enums and virtual functions (hint: read qwindowsstyle.cpp and > > > qcommonstyle.cpp for QWidget subclass usage, in that order) it's > > > rpetty easy to write a style. > > > > > > PyQt doesn't support QStyle subclasses because of a casting problem - > > > that's why I wrote my simple custom classes. My classes expect the > > > pixmaps to be in a certain format (not so unreasonable), and the > > > subclasses are all centered around a pythonic way to set a pixmap path > > > on a widget easily. I don't know how this integrates into your > > > project. > > > > > > What are your requirements for your widgets? do you just want to > > > display pixmaps widgets from a designer form? > > > > Well, i think that the current approach we are taking is more suited for > > our purposes. Just a property with the base name for the pixmap. Our > > project is a prototyping tool, as i told you. We want to allow a maximum > > flexibility without programming. A user can build his own interface and > > bind it to a processing core which is also constructed by another visual > > tool, the NetworkEditor. Check the newer development snapshots. They ha= ve > > been assembled using pixmap widgets from the designer plugin. > > > > http://clam.iua.upf.edu/wikis/clam/index.php/Development_screenshots > > > > For the pixmap widgets i would like to have a fast way they can change > > the image without compilation, that's why i made it a property. > > > > In fact, I don't like my current property implementation. I would like a > > pixmap property so you can use the resource dialog, but then i don't kn= ow > > how to get the file name from the pixmap in order to extrapolate the > > other names. I also would like to provide some default implementations > > classes not requiring to setup any property. But definitely this approa= ch > > is more flexible than building a QStyle. > > > > I would like also that our users could have your povray based widget > > construction kit available on a handy place. So that they can generate > > new widgets easily. I have to talk more to you about that. I am not a > > povray expert. Also debian and your programs' dependencies are in some > > kind of trouble. Which ditribution are you programming on? > > > > > You can do whatever you > > > want with my code, just leave a reference somewhere that says you > > > learned something from me so I can get hired again when I quit my > > > current job. > > > > Of course. Thanks. And when you need to be hired, feel free to refer our > > project as a success history for your developments. Definitely, we are > > going to use it a lot. :-) > > > > > On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > > Hi, patrick and any one on the list. > > > > > > > > I am working on a C++ designer plugin version of pk widgets to > > > > integrate them with CLAM audio application prototyping framework. T= he > > > > framework allows you to visually build audio applications by > > > > prototyping the audio core with a patch tool and the interface with > > > > Qt Designer. > > > > > > > > I just ported some of the pkwidgets: a generic button and a generic > > > > slider. Both offer properties to base pixmap from the designer > > > > interface. [2] They really look nice!! > > > > > > > > I am open to any collaboration, to split the widgets from CLAM as an > > > > independent library or check the new PyQt4 method to build plugins = in > > > > python (published today!). I know we also share some interests on > > > > VST/Qt integration so drop us a line. > > > > > > > > > > > > -- > > > > David Garc=EDa Garz=F3n > > > > (Work) dgarcia at iua dot upf anotherdot es > > > > (Home) vokimon at telefonica adot net > > > > http://www.iua.upf.edu/~dgarcia > > > > > > > > -------------------------------------------------------------------= =2D- > > > >---- 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-a= nd > > > > earn cash > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&= CID=3DDE > > > >VDEV _______________________________________________ > > > > pksampler-devel mailing list > > > > pks...@li... > > > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > > -- > > David Garc=EDa Garz=F3n > > (Work) dgarcia at iua dot upf anotherdot es > > (Home) vokimon at telefonica adot net > > http://www.iua.upf.edu/~dgarcia |
From: Patrick S. <pat...@gm...> - 2007-04-12 02:14:49
|
I wish I had more brain to use to listen to your description, but i am in the middle of a totally unrelated commercial release for my client. I built our system around the specific requirements for our product plugin system, so it probably won't make much sense for you.\ I program against the latest PyQt4 and for any platform. I always build from source. I suggest you do too. I'd be happy to answer questions about the povray stuff. That facet of my code is pretty interesting, as it lets you focus on the povray scenes. I can't remember what state the pkpov tool is in, but I was just writing the scenes myself in python anyway, so I suggest you try that. Keep me informed how your work goes. I'm glad to hear my code helped. On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > On Dijous 12 Abril 2007, Patrick Stinson wrote: > > Are you working on a project written in python? > > No, it is C++. Although we want to provide bindings soon. > > > If so, I would suggest > > that you keep as much code in python as possible! > > Yes, i understand why. Now i have to take a look at the features you adde= d > since the original port i did in 2004. Afortunatelly, C++ code is nearly = as > tiny and simple as Python code. > > Any way i just need being able to load the plugin, and just rely on the > AbstractButton and AbstractSlider interface, so i would like to check if = i > the new announced PyQt feature (python designer plugins) really works. > > > > I developed an interesting way to do this in designer in C++. It is > > kind of complicated, though. > > > > I have a basic subclass for each standard widget like knob and button. > > They all have myStyle, myObject, and myValue (not the real names - the > > real names have our code name in them), string properties declared > > with Q_PROPERTY. When a plugin widget is loaded, the host wrapper > > checks all children with QWidget::findChildren() that have the myStyle > > property, and creates the appropriate style and sets it on the widget. > > It took me a while to write the styles, but know that I know the > > proper enums and virtual functions (hint: read qwindowsstyle.cpp and > > qcommonstyle.cpp for QWidget subclass usage, in that order) it's > > rpetty easy to write a style. > > > > PyQt doesn't support QStyle subclasses because of a casting problem - > > that's why I wrote my simple custom classes. My classes expect the > > pixmaps to be in a certain format (not so unreasonable), and the > > subclasses are all centered around a pythonic way to set a pixmap path > > on a widget easily. I don't know how this integrates into your > > project. > > > > What are your requirements for your widgets? do you just want to > > display pixmaps widgets from a designer form? > > Well, i think that the current approach we are taking is more suited for = our > purposes. Just a property with the base name for the pixmap. Our project = is a > prototyping tool, as i told you. We want to allow a maximum flexibility > without programming. A user can build his own interface and bind it to a > processing core which is also constructed by another visual tool, the > NetworkEditor. Check the newer development snapshots. They have been > assembled using pixmap widgets from the designer plugin. > > http://clam.iua.upf.edu/wikis/clam/index.php/Development_screenshots > > For the pixmap widgets i would like to have a fast way they can change th= e > image without compilation, that's why i made it a property. > > In fact, I don't like my current property implementation. I would like a > pixmap property so you can use the resource dialog, but then i don't know= how > to get the file name from the pixmap in order to extrapolate the other na= mes. > I also would like to provide some default implementations classes not > requiring to setup any property. But definitely this approach is more > flexible than building a QStyle. > > I would like also that our users could have your povray based widget > construction kit available on a handy place. So that they can generate ne= w > widgets easily. I have to talk more to you about that. I am not a povray > expert. Also debian and your programs' dependencies are in some kind of > trouble. Which ditribution are you programming on? > > > > You can do whatever you > > want with my code, just leave a reference somewhere that says you > > learned something from me so I can get hired again when I quit my > > current job. > > > Of course. Thanks. And when you need to be hired, feel free to refer our > project as a success history for your developments. Definitely, we are go= ing > to use it a lot. :-) > > > > > On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > > Hi, patrick and any one on the list. > > > > > > I am working on a C++ designer plugin version of pk widgets to integr= ate > > > them with CLAM audio application prototyping framework. The framework > > > allows you to visually build audio applications by prototyping the au= dio > > > core with a patch tool and the interface with Qt Designer. > > > > > > I just ported some of the pkwidgets: a generic button and a generic > > > slider. Both offer properties to base pixmap from the designer interf= ace. > > > [2] They really look nice!! > > > > > > I am open to any collaboration, to split the widgets from CLAM as an > > > independent library or check the new PyQt4 method to build plugins in > > > python (published today!). I know we also share some interests on VST= /Qt > > > integration so drop us a line. > > > > > > > > > -- > > > David Garc=EDa Garz=F3n > > > (Work) dgarcia at iua dot upf anotherdot es > > > (Home) vokimon at telefonica adot net > > > http://www.iua.upf.edu/~dgarcia > > > > > > ---------------------------------------------------------------------= ---- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to sha= re > > > your opinions on IT & business topics through brief surveys-and earn = cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI= D=3DDEVDEV > > > _______________________________________________ > > > pksampler-devel mailing list > > > pks...@li... > > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > > -- > David Garc=EDa Garz=F3n > (Work) dgarcia at iua dot upf anotherdot es > (Home) vokimon at telefonica adot net > http://www.iua.upf.edu/~dgarcia > > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: David <dg...@iu...> - 2007-04-12 01:49:02
|
On Dijous 12 Abril 2007, Patrick Stinson wrote: > Are you working on a project written in python?=20 No, it is C++. Although we want to provide bindings soon. > If so, I would suggest=20 > that you keep as much code in python as possible! Yes, i understand why. Now i have to take a look at the features you added= =20 since the original port i did in 2004. Afortunatelly, C++ code is nearly as= =20 tiny and simple as Python code. Any way i just need being able to load the plugin, and just rely on the=20 AbstractButton and AbstractSlider interface, so i would like to check if i= =20 the new announced PyQt feature (python designer plugins) really works. > I developed an interesting way to do this in designer in C++. It is > kind of complicated, though. > > I have a basic subclass for each standard widget like knob and button. > They all have myStyle, myObject, and myValue (not the real names - the > real names have our code name in them), string properties declared > with Q_PROPERTY. When a plugin widget is loaded, the host wrapper > checks all children with QWidget::findChildren() that have the myStyle > property, and creates the appropriate style and sets it on the widget. > It took me a while to write the styles, but know that I know the > proper enums and virtual functions (hint: read qwindowsstyle.cpp and > qcommonstyle.cpp for QWidget subclass usage, in that order) it's > rpetty easy to write a style. > > PyQt doesn't support QStyle subclasses because of a casting problem - > that's why I wrote my simple custom classes. My classes expect the > pixmaps to be in a certain format (not so unreasonable), and the > subclasses are all centered around a pythonic way to set a pixmap path > on a widget easily. I don't know how this integrates into your > project. > > What are your requirements for your widgets? do you just want to > display pixmaps widgets from a designer form?=20 Well, i think that the current approach we are taking is more suited for ou= r=20 purposes. Just a property with the base name for the pixmap. Our project is= a=20 prototyping tool, as i told you. We want to allow a maximum flexibility=20 without programming. A user can build his own interface and bind it to a=20 processing core which is also constructed by another visual tool, the=20 NetworkEditor. Check the newer development snapshots. They have been=20 assembled using pixmap widgets from the designer plugin. http://clam.iua.upf.edu/wikis/clam/index.php/Development_screenshots =46or the pixmap widgets i would like to have a fast way they can change th= e=20 image without compilation, that's why i made it a property. In fact, I don't like my current property implementation. I would like a=20 pixmap property so you can use the resource dialog, but then i don't know h= ow=20 to get the file name from the pixmap in order to extrapolate the other name= s.=20 I also would like to provide some default implementations classes not=20 requiring to setup any property. But definitely this approach is more=20 flexible than building a QStyle. I would like also that our users could have your povray based widget=20 construction kit available on a handy place. So that they can generate new= =20 widgets easily. I have to talk more to you about that. I am not a povray=20 expert. Also debian and your programs' dependencies are in some kind of=20 trouble. Which ditribution are you programming on? > You can do whatever you=20 > want with my code, just leave a reference somewhere that says you > learned something from me so I can get hired again when I quit my > current job. Of course. Thanks. And when you need to be hired, feel free to refer our=20 project as a success history for your developments. Definitely, we are goin= g=20 to use it a lot. :-) > On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > > Hi, patrick and any one on the list. > > > > I am working on a C++ designer plugin version of pk widgets to integrate > > them with CLAM audio application prototyping framework. The framework > > allows you to visually build audio applications by prototyping the audio > > core with a patch tool and the interface with Qt Designer. > > > > I just ported some of the pkwidgets: a generic button and a generic > > slider. Both offer properties to base pixmap from the designer interfac= e. > > [2] They really look nice!! > > > > I am open to any collaboration, to split the widgets from CLAM as an > > independent library or check the new PyQt4 method to build plugins in > > python (published today!). I know we also share some interests on VST/Qt > > integration so drop us a line. > > > > > > -- > > David Garc=EDa Garz=F3n > > (Work) dgarcia at iua dot upf anotherdot es > > (Home) vokimon at telefonica adot net > > http://www.iua.upf.edu/~dgarcia > > > > -----------------------------------------------------------------------= =2D- > > 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 ca= sh > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > > _______________________________________________ > > pksampler-devel mailing list > > pks...@li... > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel =2D-=20 David Garc=EDa Garz=F3n (Work) dgarcia at iua dot upf anotherdot es (Home) vokimon at telefonica adot net http://www.iua.upf.edu/~dgarcia |
From: Patrick S. <pat...@gm...> - 2007-04-12 00:25:52
|
Are you working on a project written in python? If so, I would suggest that you keep as much code in python as possible! I developed an interesting way to do this in designer in C++. It is kind of complicated, though. I have a basic subclass for each standard widget like knob and button. They all have myStyle, myObject, and myValue (not the real names - the real names have our code name in them), string properties declared with Q_PROPERTY. When a plugin widget is loaded, the host wrapper checks all children with QWidget::findChildren() that have the myStyle property, and creates the appropriate style and sets it on the widget. It took me a while to write the styles, but know that I know the proper enums and virtual functions (hint: read qwindowsstyle.cpp and qcommonstyle.cpp for QWidget subclass usage, in that order) it's rpetty easy to write a style. PyQt doesn't support QStyle subclasses because of a casting problem - that's why I wrote my simple custom classes. My classes expect the pixmaps to be in a certain format (not so unreasonable), and the subclasses are all centered around a pythonic way to set a pixmap path on a widget easily. I don't know how this integrates into your project. What are your requirements for your widgets? do you just want to display pixmaps widgets from a designer form? You can do whatever you want with my code, just leave a reference somewhere that says you learned something from me so I can get hired again when I quit my current job. On 4/11/07, David Garc=EDa Garz=F3n <dg...@iu...> wrote: > Hi, patrick and any one on the list. > > I am working on a C++ designer plugin version of pk widgets to integrate = them > with CLAM audio application prototyping framework. The framework allows y= ou > to visually build audio applications by prototyping the audio core with a > patch tool and the interface with Qt Designer. > > I just ported some of the pkwidgets: a generic button and a generic slide= r. > Both offer properties to base pixmap from the designer interface. [2] The= y > really look nice!! > > I am open to any collaboration, to split the widgets from CLAM as an > independent library or check the new PyQt4 method to build plugins in pyt= hon > (published today!). I know we also share some interests on VST/Qt integra= tion > so drop us a line. > > > -- > David Garc=EDa Garz=F3n > (Work) dgarcia at iua dot upf anotherdot es > (Home) vokimon at telefonica adot net > http://www.iua.upf.edu/~dgarcia > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > pksampler-devel mailing list > pks...@li... > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > --=20 Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: David <dg...@iu...> - 2007-04-11 23:57:13
|
Hi, patrick and any one on the list. I am working on a C++ designer plugin version of pk widgets to integrate th= em=20 with CLAM audio application prototyping framework. The framework allows you= =20 to visually build audio applications by prototyping the audio core with a=20 patch tool and the interface with Qt Designer. I just ported some of the pkwidgets: a generic button and a generic slider.= =20 Both offer properties to base pixmap from the designer interface. [2] They= =20 really look nice!! I am open to any collaboration, to split the widgets from CLAM as an=20 independent library or check the new PyQt4 method to build plugins in pytho= n=20 (published today!). I know we also share some interests on VST/Qt integrati= on=20 so drop us a line. =2D-=20 David Garc=C3=ADa Garz=C3=B3n (Work) dgarcia at iua dot upf anotherdot es (Home) vokimon at telefonica adot net http://www.iua.upf.edu/~dgarcia |
From: altern <al...@gm...> - 2007-02-19 21:31:40
|
hi patrick Patrick Stinson wrote: > First tip: Verify that your server is sending that message! Use > pkechoosc to make sure that you are getting your message back from > your server. You can send it a port if you want, but defaults to > 57110. i could see that it was sending it because i set verbose and spew on, i could not find how to bind OSC addresses with pieces of code. But I finally did find a way today. self.server.listener.register('/address', afunction) > You should pass a list of strings to receive, not just a string. > > The code is very simple and well-laid out, so give it a read. The > Controller has a listener, which reads from the socket and decodes the > message. You can register callbacks based on message key on the > listener, but the controller has a receive method that you can use > instead. ah, i did not get that, i was wondering all the time what was the receive method for. I think i worked too much last days and it has taking me ages to find which was the part of the code which was actually doing the job. thanks ! enrike > > On 2/18/07, altern <al...@gm...> wrote: >> hi >> >> i am trying to execute some code when some osc mesages come from the >> scsynth. They are produced by a SendTrig so they have /tr address. At >> the moment i get the osc printed on the console, but i cannot find the >> way to bind them to a callback. >> >> I tried few things like >> >> def test(*args) : print 'gotit', args >> import scosc.controller >> controller = scosc.controller.Controller( ('127.1.1.1', 57110) ) >> controller.receive('/tr') >> >> but it doesnt seem to get anything. i get this error >> line 99, in receive >> raise IOError('timeout waiting for reply') >> >> any tips? >> thanks >> >> enrike >> >> ------------------------------------------------------------------------- >> 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 >> _______________________________________________ >> pksampler-devel mailing list >> pks...@li... >> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >> > > |
From: Patrick S. <pat...@gm...> - 2007-02-19 20:12:11
|
I'm sorry, it's been a while since I've used this stuff. I've been writing too much commercial software...You don't have to pass a list of strings, you should pass as many strings that you want to wait for, or none at all, which returns the next incoming message: Make sure you have started your own server instance (otherwise use scsynth.start) for use with scosc.Controller. You also might want to try passing verbose=True to the contructor of Controller. On 2/19/07, Patrick Stinson <pat...@gm...> wrote: > First tip: Verify that your server is sending that message! Use > pkechoosc to make sure that you are getting your message back from > your server. You can send it a port if you want, but defaults to > 57110. > > You should pass a list of strings to receive, not just a string. > > The code is very simple and well-laid out, so give it a read. The > Controller has a listener, which reads from the socket and decodes the > message. You can register callbacks based on message key on the > listener, but the controller has a receive method that you can use > instead. > > > On 2/18/07, altern <al...@gm...> wrote: > > hi > > > > i am trying to execute some code when some osc mesages come from the > > scsynth. They are produced by a SendTrig so they have /tr address. At > > the moment i get the osc printed on the console, but i cannot find the > > way to bind them to a callback. > > > > I tried few things like > > > > def test(*args) : print 'gotit', args > > import scosc.controller > > controller = scosc.controller.Controller( ('127.1.1.1', 57110) ) > > controller.receive('/tr') > > > > but it doesnt seem to get anything. i get this error > > line 99, in receive > > raise IOError('timeout waiting for reply') > > > > any tips? > > thanks > > > > enrike > > > > ------------------------------------------------------------------------- > > 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 > > _______________________________________________ > > pksampler-devel mailing list > > pks...@li... > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > > > -- > Patrick Kidd Stinson > http://www.patrickkidd.com/ > http://pkaudio.sourceforge.net/ > http://pksampler.sourceforge.net/ > -- Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: Patrick S. <pat...@gm...> - 2007-02-19 19:53:57
|
First tip: Verify that your server is sending that message! Use pkechoosc to make sure that you are getting your message back from your server. You can send it a port if you want, but defaults to 57110. You should pass a list of strings to receive, not just a string. The code is very simple and well-laid out, so give it a read. The Controller has a listener, which reads from the socket and decodes the message. You can register callbacks based on message key on the listener, but the controller has a receive method that you can use instead. On 2/18/07, altern <al...@gm...> wrote: > hi > > i am trying to execute some code when some osc mesages come from the > scsynth. They are produced by a SendTrig so they have /tr address. At > the moment i get the osc printed on the console, but i cannot find the > way to bind them to a callback. > > I tried few things like > > def test(*args) : print 'gotit', args > import scosc.controller > controller = scosc.controller.Controller( ('127.1.1.1', 57110) ) > controller.receive('/tr') > > but it doesnt seem to get anything. i get this error > line 99, in receive > raise IOError('timeout waiting for reply') > > any tips? > thanks > > enrike > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > pksampler-devel mailing list > pks...@li... > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > -- Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: altern <al...@gm...> - 2007-02-18 11:55:13
|
hi i am trying to execute some code when some osc mesages come from the scsynth. They are produced by a SendTrig so they have /tr address. At the moment i get the osc printed on the console, but i cannot find the way to bind them to a callback. I tried few things like def test(*args) : print 'gotit', args import scosc.controller controller = scosc.controller.Controller( ('127.1.1.1', 57110) ) controller.receive('/tr') but it doesnt seem to get anything. i get this error line 99, in receive raise IOError('timeout waiting for reply') any tips? thanks enrike |
From: altern <al...@gm...> - 2007-01-30 08:21:36
|
hi it seems like now i am subscribed but only with this address, i could not do it with the @ixi-software.net one I tested the latest version of scosc/scsynth on windows XP and it seems to work fine on my machine, thank you very much for this. Just one idea about it, would it be possible the scsynth terminal not to open when the process is launched? I want to create a standalone with py2exe/py2app and I would need to avoid that terminal on the final version. In previous projects I used a command in wxPython library for this, but it would be nice not to use that. thanks enrike |
From: Patrick S. <pat...@gm...> - 2007-01-27 10:54:27
|
again, post to the list, not me. This is a supercollider error. You should ask the supercollider list. On 1/27/07, enrike <en...@ix...> wrote: > > Patrick Stinson wrote: > > ToroiseSVN is another nice windows client, but as long as you get the > > code... > > > > I tested it briefly. there is no way to just "kill" the process on the > > windows level, so you have to make sure that whatever level of the > > hierarchy of my code you are using sends a "/quit" OSC message. some of > > it does this automatically. > > ok. > > I am testing it now but i am getting an error from psycollider i guess, > it says: > exception of GrafDef_Load: UGen 'Control' not installed > while reading file 'C:\Documents and > Settings\Administrator\Desktop\player.scsyndef' > > > remember to subscribe and post to the pksampler list, not to me. > > done! > > > On 1/26/07, *enrike* <en...@ix... > > <mailto:en...@ix...>> wrote: > > > > great! many thanks I was going to have another look into it next > week. > > i use rapidsvn on windows. I dont think i will be able to test it > before > > monday though. > > > > thanks! > > > > > -- Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: Patrick S. <pat...@gm...> - 2007-01-26 19:59:33
|
ToroiseSVN is another nice windows client, but as long as you get the code... I tested it briefly. there is no way to just "kill" the process on the windows level, so you have to make sure that whatever level of the hierarchy of my code you are using sends a "/quit" OSC message. some of it does this automatically. remember to subscribe and post to the pksampler list, not to me. On 1/26/07, enrike <en...@ix...> wrote: > > great! many thanks I was going to have another look into it next week. > i use rapidsvn on windows. I dont think i will be able to test it before > monday though. > > thanks! > > Patrick Stinson wrote: > > ok - I added support for the 'subprocess' module that comes with 2.4. It > > will use the subprocess module if on windows, and the popen2 module > > otherwise. > > > > How did you get your source? I highly suggest you use ToroiseSVN to > > checkout the newest source. I don't maintain the tarballs any more. > > Anyway, update your source and try it out. Take Care that you have to > > pass the exedir parameter to whatever function you are calling to create > > the process. > > > > # exedir is the dir containing scsynth.exe > > instance = process.start_local(exedir='C:\SC3') > > > > works for me! > > > > On 1/25/07, *Patrick Stinson * <pat...@gm... > > <mailto:pat...@gm...>> wrote: > > > > Maybe it's time to read some basic thread and process concepts > > online? Google is your friend.... > > > > > > On 1/25/07, *enrike* < en...@ix... > > <mailto:en...@ix...>> wrote: > > > > do you have any idea which functions i should be trying out? i > > have been > > dealing with part of python before and i find it very confusing. > > I dont > > have a clue of the technicalities behind processes so I find > > difficult > > to differentiate the right command in the docs. I mean there are > > quite a > > few commands that deal with processes in different ways and I > > never get > > which one is the one I am looking for. > > > > Patrick Stinson wrote: > > > yeah. like I said - all you need is a way to poll the process > > and a > > > process id. Other built-in modules provide that - you should > > try the > > > other process management ones on windows. I would, but I > don't > > have a > > > windows machine setup. > > > > > > On 1/19/07, *enrike* < en...@ix... > > <mailto:en...@ix...> > > > <mailto: en...@ix... > > <mailto:en...@ix...>>> wrote: > > > > > > hi patrick > > > > > > i have been pointed to this > > > http://sourceforge.net/projects/pywin32/ > > > > > > apparently popen doesnt work on windows because a bug > > > http://www.python.org/infogami-faq/windows/ > > > > > > not nice having to use an extension just for that. > > > > > > enrike > > > > > > Patrick Stinson wrote: > > > > well, it should be fairly easy to replace with > something > > else - > > > > process.py is very short. > > > > > > > > It looks like the "proc" Popen4 object is only for it's > > poll() method > > > > and it's pid member. It also happens to capture stdout > > and stderr - > > > > which is why you don't see that in your console when > you > > run it. > > > > > > > > I don't have a windows machine on hand, but if you can > > find a way to > > > > create a process on windows, capture it's stdout and > > stderr, get it's > > > > pid, and make a call to tell if it is alive, then you > > can just > > > use that > > > > function. That's a pretty simple set of requirements... > > > > > > > > On 1/18/07, *enrike* < en...@ix... > > <mailto:en...@ix...> > > > <mailto: en...@ix... > > <mailto:en...@ix...>> > > > > <mailto: en...@ix... > > <mailto:en...@ix...> > > > <mailto:en...@ix... > > <mailto:en...@ix...>>>> wrote: > > > > > > > > that would be fantastic!. I have been checking it > > over and > > > over but i > > > > did not get that far. I manage am trying a dirty > > work around > > > that by > > > > using popen2.popen4 function instead of the Popen4 > > class to > > > avoid the > > > > Popen4.poll () method. But looks like the server > > doesnt start up > > > > now. See > > > > if i get somewhere. > > > > > > > > > > > > Patrick Stinson wrote: > > > > > how interesting. I'm sure I can come up with a > > work around for > > > > that. I > > > > > use 2.3.5 in mac, and I'm all about making such > a > > simple > > > module > > > > > deployable everywhere. > > > > > > > > > > I am at the NAMM show demoing our products for > > the next > > > couple of > > > > days, > > > > > so I will have limited time to look at it, but > > I'm sure I > > > can come up > > > > > with something for you... > > > > > > > > > > On 1/18/07, *enrike* < en...@ix... > > <mailto:en...@ix...> > > > <mailto:en...@ix... > > <mailto:en...@ix...>> > > > > <mailto: en...@ix... > > <mailto:en...@ix...> > > > <mailto: en...@ix... > > <mailto:en...@ix...>> > > > > > > <mailto: en...@ix... > > <mailto:en...@ix...> > > > <mailto: en...@ix... > > <mailto:en...@ix...>> > > > > <mailto:en...@ix... > > <mailto:en...@ix...> > > > <mailto: en...@ix... > > <mailto:en...@ix...>>>>> wrote: > > > > > > > > > > > > > > > hi again patrick > > > > > > > > > > i am testing soscs/scsynth on windows XP > with > > python 2.4.2 > > > > and there is > > > > > an error because the popen2.Popen4 class > > doesnt exist on > > > > windows. There > > > > > is a popen2.popen4 function but not the > > class. This is > > > used > > > > on line 67 > > > > > module process.py when instantiating the > > server. I am > > > > checking to see ig > > > > > i find some work around at the moment. Do > you > > think it is > > > > possible to > > > > > get the code running under windows? it is > quite > > > important for > > > > me to > > > > > make > > > > > it run in all platforms. > > > > > > > > > > thanks > > > > > > > > > > enrike > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Patrick Kidd Stinson > > > > > http://www.patrickkidd.com/ > > > > > http://pkaudio.sourceforge.net/ > > > > > http://pksampler.sourceforge.net/ > > > > > > > > > > > > > > > > > > > > -- > > > > Patrick Kidd Stinson > > > > http://www.patrickkidd.com/ > > > > http://pkaudio.sourceforge.net/ > > > > http://pksampler.sourceforge.net/ > > > > > > > > > > > > > > > -- > > > Patrick Kidd Stinson > > > http://www.patrickkidd.com/ > > > http://pkaudio.sourceforge.net/ > > > http://pksampler.sourceforge.net/ > > > > > > > > > > -- > > > > Patrick Kidd Stinson > > http://www.patrickkidd.com/ > > http://pkaudio.sourceforge.net/ > > http://pksampler.sourceforge.net/ > > > > > > > > > > -- > > Patrick Kidd Stinson > > http://www.patrickkidd.com/ > > http://pkaudio.sourceforge.net/ <http://pkaudio.sourceforge.net/> > > http://pksampler.sourceforge.net/ > > -- Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ |
From: Patrick S. <pat...@gc...> - 2005-10-18 19:59:13
|
Yes. Ideally a string would always just be a string; a string should =20 not be a string and this other thing, too. A list should be a list, not a list and a list that can only hold =20 this other thing, too. On Oct 18, 2005, at 11:53 AM, Simon Edwards wrote: > On Tuesday 18 October 2005 20:01, Yann Cointepas wrote: > >> Le Mardi 18 Octobre 2005 19:24, Phil Thompson a =E9crit : >> >>> I'm wondering whether QString should be dropped in PyQt4 in order =20= >>> to make >>> it more Pythonic. >>> >> Would it mean that QString content would always be copied when =20 >> used in >> Python ? If yes, copying a QString from a widget to another (for =20 >> example >> widget1.setCaption( widget2.caption() ) ) would lead to an =20 >> unnecessary copy. >> > > True, but how often do you copy a string from one widget to =20 > another? I'm > guessing almost never (never=3D not often enough to worry about, or be > performance critical). > > The only place that copying might be an issue is in something like =20 > Qt's XML > parser. Otherwise I say drop QString. The whole "add str()" thing =20 > is a pain > in the ass and leads to subtle bugs (espically when you use strings =20= > as keys > in dictionaries). > > cheers, > > --=20 > Simon Edwards | Guarddog Firewall > si...@si... | http://www.simonzone.com/software/ > Nijmegen, The Netherlands | "ZooTV? You made the right choice." > > _______________________________________________ > PyKDE mailing list Py...@ma... > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > |
From: Patrick S. <pat...@gc...> - 2005-10-12 09:07:35
|
I have added an installation wiki to the trac/svn page of the website. https://svn.patrickkidd.com/cgi-bin/trac.cgi/wiki/Installation |
From: Patrick S. <pat...@gc...> - 2005-10-11 22:27:31
|
rant taken. jack is totally dependent on the platform in which it runs, i.e. the linux kernel, whether it allows realtime code or not. the fact of the matter is that if you don't want xruns, you *have* to patch your kernel, no matter what the software (jack, pure alsa, oss, etc). realtime scheduling means no xruns, if the CPU is fast enough. I do recognize your grief, though. users should not be expected to patch a kernel for something like that. we are in [the latter part of] a transition between reliable and non-reliable multimedia computing, so the products available have not quite settled down to rest on the new technologies. Anyway, the coolest thing about jack is that it is very simple, and thus everywhere. For example, pkaudio compiles on OS X because jack runs on OS X. so we've ended up with a standard that is very easy to program against. But also, jack is a very thin layer that runs on top of the operating system's audio platform. That means that jack is only as good as the code you run it on, from the kernel to the sound card. When I fired up pkaudio and Reason on OS X running under jack, and saw my code unning right next to propellerheads, I realized what was happening, and I say that computer audio has been flattened and opened. yay! On Oct 11, 2005, at 1:02 PM, cies wrote: > <rant alert> > > im slightly disappointed with jack, it has been around now for quite > some time yet it still has many problems that where already known in > the early days -- and are not fixed yet. > > the xruns can only be eliminated to either run as root or to patch the > kernel. both are not very easy for a new user, and therefore i think > jack keeps new multimedia users from switching to linux. > > sorry i had to rant. > > _c. > > On 10/11/05, cies <cie...@gm...> wrote: > >> On 10/11/05, Patrick Stinson <pat...@gc...> wrote: >> >>> It would be very nice to be able to nail down those server crashes. >>> I've never seen it crash so much. how clean is your box? >>> >> >> i crash it all the time (lets say 1 out 10 runs for a file that >> works, >> only some of my mp3s, oggs and wavs seem to work) >> >> im using suse 9.3 (regular intel x86 build) >> >> and my box is more than clean enough... >> >> running everything as root (makes it possible for me to set jack to >> realtime), yet only one try out of the 50 resulted in some sound, >> here >> and exerpt: >> >> linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks >> \ -\ >> hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 >> playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 >> _default_event_callback sample:loaded 15 >> linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks >> \ -\ >> hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 >> playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 >> pkaudiod Server crashed! (signal 11) >> linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks >> \ -\ >> hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 >> playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 >> _default_event_callback sample:loaded 15 >> linux:/home/cies/src/repos/bin # >> linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks >> \ -\ >> hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 >> playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 >> pkaudiod Server crashed! (signal 11) >> linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks >> \ -\ >> hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 >> playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 >> _default_event_callback sample:loaded 15 >> linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks >> \ -\ >> hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 >> playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 >> _default_event_callback sample:loaded 15 >> >> >> >> >> _c. >> >> >> >>> On Oct 11, 2005, at 11:46 AM, cies wrote: >>> >>> >>>> finally at last... >>>> >>>> i jerked a bit of sound out of pkaudio! >>>> >>>> there is probably also something with the wavedecoder, since it >>>> doesnt >>>> produced sound for me. >>>> >>>> cies@linux:~/src/repos/bin> qjackctl & >>>> [1] 24422 >>>> cies@linux:~/src/repos/bin> Warning: no locale found: >>>> /usr/share/locale/qjackctl_en_US.UTF-8.qm >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Startup.wav >>>> playing /opt/kde3/share/sounds/KDE_Startup.wav # no sound >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Startup.wav >>>> playing /opt/kde3/share/sounds/KDE_Startup.wav # no sound >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ >>>> KDE_Vox_Yo.ogg >>>> playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg # FIRST SOUND! >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ >>>> KDE_Vox_Yo.ogg >>>> playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg #HUH?! >>>> pkaudiod Server crashed! (signal 11) >>>> detected server crash >>>> Traceback (most recent call last): >>>> File "./pkplay", line 34, in ? >>>> s = pk.audio.Sample(fpath) >>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line >>>> 225, in __init__ >>>> Module.__init__(self, 'Sample', path) >>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line >>>> 100, in __init__ >>>> id = core.createModule(mtype, name) >>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line >>>> 658, >>>> in createModule >>>> return _recvULong() >>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line >>>> 227, >>>> in _recvULong >>>> ret = _recv() >>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line >>>> 218, in _recv >>>> raise ConnectionError('detected server crash') >>>> pk.audio.core.ConnectionError: detected server crash >>>> Exception exceptions.AttributeError: <exceptions.AttributeError >>>> instance at 0x4042ca6c> in <bound method Sample.__del__ of >>>> <pk.audio.modules.Sample instance at 0x405f40ec>> ignored >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ >>>> KDE_Vox_Yo.ogg >>>> playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg # and now it just >>>> works >>>> again.. strange >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Glass_Break.ogg >>>> playing /opt/kde3/share/sounds/KDE_Glass_Break.ogg # no sound >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Logout_1.ogg >>>> playing /opt/kde3/share/sounds/KDE_Logout_1.ogg # sound! >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Logout_1.ogg >>>> playing /opt/kde3/share/sounds/KDE_Logout_1.ogg # sound! >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Logout_2.ogg >>>> playing /opt/kde3/share/sounds/KDE_Logout_2.ogg # no sound... >>>> _default_event_callback sample:loaded 15 >>>> >>>> cies@linux:~/src/repos/bin> ./pkplay -v -f >>>> /opt/kde3/share/sounds/KDE_Logout_2.ogg >>>> playing /opt/kde3/share/sounds/KDE_Logout_2.ogg # BOOM! >>>> pkaudiod Server crashed! (signal 11) >>>> detected server crash >>>> Traceback (most recent call last): >>>> File "./pkplay", line 34, in ? >>>> s = pk.audio.Sample(fpath) >>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line >>>> 225, in __init__ >>>> Module.__init__(self, 'Sample', path) >>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line >>>> 100, in __init__ >>>> id = core.createModule(mtype, name) >>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line >>>> 658, >>>> in createModule >>>> return _recvULong() >>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line >>>> 227, >>>> in _recvULong >>>> ret = _recv() >>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line >>>> 218, in _recv >>>> raise ConnectionError('detected server crash') >>>> pk.audio.core.ConnectionError: detected server crash >>>> Exception exceptions.AttributeError: <exceptions.AttributeError >>>> instance at 0x4042ca6c> in <bound method Sample.__del__ of >>>> <pk.audio.modules.Sample instance at 0x405f40cc>> ignored >>>> >>>> >>>> maybe it has something to do with the XRUNs issue that i didnt fix >>>> yet, yet i doubt it... >>>> >>>> >>>> >>>> i already stared to work a bit on an alternative implementation >>>> using >>>> RtAudio an some Secret Rabbit Code (libsamplerate), but that is on >>>> hold now. >>>> >>>> i much rather use a Qt-style api to do all i need (file loading, >>>> sample rate conversion, audiodevice handling) and more over c-ish >>>> nonsense... ohh, and now i can also prototype in python (the >>>> language >>>> that i get paid for to code in -- yet i still suck at it) >>>> >>>> i'll write more later, i've got to code a bit now... >>>> >>>> _c. >>>> >>>> On 10/11/05, Patrick Stinson <pat...@gc...> wrote: >>>> >>>> >>>>> I have updated pkplay to use pk.options. You might check out that >>>>> file to learn how to use pk.options. you can also grep the tree >>>>> for >>>>> OptionsGroup. >>>>> >>>>> On Oct 11, 2005, at 2:59 AM, cies wrote: >>>>> >>>>> >>>>> >>>>>> hmm... verbose on? pkplay does let me put verbose on. try it >>>>>> and you >>>>>> see why, it just doesnt let you. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: >>>>>> >>>>>> >>>>>> >>>>>>> hmm. I'm not sure what to say for the crashes, unless you debug >>>>>>> pkaudiod (which you can, btw). >>>>>>> >>>>>>> pkplay is the easiest way to play sound. >>>>>>> >>>>>>> again, try running everything with verbose on. start_server() >>>>>>> has >>>>>>> that option, and pkplay should too. look at the pthon code >>>>>>> for api >>>>>>> references. >>>>>>> >>>>>>> >>>>>>> On Oct 10, 2005, at 4:23 PM, cies wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>>> On Oct 10, 2005, at 3:56 PM, cies wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> did you start the jack server? I use qjackctl. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> okay got some further... (apperrently i missed something >>>>>>>>>> somewhere) >>>>>>>>>> >>>>>>>>>> jack runs (through qjackctl), yet with XRUNs once every while >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> install realtime-lsm (google realtime-lsm and your >>>>>>>>> platform) to >>>>>>>>> allow >>>>>>>>> your user to run jack with realtime priority. you also want to >>>>>>>>> run >>>>>>>>> pkaudio with realtime priority. that will get rid of the >>>>>>>>> xruns. >>>>>>>>> >>>>>>>>> http://gentoo-wiki.com/HOWTO_Jack >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>>> i can get jack_metronome to 'sound' >>>>>>>>>> >>>>>>>>>> then i try: >>>>>>>>>> pkplay /opt/kde3/share/sounds/KDE_Startup.wav >>>>>>>>>> (does something, i see connections coming and going in >>>>>>>>>> qjackctl, but >>>>>>>>>> no sound and the runtime is too short to play the sample >>>>>>>>>> properly) >>>>>>>>>> >>>>>>>>>> pksampler >>>>>>>>>> (didnt start at first, but after creating /home/cies/wav, >>>>>>>>>> what it >>>>>>>>>> wanted, i was able to see the app -- no sound) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> right. I haven't put that into a host config yet, so I hard- >>>>>>>>> coded it. >>>>>>>>> I haven't really designed the sample library directory yet, >>>>>>>>> either. >>>>>>>>> the current pksampler code is really in hack phase for now. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> pkrack - worked yet silent >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> pkrack doesn't make any noise itself. it just gives you the >>>>>>>>> rack so >>>>>>>>> you can add some modules to it. the only module I have so >>>>>>>>> far is >>>>>>>>> pk.sampler. If you get pkplay to play something, then audio is >>>>>>>>> all >>>>>>>>> set. if you get pkrack up, then the gui is all set. try pkplay >>>>>>>>> with >>>>>>>>> the --verbose option. this also turns on verbosity for the >>>>>>>>> pkaudio >>>>>>>>> daemon. >>>>>>>>> >>>>>>>>> also, try pkplay --help. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> i did many times... i thought pkplay was the easiest path to >>>>>>>> actually >>>>>>>> hearing some sound... yet it didnt help much. >>>>>>>> >>>>>>>> okay, i do it from the python commandline: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> import time >>>>>>>>>>> import sys >>>>>>>>>>> import pk.audio >>>>>>>>>>> import pk.options >>>>>>>>>>> pk.options.parse_args() >>>>>>>>>>> pk.audio.start_server() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> True >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> d = pk.audio.Driver() >>>>>>>>>>> s = pk.audio.Sample("/opt/kde3/share/sounds/ >>>>>>>>>>> KDE_Startup.wav") >>>>>>>>>>> d.getMixer(0).connect(s.outputPort()) >>>>>>>>>>> s.play() >>>>>>>>>>> s.play() >>>>>>>>>>> s.play() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> >>>>>>>> --> no sound! >>>>>>>> okay then i did some thing that might be terribly wrong but >>>>>>>> heay! im >>>>>>>> trying for hours (over the last days) and i keep on doing >>>>>>>> that... >>>>>>>> >>>>>>>> maybe you understand something out of this: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> KeyboardInterrupt >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> s = pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> detected server crash >>>>>>>> Traceback (most recent call last): >>>>>>>> File "<stdin>", line 1, in ? >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 224, in __init__ >>>>>>>> core.loadModule('pksample') >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 818, >>>>>>>> in loadModule >>>>>>>> return _recvNull() >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 242, >>>>>>>> in _recvNull >>>>>>>> ret = _recv() >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 218, in _recv >>>>>>>> raise ConnectionError('detected server crash') >>>>>>>> pk.audio.core.ConnectionError: detected server crash >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> pk.options.parse_args() >>>>>>>>>>> pk.audio.start_server() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> True >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> s = pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") >>>>>>>>>>> d = pk.audio.Driver() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> detected server crash >>>>>>>> detected server crash >>>>>>>> Exception exceptions.AttributeError: <exceptions.AttributeError >>>>>>>> instance at 0x406738cc> in <bound method Sample.__del__ of >>>>>>>> <pk.audio.modules.Sample instance at 0x4049298c>> ignored >>>>>>>> Traceback (most recent call last): >>>>>>>> File "<stdin>", line 1, in ? >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 180, in __init__ >>>>>>>> raise ConnectionError('not connected to server, connect >>>>>>>> with >>>>>>>> "start_server()"') >>>>>>>> pk.audio.modules.ConnectionError: not connected to server, >>>>>>>> connect >>>>>>>> with "start_server()" >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> d = pk.audio.Driver() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> Traceback (most recent call last): >>>>>>>> File "<stdin>", line 1, in ? >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 180, in __init__ >>>>>>>> raise ConnectionError('not connected to server, connect >>>>>>>> with >>>>>>>> "start_server()"') >>>>>>>> pk.audio.modules.ConnectionError: not connected to server, >>>>>>>> connect >>>>>>>> with "start_server()" >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> pk.options.parse_args() >>>>>>>>>>> pk.audio.start_server() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> True >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> d = pk.audio.Driver() >>>>>>>>>>> s = pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> Traceback (most recent call last): >>>>>>>> File "<stdin>", line 1, in ? >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 225, in __init__ >>>>>>>> Module.__init__(self, 'Sample', path) >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 102, in __init__ >>>>>>>> self._syncModuleInfo() >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 119, in _syncModuleInfo >>>>>>>> self.info = core.getModuleInfo(self.id()) >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 694, >>>>>>>> in getModuleInfo >>>>>>>> return _recvModuleInfo() >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 260, >>>>>>>> in _recvModuleInfo >>>>>>>> ret = _recvString() >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 252, >>>>>>>> in _recvString >>>>>>>> ret = _recv() >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 220, in _recv >>>>>>>> ret += _sock.recv(1024) >>>>>>>> socket.error: (104, 'Connection reset by peer') >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>>> s.play() >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>> Exception exceptions.ValueError: <exceptions.ValueError >>>>>>>> instance at >>>>>>>> 0x406737ec> in <bound method Sample.__del__ of >>>>>>>> <pk.audio.modules.Sample instance at 0x4067344c>> ignored >>>>>>>> Traceback (most recent call last): >>>>>>>> File "<stdin>", line 1, in ? >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 251, in play >>>>>>>> self.setProperty('playing', core.TRUE) >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", >>>>>>>> line >>>>>>>> 128, in setProperty >>>>>>>> core.setProperty(self.info['id'], name, val) >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 725, >>>>>>>> in setProperty >>>>>>>> _send(msg('MLsf', 'SetProperty', mid, ctl, float(val))) >>>>>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", >>>>>>>> line >>>>>>>> 196, in _send >>>>>>>> except socket.error, (errno, e): >>>>>>>> ValueError: need more than 1 value to unpack >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> i'm off to bed. >>>>>>>> _c. >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> This SF.Net email is sponsored by: >>>>>>>> Power Architecture Resource Center: Free content, downloads, >>>>>>>> discussions, >>>>>>>> and more. http://solutions.newsforge.com/ibmarch.tmpl >>>>>>>> _______________________________________________ >>>>>>>> Pksampler-devel mailing list >>>>>>>> Pks...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by: >>>>>>> Power Architecture Resource Center: Free content, downloads, >>>>>>> discussions, >>>>>>> and more. http://solutions.newsforge.com/ibmarch.tmpl >>>>>>> _______________________________________________ >>>>>>> Pksampler-devel mailing list >>>>>>> Pks...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by: >>>>>> Power Architecture Resource Center: Free content, downloads, >>>>>> discussions, >>>>>> and more. http://solutions.newsforge.com/ibmarch.tmpl >>>>>> _______________________________________________ >>>>>> Pksampler-devel mailing list >>>>>> Pks...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: >>>>> Power Architecture Resource Center: Free content, downloads, >>>>> discussions, >>>>> and more. http://solutions.newsforge.com/ibmarch.tmpl >>>>> _______________________________________________ >>>>> Pksampler-devel mailing list >>>>> Pks...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >>>>> >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: >>>> Power Architecture Resource Center: Free content, downloads, >>>> discussions, >>>> and more. http://solutions.newsforge.com/ibmarch.tmpl >>>> _______________________________________________ >>>> Pksampler-devel mailing list >>>> Pks...@li... >>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: >>> Power Architecture Resource Center: Free content, downloads, >>> discussions, >>> and more. http://solutions.newsforge.com/ibmarch.tmpl >>> _______________________________________________ >>> Pksampler-devel mailing list >>> Pks...@li... >>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel >>> >>> >> >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Pksampler-devel mailing list > Pks...@li... > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > |
From: cies <cie...@gm...> - 2005-10-11 21:02:41
|
<rant alert> im slightly disappointed with jack, it has been around now for quite some time yet it still has many problems that where already known in the early days -- and are not fixed yet. the xruns can only be eliminated to either run as root or to patch the kernel. both are not very easy for a new user, and therefore i think jack keeps new multimedia users from switching to linux. sorry i had to rant. _c. On 10/11/05, cies <cie...@gm...> wrote: > On 10/11/05, Patrick Stinson <pat...@gc...> wrote: > > It would be very nice to be able to nail down those server crashes. > > I've never seen it crash so much. how clean is your box? > > i crash it all the time (lets say 1 out 10 runs for a file that works, > only some of my mp3s, oggs and wavs seem to work) > > im using suse 9.3 (regular intel x86 build) > > and my box is more than clean enough... > > running everything as root (makes it possible for me to set jack to > realtime), yet only one try out of the 50 resulted in some sound, here > and exerpt: > > linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ > hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 > playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 > _default_event_callback sample:loaded 15 > linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ > hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 > playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 > pkaudiod Server crashed! (signal 11) > linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ > hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 > playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 > _default_event_callback sample:loaded 15 > linux:/home/cies/src/repos/bin # > linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ > hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 > playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 > pkaudiod Server crashed! (signal 11) > linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ > hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 > playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 > _default_event_callback sample:loaded 15 > linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ > hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 > playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 > _default_event_callback sample:loaded 15 > > > > > _c. > > > > On Oct 11, 2005, at 11:46 AM, cies wrote: > > > > > finally at last... > > > > > > i jerked a bit of sound out of pkaudio! > > > > > > there is probably also something with the wavedecoder, since it doesn= t > > > produced sound for me. > > > > > > cies@linux:~/src/repos/bin> qjackctl & > > > [1] 24422 > > > cies@linux:~/src/repos/bin> Warning: no locale found: > > > /usr/share/locale/qjackctl_en_US.UTF-8.qm > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Startup.wav > > > playing /opt/kde3/share/sounds/KDE_Startup.wav # no sound > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Startup.wav > > > playing /opt/kde3/share/sounds/KDE_Startup.wav # no sound > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ > > > KDE_Vox_Yo.ogg > > > playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg # FIRST SOUND! > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ > > > KDE_Vox_Yo.ogg > > > playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg #HUH?! > > > pkaudiod Server crashed! (signal 11) > > > detected server crash > > > Traceback (most recent call last): > > > File "./pkplay", line 34, in ? > > > s =3D pk.audio.Sample(fpath) > > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > > 225, in __init__ > > > Module.__init__(self, 'Sample', path) > > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > > 100, in __init__ > > > id =3D core.createModule(mtype, name) > > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 658, > > > in createModule > > > return _recvULong() > > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 227, > > > in _recvULong > > > ret =3D _recv() > > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > > 218, in _recv > > > raise ConnectionError('detected server crash') > > > pk.audio.core.ConnectionError: detected server crash > > > Exception exceptions.AttributeError: <exceptions.AttributeError > > > instance at 0x4042ca6c> in <bound method Sample.__del__ of > > > <pk.audio.modules.Sample instance at 0x405f40ec>> ignored > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ > > > KDE_Vox_Yo.ogg > > > playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg # and now it just work= s > > > again.. strange > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Glass_Break.ogg > > > playing /opt/kde3/share/sounds/KDE_Glass_Break.ogg # no sound > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Logout_1.ogg > > > playing /opt/kde3/share/sounds/KDE_Logout_1.ogg # sound! > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Logout_1.ogg > > > playing /opt/kde3/share/sounds/KDE_Logout_1.ogg # sound! > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Logout_2.ogg > > > playing /opt/kde3/share/sounds/KDE_Logout_2.ogg # no sound... > > > _default_event_callback sample:loaded 15 > > > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > > /opt/kde3/share/sounds/KDE_Logout_2.ogg > > > playing /opt/kde3/share/sounds/KDE_Logout_2.ogg # BOOM! > > > pkaudiod Server crashed! (signal 11) > > > detected server crash > > > Traceback (most recent call last): > > > File "./pkplay", line 34, in ? > > > s =3D pk.audio.Sample(fpath) > > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > > 225, in __init__ > > > Module.__init__(self, 'Sample', path) > > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > > 100, in __init__ > > > id =3D core.createModule(mtype, name) > > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 658, > > > in createModule > > > return _recvULong() > > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 227, > > > in _recvULong > > > ret =3D _recv() > > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > > 218, in _recv > > > raise ConnectionError('detected server crash') > > > pk.audio.core.ConnectionError: detected server crash > > > Exception exceptions.AttributeError: <exceptions.AttributeError > > > instance at 0x4042ca6c> in <bound method Sample.__del__ of > > > <pk.audio.modules.Sample instance at 0x405f40cc>> ignored > > > > > > > > > maybe it has something to do with the XRUNs issue that i didnt fix > > > yet, yet i doubt it... > > > > > > > > > > > > i already stared to work a bit on an alternative implementation using > > > RtAudio an some Secret Rabbit Code (libsamplerate), but that is on > > > hold now. > > > > > > i much rather use a Qt-style api to do all i need (file loading, > > > sample rate conversion, audiodevice handling) and more over c-ish > > > nonsense... ohh, and now i can also prototype in python (the language > > > that i get paid for to code in -- yet i still suck at it) > > > > > > i'll write more later, i've got to code a bit now... > > > > > > _c. > > > > > > On 10/11/05, Patrick Stinson <pat...@gc...> wrote: > > > > > >> I have updated pkplay to use pk.options. You might check out that > > >> file to learn how to use pk.options. you can also grep the tree for > > >> OptionsGroup. > > >> > > >> On Oct 11, 2005, at 2:59 AM, cies wrote: > > >> > > >> > > >>> hmm... verbose on? pkplay does let me put verbose on. try it and yo= u > > >>> see why, it just doesnt let you. > > >>> > > >>> > > >>> > > >>> > > >>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: > > >>> > > >>> > > >>>> hmm. I'm not sure what to say for the crashes, unless you debug > > >>>> pkaudiod (which you can, btw). > > >>>> > > >>>> pkplay is the easiest way to play sound. > > >>>> > > >>>> again, try running everything with verbose on. start_server() has > > >>>> that option, and pkplay should too. look at the pthon code for api > > >>>> references. > > >>>> > > >>>> > > >>>> On Oct 10, 2005, at 4:23 PM, cies wrote: > > >>>> > > >>>> > > >>>> > > >>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>>> > > >>>>>> On Oct 10, 2005, at 3:56 PM, cies wrote: > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>> did you start the jack server? I use qjackctl. > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> okay got some further... (apperrently i missed something > > >>>>>>> somewhere) > > >>>>>>> > > >>>>>>> jack runs (through qjackctl), yet with XRUNs once every while > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>> > > >>>>>> install realtime-lsm (google realtime-lsm and your platform) to > > >>>>>> allow > > >>>>>> your user to run jack with realtime priority. you also want to > > >>>>>> run > > >>>>>> pkaudio with realtime priority. that will get rid of the xruns. > > >>>>>> > > >>>>>> http://gentoo-wiki.com/HOWTO_Jack > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>> > > >>>>>>> i can get jack_metronome to 'sound' > > >>>>>>> > > >>>>>>> then i try: > > >>>>>>> pkplay /opt/kde3/share/sounds/KDE_Startup.wav > > >>>>>>> (does something, i see connections coming and going in > > >>>>>>> qjackctl, but > > >>>>>>> no sound and the runtime is too short to play the sample > > >>>>>>> properly) > > >>>>>>> > > >>>>>>> pksampler > > >>>>>>> (didnt start at first, but after creating /home/cies/wav, > > >>>>>>> what it > > >>>>>>> wanted, i was able to see the app -- no sound) > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>> > > >>>>>> right. I haven't put that into a host config yet, so I hard- > > >>>>>> coded it. > > >>>>>> I haven't really designed the sample library directory yet, > > >>>>>> either. > > >>>>>> the current pksampler code is really in hack phase for now. > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> pkrack - worked yet silent > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>> > > >>>>>> pkrack doesn't make any noise itself. it just gives you the > > >>>>>> rack so > > >>>>>> you can add some modules to it. the only module I have so far is > > >>>>>> pk.sampler. If you get pkplay to play something, then audio is > > >>>>>> all > > >>>>>> set. if you get pkrack up, then the gui is all set. try pkplay > > >>>>>> with > > >>>>>> the --verbose option. this also turns on verbosity for the > > >>>>>> pkaudio > > >>>>>> daemon. > > >>>>>> > > >>>>>> also, try pkplay --help. > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>> > > >>>>> i did many times... i thought pkplay was the easiest path to > > >>>>> actually > > >>>>> hearing some sound... yet it didnt help much. > > >>>>> > > >>>>> okay, i do it from the python commandline: > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> import time > > >>>>>>>> import sys > > >>>>>>>> import pk.audio > > >>>>>>>> import pk.options > > >>>>>>>> pk.options.parse_args() > > >>>>>>>> pk.audio.start_server() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> True > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> d =3D pk.audio.Driver() > > >>>>>>>> s =3D pk.audio.Sample("/opt/kde3/share/sounds/KDE_Startup.wav"= ) > > >>>>>>>> d.getMixer(0).connect(s.outputPort()) > > >>>>>>>> s.play() > > >>>>>>>> s.play() > > >>>>>>>> s.play() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> > > >>>>> --> no sound! > > >>>>> okay then i did some thing that might be terribly wrong but > > >>>>> heay! im > > >>>>> trying for hours (over the last days) and i keep on doing that... > > >>>>> > > >>>>> maybe you understand something out of this: > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> KeyboardInterrupt > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> s =3D pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> detected server crash > > >>>>> Traceback (most recent call last): > > >>>>> File "<stdin>", line 1, in ? > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 224, in __init__ > > >>>>> core.loadModule('pksample') > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 818, > > >>>>> in loadModule > > >>>>> return _recvNull() > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 242, > > >>>>> in _recvNull > > >>>>> ret =3D _recv() > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 218, in _recv > > >>>>> raise ConnectionError('detected server crash') > > >>>>> pk.audio.core.ConnectionError: detected server crash > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> pk.options.parse_args() > > >>>>>>>> pk.audio.start_server() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> True > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> s =3D pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") > > >>>>>>>> d =3D pk.audio.Driver() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> detected server crash > > >>>>> detected server crash > > >>>>> Exception exceptions.AttributeError: <exceptions.AttributeError > > >>>>> instance at 0x406738cc> in <bound method Sample.__del__ of > > >>>>> <pk.audio.modules.Sample instance at 0x4049298c>> ignored > > >>>>> Traceback (most recent call last): > > >>>>> File "<stdin>", line 1, in ? > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 180, in __init__ > > >>>>> raise ConnectionError('not connected to server, connect with > > >>>>> "start_server()"') > > >>>>> pk.audio.modules.ConnectionError: not connected to server, connec= t > > >>>>> with "start_server()" > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> d =3D pk.audio.Driver() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> Traceback (most recent call last): > > >>>>> File "<stdin>", line 1, in ? > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 180, in __init__ > > >>>>> raise ConnectionError('not connected to server, connect with > > >>>>> "start_server()"') > > >>>>> pk.audio.modules.ConnectionError: not connected to server, connec= t > > >>>>> with "start_server()" > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> pk.options.parse_args() > > >>>>>>>> pk.audio.start_server() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> True > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> d =3D pk.audio.Driver() > > >>>>>>>> s =3D pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> Traceback (most recent call last): > > >>>>> File "<stdin>", line 1, in ? > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 225, in __init__ > > >>>>> Module.__init__(self, 'Sample', path) > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 102, in __init__ > > >>>>> self._syncModuleInfo() > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 119, in _syncModuleInfo > > >>>>> self.info =3D core.getModuleInfo(self.id()) > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 694, > > >>>>> in getModuleInfo > > >>>>> return _recvModuleInfo() > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 260, > > >>>>> in _recvModuleInfo > > >>>>> ret =3D _recvString() > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 252, > > >>>>> in _recvString > > >>>>> ret =3D _recv() > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 220, in _recv > > >>>>> ret +=3D _sock.recv(1024) > > >>>>> socket.error: (104, 'Connection reset by peer') > > >>>>> > > >>>>> > > >>>>> > > >>>>>>>> s.play() > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>> Exception exceptions.ValueError: <exceptions.ValueError > > >>>>> instance at > > >>>>> 0x406737ec> in <bound method Sample.__del__ of > > >>>>> <pk.audio.modules.Sample instance at 0x4067344c>> ignored > > >>>>> Traceback (most recent call last): > > >>>>> File "<stdin>", line 1, in ? > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 251, in play > > >>>>> self.setProperty('playing', core.TRUE) > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > > >>>>> line > > >>>>> 128, in setProperty > > >>>>> core.setProperty(self.info['id'], name, val) > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 725, > > >>>>> in setProperty > > >>>>> _send(msg('MLsf', 'SetProperty', mid, ctl, float(val))) > > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > >>>>> 196, in _send > > >>>>> except socket.error, (errno, e): > > >>>>> ValueError: need more than 1 value to unpack > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> i'm off to bed. > > >>>>> _c. > > >>>>> > > >>>>> > > >>>>> ------------------------------------------------------- > > >>>>> This SF.Net email is sponsored by: > > >>>>> Power Architecture Resource Center: Free content, downloads, > > >>>>> discussions, > > >>>>> and more. http://solutions.newsforge.com/ibmarch.tmpl > > >>>>> _______________________________________________ > > >>>>> Pksampler-devel mailing list > > >>>>> Pks...@li... > > >>>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > >>>>> > > >>>>> > > >>>>> > > >>>> > > >>>> > > >>>> > > >>>> ------------------------------------------------------- > > >>>> This SF.Net email is sponsored by: > > >>>> Power Architecture Resource Center: Free content, downloads, > > >>>> discussions, > > >>>> and more. http://solutions.newsforge.com/ibmarch.tmpl > > >>>> _______________________________________________ > > >>>> Pksampler-devel mailing list > > >>>> Pks...@li... > > >>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> ------------------------------------------------------- > > >>> This SF.Net email is sponsored by: > > >>> Power Architecture Resource Center: Free content, downloads, > > >>> discussions, > > >>> and more. http://solutions.newsforge.com/ibmarch.tmpl > > >>> _______________________________________________ > > >>> Pksampler-devel mailing list > > >>> Pks...@li... > > >>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > >>> > > >>> > > >> > > >> > > >> > > >> ------------------------------------------------------- > > >> This SF.Net email is sponsored by: > > >> Power Architecture Resource Center: Free content, downloads, > > >> discussions, > > >> and more. http://solutions.newsforge.com/ibmarch.tmpl > > >> _______________________________________________ > > >> Pksampler-devel mailing list > > >> Pks...@li... > > >> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > >> > > >> > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, > > > discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > _______________________________________________ > > > Pksampler-devel mailing list > > > Pks...@li... > > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Pksampler-devel mailing list > > Pks...@li... > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > |
From: cies <cie...@gm...> - 2005-10-11 20:50:19
|
On 10/11/05, Patrick Stinson <pat...@gc...> wrote: > It would be very nice to be able to nail down those server crashes. > I've never seen it crash so much. how clean is your box? i crash it all the time (lets say 1 out 10 runs for a file that works, only some of my mp3s, oggs and wavs seem to work) im using suse 9.3 (regular intel x86 build) and my box is more than clean enough... running everything as root (makes it possible for me to set jack to realtime), yet only one try out of the 50 resulted in some sound, here and exerpt: linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 _default_event_callback sample:loaded 15 linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 pkaudiod Server crashed! (signal 11) linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 _default_event_callback sample:loaded 15 linux:/home/cies/src/repos/bin # linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 pkaudiod Server crashed! (signal 11) linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 _default_event_callback sample:loaded 15 linux:/home/cies/src/repos/bin # ./pkplay -v -f /home/cies/metniks\ -\ hardcore\ van\ lik\ me\ vesje\!\!\!.mp3 playing /home/cies/metniks - hardcore van lik me vesje!!!.mp3 _default_event_callback sample:loaded 15 _c. > On Oct 11, 2005, at 11:46 AM, cies wrote: > > > finally at last... > > > > i jerked a bit of sound out of pkaudio! > > > > there is probably also something with the wavedecoder, since it doesnt > > produced sound for me. > > > > cies@linux:~/src/repos/bin> qjackctl & > > [1] 24422 > > cies@linux:~/src/repos/bin> Warning: no locale found: > > /usr/share/locale/qjackctl_en_US.UTF-8.qm > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Startup.wav > > playing /opt/kde3/share/sounds/KDE_Startup.wav # no sound > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Startup.wav > > playing /opt/kde3/share/sounds/KDE_Startup.wav # no sound > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ > > KDE_Vox_Yo.ogg > > playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg # FIRST SOUND! > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ > > KDE_Vox_Yo.ogg > > playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg #HUH?! > > pkaudiod Server crashed! (signal 11) > > detected server crash > > Traceback (most recent call last): > > File "./pkplay", line 34, in ? > > s =3D pk.audio.Sample(fpath) > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > 225, in __init__ > > Module.__init__(self, 'Sample', path) > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > 100, in __init__ > > id =3D core.createModule(mtype, name) > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 658, > > in createModule > > return _recvULong() > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 227, > > in _recvULong > > ret =3D _recv() > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > 218, in _recv > > raise ConnectionError('detected server crash') > > pk.audio.core.ConnectionError: detected server crash > > Exception exceptions.AttributeError: <exceptions.AttributeError > > instance at 0x4042ca6c> in <bound method Sample.__del__ of > > <pk.audio.modules.Sample instance at 0x405f40ec>> ignored > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f /opt/kde3/share/sounds/ > > KDE_Vox_Yo.ogg > > playing /opt/kde3/share/sounds/KDE_Vox_Yo.ogg # and now it just works > > again.. strange > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Glass_Break.ogg > > playing /opt/kde3/share/sounds/KDE_Glass_Break.ogg # no sound > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Logout_1.ogg > > playing /opt/kde3/share/sounds/KDE_Logout_1.ogg # sound! > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Logout_1.ogg > > playing /opt/kde3/share/sounds/KDE_Logout_1.ogg # sound! > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Logout_2.ogg > > playing /opt/kde3/share/sounds/KDE_Logout_2.ogg # no sound... > > _default_event_callback sample:loaded 15 > > > > cies@linux:~/src/repos/bin> ./pkplay -v -f > > /opt/kde3/share/sounds/KDE_Logout_2.ogg > > playing /opt/kde3/share/sounds/KDE_Logout_2.ogg # BOOM! > > pkaudiod Server crashed! (signal 11) > > detected server crash > > Traceback (most recent call last): > > File "./pkplay", line 34, in ? > > s =3D pk.audio.Sample(fpath) > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > 225, in __init__ > > Module.__init__(self, 'Sample', path) > > File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", line > > 100, in __init__ > > id =3D core.createModule(mtype, name) > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 658, > > in createModule > > return _recvULong() > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line 227, > > in _recvULong > > ret =3D _recv() > > File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > > 218, in _recv > > raise ConnectionError('detected server crash') > > pk.audio.core.ConnectionError: detected server crash > > Exception exceptions.AttributeError: <exceptions.AttributeError > > instance at 0x4042ca6c> in <bound method Sample.__del__ of > > <pk.audio.modules.Sample instance at 0x405f40cc>> ignored > > > > > > maybe it has something to do with the XRUNs issue that i didnt fix > > yet, yet i doubt it... > > > > > > > > i already stared to work a bit on an alternative implementation using > > RtAudio an some Secret Rabbit Code (libsamplerate), but that is on > > hold now. > > > > i much rather use a Qt-style api to do all i need (file loading, > > sample rate conversion, audiodevice handling) and more over c-ish > > nonsense... ohh, and now i can also prototype in python (the language > > that i get paid for to code in -- yet i still suck at it) > > > > i'll write more later, i've got to code a bit now... > > > > _c. > > > > On 10/11/05, Patrick Stinson <pat...@gc...> wrote: > > > >> I have updated pkplay to use pk.options. You might check out that > >> file to learn how to use pk.options. you can also grep the tree for > >> OptionsGroup. > >> > >> On Oct 11, 2005, at 2:59 AM, cies wrote: > >> > >> > >>> hmm... verbose on? pkplay does let me put verbose on. try it and you > >>> see why, it just doesnt let you. > >>> > >>> > >>> > >>> > >>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: > >>> > >>> > >>>> hmm. I'm not sure what to say for the crashes, unless you debug > >>>> pkaudiod (which you can, btw). > >>>> > >>>> pkplay is the easiest way to play sound. > >>>> > >>>> again, try running everything with verbose on. start_server() has > >>>> that option, and pkplay should too. look at the pthon code for api > >>>> references. > >>>> > >>>> > >>>> On Oct 10, 2005, at 4:23 PM, cies wrote: > >>>> > >>>> > >>>> > >>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: > >>>>> > >>>>> > >>>>> > >>>>>> > >>>>>> On Oct 10, 2005, at 3:56 PM, cies wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>> On 10/10/05, Patrick Stinson <pat...@gc...> wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> did you start the jack server? I use qjackctl. > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> okay got some further... (apperrently i missed something > >>>>>>> somewhere) > >>>>>>> > >>>>>>> jack runs (through qjackctl), yet with XRUNs once every while > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> install realtime-lsm (google realtime-lsm and your platform) to > >>>>>> allow > >>>>>> your user to run jack with realtime priority. you also want to > >>>>>> run > >>>>>> pkaudio with realtime priority. that will get rid of the xruns. > >>>>>> > >>>>>> http://gentoo-wiki.com/HOWTO_Jack > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>> > >>>>>>> i can get jack_metronome to 'sound' > >>>>>>> > >>>>>>> then i try: > >>>>>>> pkplay /opt/kde3/share/sounds/KDE_Startup.wav > >>>>>>> (does something, i see connections coming and going in > >>>>>>> qjackctl, but > >>>>>>> no sound and the runtime is too short to play the sample > >>>>>>> properly) > >>>>>>> > >>>>>>> pksampler > >>>>>>> (didnt start at first, but after creating /home/cies/wav, > >>>>>>> what it > >>>>>>> wanted, i was able to see the app -- no sound) > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> right. I haven't put that into a host config yet, so I hard- > >>>>>> coded it. > >>>>>> I haven't really designed the sample library directory yet, > >>>>>> either. > >>>>>> the current pksampler code is really in hack phase for now. > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>> > >>>>>>> > >>>>>>> pkrack - worked yet silent > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> pkrack doesn't make any noise itself. it just gives you the > >>>>>> rack so > >>>>>> you can add some modules to it. the only module I have so far is > >>>>>> pk.sampler. If you get pkplay to play something, then audio is > >>>>>> all > >>>>>> set. if you get pkrack up, then the gui is all set. try pkplay > >>>>>> with > >>>>>> the --verbose option. this also turns on verbosity for the > >>>>>> pkaudio > >>>>>> daemon. > >>>>>> > >>>>>> also, try pkplay --help. > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> i did many times... i thought pkplay was the easiest path to > >>>>> actually > >>>>> hearing some sound... yet it didnt help much. > >>>>> > >>>>> okay, i do it from the python commandline: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>>> import time > >>>>>>>> import sys > >>>>>>>> import pk.audio > >>>>>>>> import pk.options > >>>>>>>> pk.options.parse_args() > >>>>>>>> pk.audio.start_server() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> True > >>>>> > >>>>> > >>>>> > >>>>>>>> d =3D pk.audio.Driver() > >>>>>>>> s =3D pk.audio.Sample("/opt/kde3/share/sounds/KDE_Startup.wav") > >>>>>>>> d.getMixer(0).connect(s.outputPort()) > >>>>>>>> s.play() > >>>>>>>> s.play() > >>>>>>>> s.play() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> > >>>>> --> no sound! > >>>>> okay then i did some thing that might be terribly wrong but > >>>>> heay! im > >>>>> trying for hours (over the last days) and i keep on doing that... > >>>>> > >>>>> maybe you understand something out of this: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> KeyboardInterrupt > >>>>> > >>>>> > >>>>> > >>>>>>>> s =3D pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> detected server crash > >>>>> Traceback (most recent call last): > >>>>> File "<stdin>", line 1, in ? > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 224, in __init__ > >>>>> core.loadModule('pksample') > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 818, > >>>>> in loadModule > >>>>> return _recvNull() > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 242, > >>>>> in _recvNull > >>>>> ret =3D _recv() > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 218, in _recv > >>>>> raise ConnectionError('detected server crash') > >>>>> pk.audio.core.ConnectionError: detected server crash > >>>>> > >>>>> > >>>>> > >>>>>>>> pk.options.parse_args() > >>>>>>>> pk.audio.start_server() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> True > >>>>> > >>>>> > >>>>> > >>>>>>>> s =3D pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") > >>>>>>>> d =3D pk.audio.Driver() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> detected server crash > >>>>> detected server crash > >>>>> Exception exceptions.AttributeError: <exceptions.AttributeError > >>>>> instance at 0x406738cc> in <bound method Sample.__del__ of > >>>>> <pk.audio.modules.Sample instance at 0x4049298c>> ignored > >>>>> Traceback (most recent call last): > >>>>> File "<stdin>", line 1, in ? > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 180, in __init__ > >>>>> raise ConnectionError('not connected to server, connect with > >>>>> "start_server()"') > >>>>> pk.audio.modules.ConnectionError: not connected to server, connect > >>>>> with "start_server()" > >>>>> > >>>>> > >>>>> > >>>>>>>> d =3D pk.audio.Driver() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> Traceback (most recent call last): > >>>>> File "<stdin>", line 1, in ? > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 180, in __init__ > >>>>> raise ConnectionError('not connected to server, connect with > >>>>> "start_server()"') > >>>>> pk.audio.modules.ConnectionError: not connected to server, connect > >>>>> with "start_server()" > >>>>> > >>>>> > >>>>> > >>>>>>>> pk.options.parse_args() > >>>>>>>> pk.audio.start_server() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> True > >>>>> > >>>>> > >>>>> > >>>>>>>> d =3D pk.audio.Driver() > >>>>>>>> s =3D pk.audio.Sample("/usr/lib/pd/doc/sound/voice.wav") > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> Traceback (most recent call last): > >>>>> File "<stdin>", line 1, in ? > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 225, in __init__ > >>>>> Module.__init__(self, 'Sample', path) > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 102, in __init__ > >>>>> self._syncModuleInfo() > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 119, in _syncModuleInfo > >>>>> self.info =3D core.getModuleInfo(self.id()) > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 694, > >>>>> in getModuleInfo > >>>>> return _recvModuleInfo() > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 260, > >>>>> in _recvModuleInfo > >>>>> ret =3D _recvString() > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 252, > >>>>> in _recvString > >>>>> ret =3D _recv() > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 220, in _recv > >>>>> ret +=3D _sock.recv(1024) > >>>>> socket.error: (104, 'Connection reset by peer') > >>>>> > >>>>> > >>>>> > >>>>>>>> s.play() > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>> Exception exceptions.ValueError: <exceptions.ValueError > >>>>> instance at > >>>>> 0x406737ec> in <bound method Sample.__del__ of > >>>>> <pk.audio.modules.Sample instance at 0x4067344c>> ignored > >>>>> Traceback (most recent call last): > >>>>> File "<stdin>", line 1, in ? > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 251, in play > >>>>> self.setProperty('playing', core.TRUE) > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/modules.py", > >>>>> line > >>>>> 128, in setProperty > >>>>> core.setProperty(self.info['id'], name, val) > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 725, > >>>>> in setProperty > >>>>> _send(msg('MLsf', 'SetProperty', mid, ctl, float(val))) > >>>>> File "/usr/lib/python2.4/site-packages/pk/audio/core.py", line > >>>>> 196, in _send > >>>>> except socket.error, (errno, e): > >>>>> ValueError: need more than 1 value to unpack > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> i'm off to bed. > >>>>> _c. > >>>>> > >>>>> > >>>>> ------------------------------------------------------- > >>>>> This SF.Net email is sponsored by: > >>>>> Power Architecture Resource Center: Free content, downloads, > >>>>> discussions, > >>>>> and more. http://solutions.newsforge.com/ibmarch.tmpl > >>>>> _______________________________________________ > >>>>> Pksampler-devel mailing list > >>>>> Pks...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >>>> > >>>> ------------------------------------------------------- > >>>> This SF.Net email is sponsored by: > >>>> Power Architecture Resource Center: Free content, downloads, > >>>> discussions, > >>>> and more. http://solutions.newsforge.com/ibmarch.tmpl > >>>> _______________________________________________ > >>>> Pksampler-devel mailing list > >>>> Pks...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > >>>> > >>>> > >>>> > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.Net email is sponsored by: > >>> Power Architecture Resource Center: Free content, downloads, > >>> discussions, > >>> and more. http://solutions.newsforge.com/ibmarch.tmpl > >>> _______________________________________________ > >>> Pksampler-devel mailing list > >>> Pks...@li... > >>> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > >>> > >>> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: > >> Power Architecture Resource Center: Free content, downloads, > >> discussions, > >> and more. http://solutions.newsforge.com/ibmarch.tmpl > >> _______________________________________________ > >> Pksampler-devel mailing list > >> Pks...@li... > >> https://lists.sourceforge.net/lists/listinfo/pksampler-devel > >> > >> > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > > discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Pksampler-devel mailing list > > Pks...@li... > > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Pksampler-devel mailing list > Pks...@li... > https://lists.sourceforge.net/lists/listinfo/pksampler-devel > |