Csound Csound-dev Csound-tekno Search About

[Csnd] problem with virtual midi keyboard

Date2010-04-07 21:23
FromStefan Thomas
Subject[Csnd] problem with virtual midi keyboard
Dear community,
I wanted to try out the virtual midi-keyboard.
When I try the below quoted code, I can see an image of an virtual piano, but when I touch one of the keys, nothing happens.
Does somenone have an idea what could be the problem?
<CsoundSynthesizer>
<CsOptions>
-odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4 --midi-velocity-amp=5
</CsOptions>
<CsInstruments>
       
massign 0, 1
instr 1
anote        oscils        p5, cpsmidinn(p4), 0
kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
        out        anote * kenv
endin
</CsInstruments>
<CsScore>
f 0 3600
e
</CsScore>
</CsoundSynthesizer>



Date2010-04-07 21:36
Fromcortaigne@mitb.net
Subject[Csnd] Daily digest?
I really enjoy this mailing list, but I've wondered for quite some time
and haven't found a way:  rather than getting every message individually,
can I get just one e-mail a day with all the messages together?  It would
really help to clear up my inbox, and I could still get a kick out of
reading through all the over-my-head but fascinating discussions.   ;-)



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"

Date2010-04-07 21:45
FromVictor Lazzarini
Subject[Csnd] Re: problem with virtual midi keyboard
works here (OSX)
On 7 Apr 2010, at 21:23, Stefan Thomas wrote:

> Dear community,
> I wanted to try out the virtual midi-keyboard.
> When I try the below quoted code, I can see an image of an virtual  
> piano, but when I touch one of the keys, nothing happens.
> Does somenone have an idea what could be the problem?
> 
> 
> -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4 --midi- 
> velocity-amp=5
> 
> 
>
> massign 0, 1
> instr 1
> anote        oscils        p5, cpsmidinn(p4), 0
> kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>         out        anote * kenv
> endin
> 
> 
> f 0 3600
> e
> 
> 
>
>



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"

Date2010-04-07 21:47
FromSteven Yi
Subject[Csnd] Re: problem with virtual midi keyboard
What OS are you using and are you running from command-line or from
another program (i.e. QuteCsound)?

On Wed, Apr 7, 2010 at 4:23 PM, Stefan Thomas
 wrote:
> Dear community,
> I wanted to try out the virtual midi-keyboard.
> When I try the below quoted code, I can see an image of an virtual piano,
> but when I touch one of the keys, nothing happens.
> Does somenone have an idea what could be the problem?
> 
> 
> -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4
> --midi-velocity-amp=5
> 
> 
>
> massign 0, 1
> instr 1
> anote        oscils        p5, cpsmidinn(p4), 0
> kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>         out        anote * kenv
> endin
> 
> 
> f 0 3600
> e
> 
> 
>
>
>


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"


Date2010-04-07 21:49
FromMichael Gogins
Subject[Csnd] Re: problem with virtual midi keyboard
I am having the same problem on Ubuntu.

Regards,
Mike

On Wed, Apr 7, 2010 at 4:23 PM, Stefan Thomas
 wrote:
> Dear community,
> I wanted to try out the virtual midi-keyboard.
> When I try the below quoted code, I can see an image of an virtual piano,
> but when I touch one of the keys, nothing happens.
> Does somenone have an idea what could be the problem?
> 
> 
> -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4
> --midi-velocity-amp=5
> 
> 
>
> massign 0, 1
> instr 1
> anote        oscils        p5, cpsmidinn(p4), 0
> kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>         out        anote * kenv
> endin
> 
> 
> f 0 3600
> e
> 
> 
>
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


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"


Date2010-04-07 22:15
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Daily digest?
Ypou can set digest with mail to sympa@lists.bath.ac.uk or you can mail me
and I can change the files
==John



> I really enjoy this mailing list, but I've wondered for quite some time
> and haven't found a way:  rather than getting every message individually,
> can I get just one e-mail a day with all the messages together?  It would
> really help to clear up my inbox, and I could still get a kick out of
> reading through all the over-my-head but fascinating discussions.   ;-)
>
>
>
> 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"
>
>
>
>




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"

Date2010-04-07 22:53
Fromcortaigne@mitb.net
Subject[Csnd] Re: Re: Daily digest?
Great news, thanks!  What exactly do I send to that address, though?  I've
tried a few variations (like "digest csound") and they all returned
errors.

> Ypou can set digest with mail to sympa@lists.bath.ac.uk or you can mail me
> and I can change the files
> ==John
>
>
>
>> I really enjoy this mailing list, but I've wondered for quite some time
>> and haven't found a way:  rather than getting every message
>> individually,
>> can I get just one e-mail a day with all the messages together?  It
>> would
>> really help to clear up my inbox, and I could still get a kick out of
>> reading through all the over-my-head but fascinating discussions.   ;-)
>>
>>
>>
>> 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"
>>
>>
>>
>>
>
>
>
>
> 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"
>
>




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"

