Csound Csound-dev Csound-tekno Search About

Prototype for Csound app

Date2015-12-17 18:56
FromAnton Kholomiov
SubjectPrototype for Csound app
I've made a small demo of my csound instruments.
It's collection of patches available in my haskell lib.
I thought that I'd like to make it useful for someone
who can not code in haskell. 
You can try it out here.


I'm thinking on implementing plugin or android version of it.

Anton
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

Date2015-12-17 19:38
FromSteven Yi
SubjectRe: Prototype for Csound app
Hi Anton,

Just FYI, I tried the install today but ran into a problem with one of the

dependencies (python-rtmidi):
Running python-rtmidi-0.5b1/setup.py -q bdist_egg --dist-dir
/var/folders/v2/lsdypnyj0_j22mxgrby_274h0000gn/T/easy_install-u9Em5u/python-rtmidi-0.5b1/egg-dist-tmp-E8JFlO
warning: no previously-included files found matching '*.rst.in'
warning: no previously-included files found matching 'deploy.sh'
warning: no previously-included files matching '*.pyc' found under
directory 'examples'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
no previously-included directories found matching 'include'
In file included from src/_rtmidi.cpp:4:
In file included from
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4:10:
fatal error: 'stdarg.h'
      file not found
#include 
         ^
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1

This is on OSX 10.10 with Python 2.7 from Homebrew.

I will give this a try on Linux later today.

Thanks!
steven


On Thu, Dec 17, 2015 at 1:56 PM, Anton Kholomiov
 wrote:
> I've made a small demo of my csound instruments.
> It's collection of patches available in my haskell lib.
> I thought that I'd like to make it useful for someone
> who can not code in haskell.
> You can try it out here.
>
> https://github.com/anton-k/tiny-synth
>
> I'm thinking on implementing plugin or android version of it.
>
> Anton
> 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

Date2015-12-17 19:41
FromGuillermo Senna
SubjectRe: Prototype for Csound app
Nice synth Anton!
In Ubuntu Studio -> Works with csound 6.02 but not with 6.06.

On 17/12/15 16:38, Steven Yi wrote:
> Hi Anton,
>
> Just FYI, I tried the install today but ran into a problem with one of the
>
> dependencies (python-rtmidi):
> Running python-rtmidi-0.5b1/setup.py -q bdist_egg --dist-dir
> /var/folders/v2/lsdypnyj0_j22mxgrby_274h0000gn/T/easy_install-u9Em5u/python-rtmidi-0.5b1/egg-dist-tmp-E8JFlO
> warning: no previously-included files found matching '*.rst.in'
> warning: no previously-included files found matching 'deploy.sh'
> warning: no previously-included files matching '*.pyc' found under
> directory 'examples'
> warning: no previously-included files matching '*.pyc' found under
> directory 'tests'
> no previously-included directories found matching 'include'
> In file included from src/_rtmidi.cpp:4:
> In file included from
> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4:10:
> fatal error: 'stdarg.h'
>        file not found
> #include 
>           ^
> 1 error generated.
> error: Setup script exited with error: command 'clang' failed with exit status 1
>
> This is on OSX 10.10 with Python 2.7 from Homebrew.
>
> I will give this a try on Linux later today.
>
> Thanks!
> steven
>
>
> On Thu, Dec 17, 2015 at 1:56 PM, Anton Kholomiov
>  wrote:
>> I've made a small demo of my csound instruments.
>> It's collection of patches available in my haskell lib.
>> I thought that I'd like to make it useful for someone
>> who can not code in haskell.
>> You can try it out here.
>>
>> https://github.com/anton-k/tiny-synth
>>
>> I'm thinking on implementing plugin or android version of it.
>>
>> Anton
>> 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

Date2015-12-17 19:44
FromAnton Kholomiov
SubjectRe: Prototype for Csound app
@Steven

Maybe you can try to install manually python packages: python-rtmidi, wxPython

@Guillermo
Thanks I'm glad that it works for you. Some features are not yet implemented
but I plan to complete them (like choosing the temperament or filter)

2015-12-17 22:41 GMT+03:00 Guillermo Senna <gsenna@gmail.com>:
Nice synth Anton!
In Ubuntu Studio -> Works with csound 6.02 but not with 6.06.


On 17/12/15 16:38, Steven Yi wrote:
Hi Anton,

Just FYI, I tried the install today but ran into a problem with one of the

dependencies (python-rtmidi):
Running python-rtmidi-0.5b1/setup.py -q bdist_egg --dist-dir
/var/folders/v2/lsdypnyj0_j22mxgrby_274h0000gn/T/easy_install-u9Em5u/python-rtmidi-0.5b1/egg-dist-tmp-E8JFlO
warning: no previously-included files found matching '*.rst.in'
warning: no previously-included files found matching 'deploy.sh'
warning: no previously-included files matching '*.pyc' found under
directory 'examples'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
no previously-included directories found matching 'include'
In file included from src/_rtmidi.cpp:4:
In file included from
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4:10:
fatal error: 'stdarg.h'
       file not found
