Csound Csound-dev Csound-tekno Search About

[Csnd] CsounQt python API | color controller | Trapped in convent

Date2012-07-10 09:50
FromTarmo Johannes
Subject[Csnd] CsounQt python API | color controller | Trapped in convent
Attachmentsrgb-widgets.csd  qt-color-controller.py  
Hello,

I just finished writing an extensive wiki about using python possibilities in 
CsoundQt, see 

https://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Python_API_in_CsoundQt

For an example about using some Qt feature that is not otherwise possible in 
CsoundQt I thought about color picking dialog - when user moves cursor  in  
the color picking frame around, the constantly changing RGB values get 
forwarded to csound as parameters for sound control - so with one mouse 
movements three values (+ darkness factor) can be controlled. Not very 
practical, but nice and fun tool in some occasion.

Thinking about colours, I reminded immediately "Trapped in convent" by Richard 
Boulanger and I picked three intruments, obviously red, green and blue from it 
and the RGB values control the mix between theses three.

I attach the python script and csd. To test the py script, CsoundQt must be 
compiled with PythonQt support.

Dr. Boulanger, please let me know if you find this use of your instruments 
ripping them out from their right context inappropriate and  I will remove 
this example immediately!

with kindest regards,
tarmo


Date2012-07-10 09:55
FromTarmo Johannes
Subject[Csnd] Re: CsounQt python API | color controller | Trapped in convent
Attachmentsqt-color-controller.py  
sorry,

one line in the pythonscript got deleted somehow:

from PythonQt.Qt import *

the on in previous mail does not work,
this one does.

tarmo

On Tuesday 10 July 2012 11:50:09 Tarmo Johannes wrote:
> Hello,
> 
> I just finished writing an extensive wiki about using python possibilities
> in CsoundQt, see
> 
> https://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Python_API
> _in_CsoundQt
> 
> For an example about using some Qt feature that is not otherwise possible in
> CsoundQt I thought about color picking dialog - when user moves cursor  in
> the color picking frame around, the constantly changing RGB values get
> forwarded to csound as parameters for sound control - so with one mouse
> movements three values (+ darkness factor) can be controlled. Not very
> practical, but nice and fun tool in some occasion.
> 
> Thinking about colours, I reminded immediately "Trapped in convent" by
> Richard Boulanger and I picked three intruments, obviously red, green and
> blue from it and the RGB values control the mix between theses three.
> 
> I attach the python script and csd. To test the py script, CsoundQt must be
> compiled with PythonQt support.
> 
> Dr. Boulanger, please let me know if you find this use of your instruments
> ripping them out from their right context inappropriate and  I will remove
> this example immediately!
> 
> with kindest regards,
> tarmo

Date2012-07-10 15:06
From"Dr. Richard Boulanger"
Subject[Csnd] Re: CsounQt python API | color controller | Trapped in convent
Tarmo,

This is a really wonderful tutorial and collection of examples that help to open this exciting new world of possibilities
to all of us.  I am particularly excited and gratified that you did something with some of my Trapped in Convert instruments!

I have spent a wonderful morning here in my studio with CsoundQt and Python.  Thanks so much for the inspiration.

Dr.B.
___________________________________

Dr. Richard Boulanger, Ph.D.

Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
1140 Boylston Street
Boston, MA 02215-3693

617-747-2485 (office)
774-488-9166 (cell)


____________________________________



____________________________________

____________________________________

On Jul 10, 2012, at 4:50 AM, Tarmo Johannes wrote:

Hello,

I just finished writing an extensive wiki about using python possibilities in
CsoundQt, see

https://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Python_API_in_CsoundQt

For an example about using some Qt feature that is not otherwise possible in
CsoundQt I thought about color picking dialog - when user moves cursor  in  
the color picking frame around, the constantly changing RGB values get
forwarded to csound as parameters for sound control - so with one mouse
movements three values (+ darkness factor) can be controlled. Not very
practical, but nice and fun tool in some occasion.

Thinking about colours, I reminded immediately "Trapped in convent" by Richard
Boulanger and I picked three intruments, obviously red, green and blue from it
and the RGB values control the mix between theses three.

I attach the python script and csd. To test the py script, CsoundQt must be
compiled with PythonQt support.

Dr. Boulanger, please let me know if you find this use of your instruments
ripping them out from their right context inappropriate and  I will remove
this example immediately!

with kindest regards,
tarmo

<rgb-widgets.csd><qt-color-controller.py>


Date2012-07-10 18:55
Fromjoachim heintz
SubjectRe: [Csnd] CsounQt python API | color controller | Trapped in convent
brilliant, tarmo. thanks for this!
	joachim

Am 10.07.2012 10:50, schrieb Tarmo Johannes:
> Hello,
> 
> I just finished writing an extensive wiki about using python possibilities in 
> CsoundQt, see 
> 
> https://sourceforge.net/apps/mediawiki/qutecsound/index.php?title=Python_API_in_CsoundQt
> 
> For an example about using some Qt feature that is not otherwise possible in 
> CsoundQt I thought about color picking dialog - when user moves cursor  in  
> the color picking frame around, the constantly changing RGB values get 
> forwarded to csound as parameters for sound control - so with one mouse 
> movements three values (+ darkness factor) can be controlled. Not very 
> practical, but nice and fun tool in some occasion.
> 
> Thinking about colours, I reminded immediately "Trapped in convent" by Richard 
> Boulanger and I picked three intruments, obviously red, green and blue from it 
> and the RGB values control the mix between theses three.
> 
> I attach the python script and csd. To test the py script, CsoundQt must be 
> compiled with PythonQt support.
> 
> Dr. Boulanger, please let me know if you find this use of your instruments 
> ripping them out from their right context inappropriate and  I will remove 
> this example immediately!
> 
> with kindest regards,
> tarmo
> 
> 
> 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"
>