Csound Csound-dev Csound-tekno Search About

[Csnd] Re: massign

Date2008-09-19 12:27
Frommark jamerson
Subject[Csnd] Re: massign

   What midi input device are you using, and what are your command line flags?



----- Original Message ----
From: Federico Vanni <fvanni84@gmail.com>
To: csound mailing list <csound@lists.bath.ac.uk>
Sent: Friday, September 19, 2008 5:49:50 AM
Subject: [Csnd] massign

Hi list,

I'm trying to use different midi channels using 
"massign", but I hear only the channel 1....
could someone tell me what is wrong please ?
thanks
FV



sr = 44100
        kr = 4410
        ksmps = 10
        nchnls = 1

massign 1,1
massign 2,2



instr   1

kval midictrl 7
icps cpsmidi
iamp ampmidi 10000

kenv linsegr 0, .1,       1,  .3, . 5,        2, 0
a1 oscili iamp*(kval/127), icps, 1


out (a1*kenv)

endin


instr   2

kval midictrl 7
icps cpsmidi
iamp ampmidi 10000

a1 pluck iamp*(kval/127), icps, icps, 0, 1

out a1
endin



Date2008-09-19 13:15
FromFederico Vanni
Subject[Csnd] Re: Re: massign
my midi input a midi sequencer software.
i'm using the following command lines

-R --midi-velocity-amp=4 --midi-key-cps=5 

they are the default commands of maccsound.

thanks
fv 





Il giorno 19/set/08, alle ore 13:27, mark jamerson ha scritto:


   What midi input device are you using, and what are your command line flags? 



----- Original Message ----
From: Federico Vanni <fvanni84@gmail.com>
To: csound mailing list <csound@lists.bath.ac.uk>
Sent: Friday, September 19, 2008 5:49:50 AM
Subject: [Csnd] massign 

Hi list,

I'm trying to use different midi channels using 
"massign", but I hear only the channel 1....
could someone tell me what is wrong please ?
thanks
FV



sr = 44100
        kr = 4410
        ksmps = 10
        nchnls = 1

massign 1,1
massign 2,2



instr   1

kval  midictrl 7
icps cpsmidi
iamp ampmidi 10000

kenv linsegr 0, .1,       1,  .3, . 5,        2, 0
a1 oscili iamp*(kval/127), icps, 1


out  (a1*kenv)

endin


instr   2

kval  midictrl 7
icps cpsmidi
iamp ampmidi 10000

a1 pluck iamp*(kval/127), icps, icps, 0, 1

out  a1
endin





Date2008-09-19 13:30
From"Andres Cabrera"
Subject[Csnd] Re: Re: Re: massign
AttachmentsNone  

Date2008-10-04 19:47
FromEdward Loveall
Subject[Csnd] CLI exiting automatically
Hi all.

I'm just getting into Csound here and I'm working in the command line  
with a text editor. It's great, however, I wonder if there is a way to  
get csound to exit out after a score has been completed? I see there's  
a way to do this with a MIDI file but not the score. Thanks for your  
support.

-Edward 

Date2008-10-04 20:04
FromDave Seidel
Subject[Csnd] Re: CLI exiting automatically
Hi Edward,

Csound should exit as soon as the score is over, i.e., when all 
instruments have reached the end of their duration.  But it's a good 
idea to end your score with the "e" (end) statement.

Hope this helps. If you still have the problem after this, try posting a 
small example to the list so we can take a look at what you're doing.

- Dave
http://mysterybear.net

Edward Loveall wrote:
> Hi all.
> 
> I'm just getting into Csound here and I'm working in the command line 
> with a text editor. It's great, however, I wonder if there is a way to 
> get csound to exit out after a score has been completed? I see there's a 
> way to do this with a MIDI file but not the score. Thanks for your support.
> 
> -Edward



Date2008-10-04 20:55
FromEdward Loveall
Subject[Csnd] Re: Re: CLI exiting automatically
Attachmentsfilters.csd.zip  
Dave,
Thanks for the quick reply. I tried putting the 'e' at the end of a  
score and I'm still getting the same issue. Maybe I'll explain in more  
detail.

1. I type csound whatever.csd into the terminal
2. It runs through the score without errors
3. Then it just sits there without returning me to the unix prompt
4. I ran 'top' in a different window and it shows that csound is still  
running
5. I must hit ^c twice to get back to the blank prompt

I've attached an example that causes this issue, although it doesn't  
seem to matter what instrument I use.




-Edward


On Oct 4, 2008, at 3:04 PM, Dave Seidel wrote:

> Hi Edward,
>
> Csound should exit as soon as the score is over, i.e., when all  
> instruments have reached the end of their duration.  But it's a good  
> idea to end your score with the "e" (end) statement.
>
> Hope this helps. If you still have the problem after this, try  
> posting a small example to the list so we can take a look at what  
> you're doing.
>
> - Dave
> http://mysterybear.net
>
> Edward Loveall wrote:
>> Hi all.
>> I'm just getting into Csound here and I'm working in the command  
>> line with a text editor. It's great, however, I wonder if there is  
>> a way to get csound to exit out after a score has been completed? I  
>> see there's a way to do this with a MIDI file but not the score.  
>> Thanks for your support.
>> -Edward
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"