#include <stdarg.h>
          ^
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1

This is on OSX 10.10 with Python 2.7 from Homebrew.

I will give this a try on Linux later today.

Thanks!
steven


On Thu, Dec 17, 2015 at 1:56 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
I've made a small demo of my csound instruments.
It's collection of patches available in my haskell lib.
I thought that I'd like to make it useful for someone
who can not code in haskell.
You can try it out here.

https://github.com/anton-k/tiny-synth

I'm thinking on implementing plugin or android version of it.

Anton
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

Date2015-12-17 19:52
FromAnton Kholomiov
SubjectRe: Prototype for Csound app
Also if you have a midi keyboard connected to computer it should work with the synth

2015-12-17 22:44 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
@Steven

Maybe you can try to install manually python packages: python-rtmidi, wxPython

@Guillermo
Thanks I'm glad that it works for you. Some features are not yet implemented
but I plan to complete them (like choosing the temperament or filter)

2015-12-17 22:41 GMT+03:00 Guillermo Senna <gsenna@gmail.com>:
Nice synth Anton!
In Ubuntu Studio -> Works with csound 6.02 but not with 6.06.


On 17/12/15 16:38, Steven Yi wrote:
Hi Anton,

Just FYI, I tried the install today but ran into a problem with one of the

dependencies (python-rtmidi):
Running python-rtmidi-0.5b1/setup.py -q bdist_egg --dist-dir
/var/folders/v2/lsdypnyj0_j22mxgrby_274h0000gn/T/easy_install-u9Em5u/python-rtmidi-0.5b1/egg-dist-tmp-E8JFlO
warning: no previously-included files found matching '*.rst.in'
warning: no previously-included files found matching 'deploy.sh'
warning: no previously-included files matching '*.pyc' found under
directory 'examples'
warning: no previously-included files matching '*.pyc' found under
directory 'tests'
no previously-included directories found matching 'include'
In file included from src/_rtmidi.cpp:4:
In file included from
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4:10:
fatal error: 'stdarg.h'
       file not found
#include <stdarg.h>
          ^
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1

This is on OSX 10.10 with Python 2.7 from Homebrew.

I will give this a try on Linux later today.

Thanks!
steven


On Thu, Dec 17, 2015 at 1:56 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
I've made a small demo of my csound instruments.
It's collection of patches available in my haskell lib.
I thought that I'd like to make it useful for someone
who can not code in haskell.
You can try it out here.

https://github.com/anton-k/tiny-synth

I'm thinking on implementing plugin or android version of it.

Anton
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

Date2015-12-17 20:31
FromSteven Yi
SubjectRe: Prototype for Csound app
Hi Anton,

I did find a workaround.  Using this to install python-rtmidi on its own:

env CC=gcc pip install python-rtmidi

will use GCC to compile python-rtmidi, which didn't have a problem
here to find stdarg.h.  After that, I installed tiny-synth as
recommended and it is now running here. MIDI is working here too with
an AKAI MPK mini v2. (Very nice sounds!)

Do you think it'd be possible that when you select a patch, it could
show the Haskell code?

Thanks!
steven




On Thu, Dec 17, 2015 at 2:44 PM, Anton Kholomiov
 wrote:
> @Steven
>
> Maybe you can try to install manually python packages: python-rtmidi,
> wxPython
>
> @Guillermo
> Thanks I'm glad that it works for you. Some features are not yet implemented
> but I plan to complete them (like choosing the temperament or filter)
>
> 2015-12-17 22:41 GMT+03:00 Guillermo Senna :
>>
>> Nice synth Anton!
>> In Ubuntu Studio -> Works with csound 6.02 but not with 6.06.
>>
>>
>> On 17/12/15 16:38, Steven Yi wrote:
>>>
>>> Hi Anton,
>>>
>>> Just FYI, I tried the install today but ran into a problem with one of
>>> the
>>>
>>> dependencies (python-rtmidi):
>>> Running python-rtmidi-0.5b1/setup.py -q bdist_egg --dist-dir
>>>
>>> /var/folders/v2/lsdypnyj0_j22mxgrby_274h0000gn/T/easy_install-u9Em5u/python-rtmidi-0.5b1/egg-dist-tmp-E8JFlO
>>> warning: no previously-included files found matching '*.rst.in'
>>> warning: no previously-included files found matching 'deploy.sh'
>>> warning: no previously-included files matching '*.pyc' found under
>>> directory 'examples'
>>> warning: no previously-included files matching '*.pyc' found under
>>> directory 'tests'
>>> no previously-included directories found matching 'include'
>>> In file included from src/_rtmidi.cpp:4:
>>> In file included from
>>>
>>> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
>>>
>>> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4:10:
>>> fatal error: 'stdarg.h'
>>>        file not found
>>> #include 
>>>           ^
>>> 1 error generated.
>>> error: Setup script exited with error: command 'clang' failed with exit
>>> status 1
>>>
>>> This is on OSX 10.10 with Python 2.7 from Homebrew.
>>>
>>> I will give this a try on Linux later today.
>>>
>>> Thanks!
>>> steven
>>>
>>>
>>> On Thu, Dec 17, 2015 at 1:56 PM, Anton Kholomiov
>>>  wrote:
>>>>
>>>> I've made a small demo of my csound instruments.
>>>> It's collection of patches available in my haskell lib.
>>>> I thought that I'd like to make it useful for someone
>>>> who can not code in haskell.
>>>> You can try it out here.
>>>>
>>>> https://github.com/anton-k/tiny-synth
>>>>
>>>> I'm thinking on implementing plugin or android version of it.
>>>>
>>>> Anton
>>>> 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