Date2010-04-08 06:08
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Daily digest?
Send on eof the messages
    SET csound DIGEST
or
    SET csound DIGESTPLAIN

The first sets digest and the second sets digest in plain text

The message can be in the body or for one conmand in the subject

Complete list of commands:
    INFO csound: get information about the list
    SUBSCRIBE csound name: subscription (or subscription confirmation) to
the list
    INVITE csound email: invite someone to subscribe to the list
    UNSUBSCRIBE csound email: unsubscribe from the list. The email address
is required only if you want to unsubscribe with an address other than
the address with which you send the message
    UNSUBSCRIBE * email: unsubscribe from all the lists to which you are
subscribed


    SET csound NOMAIL: suspend receipt of the list's messages
    SET csound DIGEST: receive messages in digest mode
    SET csound DIGESTPLAIN: receive messages in digest mode (plain text)
    SET csound SUMMARY: only receive the message list
    SET csound NOTICE: only receive the message subjects
    SET csound MAIL: normal message delivery mode

    INDEX csound: receive the list of the archive files
    GET csound file: receive a file of the list archive
    LAST csound: receive the list's most recent message






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"

Date2010-04-08 07:39
FromFrancois PINOT
Subject[Csnd] Re: problem with virtual midi keyboard
Here it works on Ubuntu 9.10 with Csound 5.12 compiled from CVS (Feb 25 2010), running from console or from QuteCsound as well (0.50.0 pre, compiled from SVN).

Regards

Francois

2010/4/7 Michael Gogins <michael.gogins@gmail.com>
I am having the same problem on Ubuntu.

Regards,
Mike

On Wed, Apr 7, 2010 at 4:23 PM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> I wanted to try out the virtual midi-keyboard.
> When I try the below quoted code, I can see an image of an virtual piano,
> but when I touch one of the keys, nothing happens.
> Does somenone have an idea what could be the problem?
> <CsoundSynthesizer>
> <CsOptions>
> -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4
> --midi-velocity-amp=5
> </CsOptions>
> <CsInstruments>
>
> massign 0, 1
> instr 1
> anote        oscils        p5, cpsmidinn(p4), 0
> kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>         out        anote * kenv
> endin
> </CsInstruments>
> <CsScore>
> f 0 3600
> e
> </CsScore>
> </CsoundSynthesizer>
>
>
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


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"



Date2010-04-08 11:54
FromStefan Thomas
Subject[Csnd] Re: Re: problem with virtual midi keyboard
Dear community,
when I run it on windows, via QuteCsound it works, when I start in on puredyne via the console it frozes.

2010/4/8 Francois PINOT <fggpinot@gmail.com>
Here it works on Ubuntu 9.10 with Csound 5.12 compiled from CVS (Feb 25 2010), running from console or from QuteCsound as well (0.50.0 pre, compiled from SVN).

Regards

Francois

2010/4/7 Michael Gogins <michael.gogins@gmail.com>

I am having the same problem on Ubuntu.

Regards,
Mike

On Wed, Apr 7, 2010 at 4:23 PM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> I wanted to try out the virtual midi-keyboard.
> When I try the below quoted code, I can see an image of an virtual piano,
> but when I touch one of the keys, nothing happens.
> Does somenone have an idea what could be the problem?
> <CsoundSynthesizer>
> <CsOptions>
> -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4
> --midi-velocity-amp=5
> </CsOptions>
> <CsInstruments>
>
> massign 0, 1
> instr 1
> anote        oscils        p5, cpsmidinn(p4), 0
> kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>         out        anote * kenv
> endin
> </CsInstruments>
> <CsScore>
> f 0 3600
> e
> </CsScore>
> </CsoundSynthesizer>
>
>
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


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"




Date2010-04-08 13:59
FromMichael Gogins
Subject[Csnd] Re: Re: Re: problem with virtual midi keyboard
I will do an update and rebuild and report if I still have the problem.

Thanks,
Mike

On Thu, Apr 8, 2010 at 6:54 AM, Stefan Thomas
 wrote:
> Dear community,
> when I run it on windows, via QuteCsound it works, when I start in on
> puredyne via the console it frozes.
>
> 2010/4/8 Francois PINOT 
>>
>> Here it works on Ubuntu 9.10 with Csound 5.12 compiled from CVS (Feb 25
>> 2010), running from console or from QuteCsound as well (0.50.0 pre, compiled
>> from SVN).
>>
>> Regards
>>
>> Francois
>>
>> 2010/4/7 Michael Gogins 
>>>
>>> I am having the same problem on Ubuntu.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Wed, Apr 7, 2010 at 4:23 PM, Stefan Thomas
>>>  wrote:
>>> > Dear community,
>>> > I wanted to try out the virtual midi-keyboard.
>>> > When I try the below quoted code, I can see an image of an virtual
>>> > piano,
>>> > but when I touch one of the keys, nothing happens.
>>> > Does somenone have an idea what could be the problem?
>>> > 
>>> > 
>>> > -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4
>>> > --midi-velocity-amp=5
>>> > 
>>> > 
>>> >
>>> > massign 0, 1
>>> > instr 1
>>> > anote        oscils        p5, cpsmidinn(p4), 0
>>> > kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>>> >         out        anote * kenv
>>> > endin
>>> > 
>>> > 
>>> > f 0 3600
>>> > e
>>> > 
>>> > 
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> 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"
>>>
>>
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


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"


