[Csnd] FM synth with PySimpleGUI
Date | 2018-11-04 12:40 |
From | Richard |
Subject | [Csnd] FM synth with PySimpleGUI |
Attachments | Screen Shot 2018-11-04 at 13.28.11.png |
PySimpleGUI is very powerful. This screen shot shows how little code is needed to create the sliders window... Richard 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 |
Date | 2018-11-04 12:48 |
From | Tarmo Johannes |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
Seems really good framework! I will dedinitely check it out. Thanks for sharing! Tarmo 4. nov 2018 2:40 PM kirjutas kuupäeval "Richard" <zappfinger@gmail.com>: PySimpleGUI is very powerful. This screen shot shows how little code is |
Date | 2018-11-04 19:43 |
From | joachim heintz |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
nice, thanks. can you post the whole python code and the csd you use? best - joachim On 04/11/18 13:40, Richard wrote: > PySimpleGUI is very powerful. This screen shot shows how little code is > needed to create the sliders window... > > > > Richard > > > 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 |
Date | 2018-11-04 21:06 |
From | Richard |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
Attachments | simpleGUI.py Simple_FM_Synth.csd |
Sure, here it is.. Richard On 04/11/18 20:43, joachim heintz wrote: > nice, thanks. can you post the whole python code and the csd you use? > best - > joachim > > > > On 04/11/18 13:40, Richard wrote: >> PySimpleGUI is very powerful. This screen shot shows how little code is >> needed to create the sliders window... >> >> >> >> Richard >> >> >> 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 |
Date | 2018-11-04 21:25 |
From | joachim heintz |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
thanks. what is the reference for this import: from csoundSession import CsoundSession i think it is not included? On 04/11/18 22:06, Richard wrote: > Sure, here it is.. > > Richard > > > On 04/11/18 20:43, joachim heintz wrote: >> nice, thanks. can you post the whole python code and the csd you use? >> best - >> joachim >> >> >> >> On 04/11/18 13:40, Richard wrote: >>> PySimpleGUI is very powerful. This screen shot shows how little code is >>> needed to create the sliders window... >>> >>> >>> >>> Richard >>> >>> >>> 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 |
Date | 2018-11-04 21:33 |
From | Richard |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
Attachments | csoundSession.py |
You are right, attached now. On 04/11/18 22:25, joachim heintz wrote: > thanks. what is the reference for this import: > from csoundSession import CsoundSession > > i think it is not included? > > > On 04/11/18 22:06, Richard wrote: >> Sure, here it is.. >> >> Richard >> >> >> On 04/11/18 20:43, joachim heintz wrote: >>> nice, thanks. can you post the whole python code and the csd you use? >>> best - >>> joachim >>> >>> >>> >>> On 04/11/18 13:40, Richard wrote: >>>> PySimpleGUI is very powerful. This screen shot shows how little >>>> code is >>>> needed to create the sliders window... >>>> >>>> >>>> >>>> Richard >>>> >>>> >>>> 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 |
Date | 2018-11-04 22:19 |
From | joachim heintz |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
thanks. i see now that it is more or less included in the ctcsound repo. it is nearly working now, but: TypeError Traceback (most recent call last) |
Date | 2018-11-04 23:21 |
From | Forrest Curo |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
Hmm, suppose one combined the PYSimpleGUI with a python OSC module, & used that to control csound indirectly. Would that slow things down much? On Sun, Nov 4, 2018 at 2:19 PM joachim heintz <jh@joachimheintz.de> wrote: thanks. i see now that it is more or less included in the ctcsound |
Date | 2018-11-05 08:14 |
From | Richard van Bemmelen |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
It looks like values[0] is None. You could verify that by uncommenting the print statement. No idea why. Can you try it on another platform? I can try it later on my RPi or on Ubuntu. Richard Op zo 4 nov. 2018 om 23:19 schreef joachim heintz <jh@joachimheintz.de>: thanks. i see now that it is more or less included in the ctcsound |
Date | 2018-11-05 08:18 |
From | Richard van Bemmelen |
Subject | Re: [Csnd] FM synth with PySimpleGUI |
That should work and I do not think it will slow down things. PySimpleGUI does not use call backs but uses this in a while loop: event, values = window.Read(timeout=20) You can play with the timeout value (now 20 ms) and make it less Richard Op ma 5 nov. 2018 om 00:21 schreef Forrest Curo <treegestalt@gmail.com>:
|