[Csnd] partikkel cloud designer problem
| Date | 2011-05-06 21:00 |
| From | Michael Bechard |
| Subject | [Csnd] partikkel cloud designer problem |
I guess this message is more for Oeyvind, but if anyone else has found a
solution to this same problem, please chip in.
I'm trying to run partikkel cloud designer (I've installed and used successfully
partikkel explorer), everything seems to run ok, except the two windows don't
seem to render any of their child widgets. The following is the standard output:
csound loaded
waiting for disk read of presets and data
loaded orig2a_1
loaded v1bird3
loaded sync_v4fragment
loaded v2cresc2
loaded sync_v4cresc2a
...
loaded v1sparse
loaded v4fragWave
loaded sync_v4fragment4
BEGAN CppSound::compile()...
BEGAN CppSound::compile(10, 0x86a4ae0)...
virtual_keyboard real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
PortMIDI real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.13 (double samples) Mar 8 2011
libsndfile-1.0.23
orchname: temp.orc
scorename: temp.sco
RAWWAVE_PATH: /usr/share/stk/rawwaves/
rtmidi: PortMIDI module enabled
rtaudio: JACK module enabled
orch compiler:
instr 5
instr 101
instr 102
instr 103
instr 105
instr 301
instr 302
instr 9999
sorting score ...
... done
Csound version 5.13 (double samples) Mar 8 2011
midi channel 1 using instr 5
midi channel 2 using instr 5
midi channel 3 using instr 5
midi channel 4 using instr 5
midi channel 5 using instr 5
midi channel 6 using instr 5
midi channel 7 using instr 5
midi channel 8 using instr 5
midi channel 9 using instr 5
midi channel 10 using instr 5
midi channel 11 using instr 5
midi channel 12 using instr 5
midi channel 13 using instr 5
midi channel 14 using instr 5
midi channel 15 using instr 5
midi channel 16 using instr 5
displays suppressed
0dBFS level = 32768.0
The available MIDI in devices are:
0: Midi Through Port-0 (ALSA)
1: M Audio Audiophile 24/96 MIDI (ALSA)
PortMIDI: Activated input device 1: 'M Audio Audiophile 24/96 MIDI' (ALSA)
orch now loaded
audio buffered in 256 sample-frame blocks
reading 1024-byte blks of shorts from adc:system:capture_ (RAW)
writing 1024-byte blks of shorts to dac:system:playback_
SECTION 1:
ENDED CppSound::compile.
ENDED CppSound::compile.
sent control particleWave1 145.0
sent control particleWave2 145.0
sent control particleWave3 145.0
sent control particleWave4 145.0
turning on csound instruments
I'm using python-wxgtk version 2.8 on Ubuntu (natty), python version 2.7.1,
CSound v5.13
Now, I searched Nabble to see if anyone's ever had this problem before and I
found this:
http://csound.1045644.n5.nabble.com/partikkel-cloud-designer-td1111597.html.
Problem is, that thread never seemed to show a resolution, and the link to the
wxGTK bug doesn't work, so I'm still lost. Anybody have any ideas?
Thanks,
Michael Bechard
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-05-10 07:32 |
| From | Oeyvind Brandtsegg |
| Subject | Re: [Csnd] partikkel cloud designer problem |
| Attachments | csoundModule_perfthread.py |
Hello, Sorry for the delay. It looks as if Csound and the orchestra is running fine, but still, as a shot in the dark, you might try using the performanceThread instead of performKsmps. A modified csoundModule.py is attached (csoundModule_perfthread.py, rename it to csoundModulepy and put it in the cs directory under partikkleCloudDesigner). However, the problem might be related to slightly different implementations of wx. PartikkelCloudDesigner uses dynamic python code (in cloudGui.py), and this makes it slightly harder to debug (I think). Could you try running just python cloudGui.py to see if the widgets show up then? Oeyvind 2011/5/6 Michael Bechard |
| Date | 2011-05-11 03:01 |
| From | Michael Bechard |
| Subject | Re: [Csnd] partikkel cloud designer problem |
"python cloudGui.py" just renders a blank "Cloud Presets Controls" dialog. There's no standard output other than "Gtk-Message: Failed to load module "pk-gtk-module" (and I get that in like every other app I run in Ubuntu). Thanks, Michael Bechard ----- Original Message ---- From: Oeyvind Brandtsegg |
| Date | 2011-05-11 07:30 |
| From | Oeyvind Brandtsegg |
| Subject | Re: [Csnd] partikkel cloud designer problem |
Hm, The "Failed to load module pk-gtk-module" message could suggest that there is something less than optimal with your wx/gtk setup (but I'm no expert on that, it might be harmless) I'm searching in the dark here, as I can't reproduce the error. I tried a slight variation on the generation of the frame, could you try running this? Next step will neccessarily be to strip the frame down to a bare minimum to identify the error. Oeyvind 2011/5/11 Michael Bechard |
| Date | 2011-05-11 07:31 |
| From | Oeyvind Brandtsegg |
| Subject | Re: [Csnd] partikkel cloud designer problem |
| Attachments | cloudGui_test.py |
... and here's the attacment suppoesed to follow the previous mail. oeyvind 2011/5/11 Oeyvind Brandtsegg |
| Date | 2011-05-11 14:26 |
| From | Rene Jopi |
| Subject | Re: [Csnd] partikkel cloud designer problem |
| Hi all, From wxPython user group, on sizer: << You should assign the sizer to the panel, not to self. The items being managed by the sizer are children of the panel, and so it is the panel who should be responsible for their layout.
>>
I have changed PlayControls.py line 230 = sizer1.SetSizeHints(panel) and CloudGui.py line 85 = self.sizer1.SetSizeHints(self.panel) and the widgets magically appear (on Ubuntu 10.04 and python-wxgtk2.8)
but the windows are not automatically resized. Hope this help René 2011/5/11 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> ... and here's the attacment suppoesed to follow the previous mail. |
| Date | 2011-05-12 08:14 |
| From | Oeyvind Brandtsegg |
| Subject | Re: [Csnd] partikkel cloud designer problem |
Good, thanks for the input on this, Rene. Here (on win) it works just as well both ways, except I get correct resizing when using setSizeHints on self. It would have been nice to get both the compatibility with wxgtk and correct resizing, but I was not able to understand how to do that. Michael, did you try Rene's fix and did it work out for you ? best Oeyvind 2011/5/11 Rene Jopi |
| Date | 2011-05-12 15:49 |
| From | Michael Bechard |
| Subject | Re: [Csnd] partikkel cloud designer problem |
Haven't gotten a chance, I will either tonight or tomorrow. Thanks Rene! Michael Bechard ----- Original Message ---- From: Oeyvind Brandtsegg |
| Date | 2011-05-12 22:46 |
| From | Michael Bechard |
| Subject | Re: [Csnd] partikkel cloud designer problem |
Cool, it worked! Thanks again, Oeyvind and Rene. I look forward to creating some strange soundscapes with this! Michael Bechard ----- Original Message ---- From: Oeyvind Brandtsegg |
| Date | 2011-05-13 08:50 |
| From | Oeyvind Brandtsegg |
| Subject | Re: [Csnd] partikkel cloud designer problem |
Glad it worked out, thanks to Rene. Oeyvind 2011/5/12 Michael Bechard |
| Date | 2011-05-13 12:27 |
| From | Rene Jopi |
| Subject | Re: [Csnd] partikkel cloud designer problem |
| Have fun...:) Oeyvind, thanks for sharing your work. Improsculpt is my favourite, i try to port to QuteCsound but the GUI is huge because all the widgets have to be in only one window.
I will try ImproSculpt4 soon... Best Regards, René 2011/5/13 Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> Glad it worked out, |
| Date | 2011-05-13 12:28 |
| From | Andres Cabrera |
| Subject | Re: [Csnd] partikkel cloud designer problem |
Maybe Inprosculpt could be run through the Python interface of QuteCsound... Cheers, Andres On Fri, May 13, 2011 at 12:27 PM, Rene Jopi |