Csound Csound-dev Csound-tekno Search About

[Csnd] CSound_Widgets&Python

Date2019-02-04 16:01
FromSalvatore Mirenda
Subject[Csnd] CSound_Widgets&Python
Hi all,
I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
Thanks a lot
Salvatore

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-02-04 17:48
FromVictor Lazzarini
SubjectRe: [Csnd] CSound_Widgets&Python
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 4 Feb 2019, at 16:01, Salvatore Mirenda  wrote:
> 
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-02-04 18:12
FromSalvatore Mirenda
SubjectRe: [Csnd] CSound_Widgets&Python
Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-04 18:15
FromVictor Lazzarini
SubjectRe: [Csnd] CSound_Widgets&Python
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-04 18:17
FromSalvatore Mirenda
SubjectRe: [Csnd] CSound_Widgets&Python
Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-04 18:32
FromVictor Lazzarini
SubjectRe: [Csnd] CSound_Widgets&Python
PyO afaik is not for GUI but a Csound replacement.

Tkinter is dead easy to use with ctcsound.
I might have a simple example lying around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:17, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-04 18:44
FromSalvatore Mirenda
SubjectRe: [Csnd] CSound_Widgets&Python
Yeah....tkinter very easy to use, infact I'm not wondering how to use it, already know...pyo is just a nice python module for me....Anyway I think there's no answer for my question probably because it's a strange question... 

Il giorno lun 4 feb 2019, 19:32 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
PyO afaik is not for GUI but a Csound replacement.

Tkinter is dead easy to use with ctcsound.
I might have a simple example lying around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:17, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-04 19:31
FromRichard
SubjectRe: [Csnd] CSound_Widgets&Python

I recommend PySimpleGUI, it is based on tkinter but very easy to use..

Richard

On 04/02/2019 19:44, Salvatore Mirenda wrote:
Yeah....tkinter very easy to use, infact I'm not wondering how to use it, already know...pyo is just a nice python module for me....Anyway I think there's no answer for my question probably because it's a strange question... 

Il giorno lun 4 feb 2019, 19:32 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
PyO afaik is not for GUI but a Csound replacement.

Tkinter is dead easy to use with ctcsound.
I might have a simple example lying around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:17, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-04 19:55
FromSalvatore Mirenda
SubjectRe: [Csnd] CSound_Widgets&Python
Thank you...I'll give it a sight...

Il giorno lun 4 feb 2019, 20:31 Richard <zappfinger@gmail.com> ha scritto:

I recommend PySimpleGUI, it is based on tkinter but very easy to use..

Richard

On 04/02/2019 19:44, Salvatore Mirenda wrote:
Yeah....tkinter very easy to use, infact I'm not wondering how to use it, already know...pyo is just a nice python module for me....Anyway I think there's no answer for my question probably because it's a strange question... 

Il giorno lun 4 feb 2019, 19:32 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
PyO afaik is not for GUI but a Csound replacement.

Tkinter is dead easy to use with ctcsound.
I might have a simple example lying around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:17, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-05 10:28
Fromfrancesco armando Porta
SubjectRe: [Csnd] CSound_Widgets&Python
i do not know if this could help but you can see here

maybe you can find something useful.

ciao
francesco


Il giorno Lun 4 Feb 2019, 20:55 Salvatore Mirenda <salvatore.mirenda78@gmail.com> ha scritto:
Thank you...I'll give it a sight...

Il giorno lun 4 feb 2019, 20:31 Richard <zappfinger@gmail.com> ha scritto:

I recommend PySimpleGUI, it is based on tkinter but very easy to use..

Richard

On 04/02/2019 19:44, Salvatore Mirenda wrote:
Yeah....tkinter very easy to use, infact I'm not wondering how to use it, already know...pyo is just a nice python module for me....Anyway I think there's no answer for my question probably because it's a strange question... 

Il giorno lun 4 feb 2019, 19:32 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
PyO afaik is not for GUI but a Csound replacement.

Tkinter is dead easy to use with ctcsound.
I might have a simple example lying around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:17, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-02-05 14:05
FromSalvatore Mirenda
SubjectRe: [Csnd] CSound_Widgets&Python
Thanks Francesco…ciao

Il giorno 5 feb 2019, alle ore 11:28, francesco armando Porta <francescoarmandoporta@GMAIL.COM> ha scritto:

i do not know if this could help but you can see here

maybe you can find something useful.

ciao
francesco


Il giorno Lun 4 Feb 2019, 20:55 Salvatore Mirenda <salvatore.mirenda78@gmail.com> ha scritto:
Thank you...I'll give it a sight...

Il giorno lun 4 feb 2019, 20:31 Richard <zappfinger@gmail.com> ha scritto:

I recommend PySimpleGUI, it is based on tkinter but very easy to use..

Richard

On 04/02/2019 19:44, Salvatore Mirenda wrote:
Yeah....tkinter very easy to use, infact I'm not wondering how to use it, already know...pyo is just a nice python module for me....Anyway I think there's no answer for my question probably because it's a strange question... 

Il giorno lun 4 feb 2019, 19:32 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
PyO afaik is not for GUI but a Csound replacement.

Tkinter is dead easy to use with ctcsound.
I might have a simple example lying around.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:17, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Yeah tkinter or pyo module

Il giorno lun 4 feb 2019, 19:15 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
What GUI are you using for this? TkInter?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 4 Feb 2019, at 18:12, Salvatore Mirenda <salvatore.mirenda78@gmail.com> wrote:

Not FLTK but just widgets (simple widgets wrote as in the examples on qtcsound menu). 
So apart from cabbage audio must be another way to build executable from a csd in which I incorporate sliders, knobs etc and I was wondering how to do that using PYTHON module of csound. 

Il giorno lun 4 feb 2019, 18:48 Victor Lazzarini <Victor.Lazzarini@mu.ie> ha scritto:
If I understand you, you’re trying to use the FLTK widgets from Python. Unless this is a gui-less Python (say, started from the terminal), I have
the impression there will be trouble as FLTK graphics are known to be problematic co-existing with other GUI frameworks,
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 4 Feb 2019, at 16:01, Salvatore Mirenda <salvatore.mirenda78@GMAIL.COM> wrote:
>
> Hi all,
> I was wondering if there's any solution of integrating CSound widgets in python. What I want to do is writing CSound's instruments for realtime control (using widgets) and then running them via Python from where I should build the executable of the final App using for example pyinstaller. Right now they works fine but I can just integrate CSound in Python using the ctcsound module only hearing a sound from a plain .csd (like any kind of instr but using normal orc and sco without wdgets), if I write a .csd with widgets I can't see/hear anything in the Python shell.
> Thanks a lot
> Salvatore
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here