Date2010-04-10 23:35
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: problem with virtual midi keyboard
Dear community,
as I wrote before, the virtual keyboard-module works, in principle, fine on a windows machine.
But I have problems with the following code.
I can see the virtual keyboard, but I can't hear anything.
 
 <CsoundSynthesizer>
<CsOptions>
-odac           -iadc    -+rtmidi=virtual -M0d
</CsOptions>
<CsInstruments>
sr     = 44100
kr     = 2205
ksmps  = 20
nchnls = 2
 ipch = 8.02
  iequal = 12
 
massign 1, 101
gkmodwheel init 0
instr 1
ichannelinstrumentone = 1
icontrollerinstrumentone = 1
gkmodwheel ctrl7 ichannelinstrumentone, icontrollerinstrumentone, 0, 1
endin
instr 101
 
ituningtable init 10
imodwheel = i(gkmodwheel)
ituningtable init  10
if (imodwheel>0 ) then
ituningtable = 11 ;choose tuningtable number 11, if the left pedal is down
else
ituningtable = 10 ; when the left pedal is not used, use tuningtable numer 10
endif
        
 icps    cpstmid   ituningtable
 
  iamp    ampmidi     10000
  kvowel = 0
  ktilt = 99
  kvibamt = 0.005
  kvibrate = 6
  ifn1 = 1
  ifn2 = 1
  ifn3 = 1
  ifn4 = 1
  ivibfn = 1
kenv linenr 1, 0.3, 0.1, 0.01
  avoice fmvoice kenv*iamp, icps, kvowel, ktilt, kvibamt, kvibrate, ifn1, ifn2, ifn3, ifn4, ivibfn
      outs      avoice, avoice
      endin 
 
</CsInstruments>
<CsScore>
f1  0   8193  10   1
f 10 0 64 -2 12 2 209.368614 56 1.00 \
             1.0696088691  1.1237595166 1.1704662483 1.2495930489 1.2686844938 1.3699912384 \
             1.4991727830  1.5614827878 1.625  1.7547311429 1.9512180376 2.000
f 11 0 64 -2 12 2 261.625565 60 1.00 \
             1.0696088691  1.1237595166 1.1704662483 1.2495930489 1.2686844938 1.3699912384 \
             1.4991727830  1.5614827878 1.625  1.7547311429 1.9512180376 2.000

f0 3600
i1   0    3600

</CsScore>
</CsoundSynthesizer>
 


 
2010/4/8 Michael Gogins <michael.gogins@gmail.com>
I will do an update and rebuild and report if I still have the problem.

Thanks,
Mike

On Thu, Apr 8, 2010 at 6:54 AM, Stefan Thomas
<kontrapunktstefan@googlemail.com> wrote:
> Dear community,
> when I run it on windows, via QuteCsound it works, when I start in on
> puredyne via the console it frozes.
>
> 2010/4/8 Francois PINOT <fggpinot@gmail.com>
>>
>> Here it works on Ubuntu 9.10 with Csound 5.12 compiled from CVS (Feb 25
>> 2010), running from console or from QuteCsound as well (0.50.0 pre, compiled
>> from SVN).
>>
>> Regards
>>
>> Francois
>>
>> 2010/4/7 Michael Gogins <michael.gogins@gmail.com>
>>>
>>> I am having the same problem on Ubuntu.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Wed, Apr 7, 2010 at 4:23 PM, Stefan Thomas
>>> <kontrapunktstefan@googlemail.com> wrote:
>>> > Dear community,
>>> > I wanted to try out the virtual midi-keyboard.
>>> > When I try the below quoted code, I can see an image of an virtual
>>> > piano,
>>> > but when I touch one of the keys, nothing happens.
>>> > Does somenone have an idea what could be the problem?
>>> > <CsoundSynthesizer>
>>> > <CsOptions>
>>> > -odac           -iadc    -+rtmidi=virtual -M0d --midi-key=4
>>> > --midi-velocity-amp=5
>>> > </CsOptions>
>>> > <CsInstruments>
>>> >
>>> > massign 0, 1
>>> > instr 1
>>> > anote        oscils        p5, cpsmidinn(p4), 0
>>> > kenv        linsegr    0, .1, 1, p3-0.1, 1, .1, 0
>>> >         out        anote * kenv
>>> > endin
>>> > </CsInstruments>
>>> > <CsScore>
>>> > f 0 3600
>>> > e
>>> > </CsScore>
>>> > </CsoundSynthesizer>
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> 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"
>>>
>>
>
>



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


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"