Date2015-12-18 09:19
FromAnton Kholomiov
SubjectRe: Prototype for Csound app
> Do you think it'd be possible that when you select a patch, it could
    show the Haskell code?

It's not that easy to do because usually the instument is build from many small parts.
You have a pile of abstractions and it's not obvious what amount of details you want to expose.

The haskell code uses the library functions available in the package
In the app it the file tiny_synth/Lib.hs The module just aggregates the instruments
and plugs in necessary controllers. It renders the csound code to the directory
tiny_synth/instruments.

I wonder why it doesn't work with Csound 6.06. Has python API changed?


2015-12-17 23:31 GMT+03:00 Steven Yi <stevenyi@gmail.com>:
Hi Anton,

I did find a workaround.  Using this to install python-rtmidi on its own:

env CC=gcc pip install python-rtmidi

will use GCC to compile python-rtmidi, which didn't have a problem
here to find stdarg.h.  After that, I installed tiny-synth as
recommended and it is now running here. MIDI is working here too with
an AKAI MPK mini v2. (Very nice sounds!)

Do you think it'd be possible that when you select a patch, it could
show the Haskell code?

Thanks!
steven




On Thu, Dec 17, 2015 at 2:44 PM, Anton Kholomiov
<anton.kholomiov@gmail.com> wrote:
> @Steven
>
> Maybe you can try to install manually python packages: python-rtmidi,
> wxPython
>
> @Guillermo
> Thanks I'm glad that it works for you. Some features are not yet implemented
> but I plan to complete them (like choosing the temperament or filter)
>
> 2015-12-17 22:41 GMT+03:00 Guillermo Senna <gsenna@gmail.com>:
>>
>> Nice synth Anton!
>> In Ubuntu Studio -> Works with csound 6.02 but not with 6.06.
>>
>>
>> On 17/12/15 16:38, Steven Yi wrote:
>>>
>>> Hi Anton,
>>>
>>> Just FYI, I tried the install today but ran into a problem with one of
>>> the
>>>
>>> dependencies (python-rtmidi):
>>> Running python-rtmidi-0.5b1/setup.py -q bdist_egg --dist-dir
>>>
>>> /var/folders/v2/lsdypnyj0_j22mxgrby_274h0000gn/T/easy_install-u9Em5u/python-rtmidi-0.5b1/egg-dist-tmp-E8JFlO
>>> warning: no previously-included files found matching '*.rst.in'
>>> warning: no previously-included files found matching 'deploy.sh'
>>> warning: no previously-included files matching '*.pyc' found under
>>> directory 'examples'
>>> warning: no previously-included files matching '*.pyc' found under
>>> directory 'tests'
>>> no previously-included directories found matching 'include'
>>> In file included from src/_rtmidi.cpp:4:
>>> In file included from
>>>
>>> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
>>>
>>> /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4:10:
>>> fatal error: 'stdarg.h'
>>>        file not found
>>> #include <stdarg.h>
>>>           ^
>>> 1 error generated.
>>> error: Setup script exited with error: command 'clang' failed with exit
>>> status 1
>>>
>>> This is on OSX 10.10 with Python 2.7 from Homebrew.
>>>
>>> I will give this a try on Linux later today.
>>>
>>> Thanks!
>>> steven
>>>
>>>
>>> On Thu, Dec 17, 2015 at 1:56 PM, Anton Kholomiov
>>> <anton.kholomiov@gmail.com> wrote:
>>>>
>>>> I've made a small demo of my csound instruments.
>>>> It's collection of patches available in my haskell lib.
>>>> I thought that I'd like to make it useful for someone
>>>> who can not code in haskell.
>>>> You can try it out here.
>>>>
>>>> https://github.com/anton-k/tiny-synth
>>>>
>>>> I'm thinking on implementing plugin or android version of it.
>>>>
>>>> Anton
>>>> 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