Csound Csound-dev Csound-tekno Search About

ctrlinit manual [was Re: [Csnd] Max + csound~]

Date2011-10-03 23:14
Frompeiman khosravi
Subjectctrlinit manual [was Re: [Csnd] Max + csound~]
On the manual page for ctrlinit

"ichnl -- MIDI channel number (1-16)
ictlno1, ictlno1, etc. -- MIDI controller numbers (0-127)
ival1, ival2, etc. -- initial value for corresponding MIDI controller number"

can lead to potential confusion. To be safe I think this change would be useful:

"ival1, ival2, etc. -- initial value for corresponding MIDI controller
number (0-127)"

Best,

Peiman


On 3 October 2011 23:09, peiman khosravi  wrote:
> Hi,
>
> Actually there are two problem here.
>
> 1-  This is in the csd itself not the patch.
>
> You're initiating midi controller 74 (which is controlling the center
> frequency of moogladder) to 8000. But remember that this should be a
> midi value not frequency. So it should fall within the range 0-127.
>
> Changing line 10 of your code from:
>
> ctrlinit 1, 74, 8000
>
> to something like
>
> ctrlinit 1, 74, 100
>
> fixes this.
>
>
> 2- [makenote] in the patch is missing two arguments: velocity and
> duration. Change to [makenote 60 500]  or something like that and it
> will work. Obviously you still get a click at the start and end of the
> notes because there is no envelope to smooth the edges.
>
>
> You mentioned that you wanted to use itable to control the instrument.
> Exactly what did you mean by that?
>
> Best,
>
> Peiman
>
>
>
> On 3 October 2011 18:17, andreas russo  wrote:
>> peiman,
>>
>> actually, I'd love to get some feedback on this patch.
>> it seems pretty straightforward, but all I get is either silence or clicks.
>>
>> andreas
>>
>> 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"
>>
>>
>>
>>
>> On Oct 3, 2011, at 10:47, peiman khosravi wrote:
>>
>>> Thanks Andreas,
>>>
>>> That way I would know exactly what you have in mind.
>>>
>>> Best,
>>>
>>> P
>>>
>>>
>>>
>>> On 3 October 2011 15:24, andreas russo  wrote:
>>>> peiman,
>>>> I've tried several diverse patches, I'll make one that kind of makes sense
>>>> to me and send it.
>>>> anthony,
>>>> thanks so much for the patch. unfortunately what happens when I tried to
>>>> play notes with kslider is that no sounds comes out and I only get the "MIDI
>>>> buffer is full" message.
>>>> any thoughts?
>>>> On Oct 3, 2011, at 09:29, Anthony Palomba wrote:
>>>>
>>>> Hey Andreas,
>>>>
>>>>
>>>> Here is an example patch I use as a template for using csound
>>>> and Max. It may be of help to you.
>>>>
>>>>
>>>>
>>>>
>>>> Anthony
>>>>
>>>>
>>>>
>>>>
>>>> On Mon, Oct 3, 2011 at 2:52 AM, peiman khosravi 
>>>> wrote:
>>>>>
>>>>> Hi Andreas,
>>>>>
>>>>> Would you mind sending your non-working patch and csd here? I'll take
>>>>> a look and comment the patch for you.
>>>>>
>>>>> Best,
>>>>>
>>>>> Peiman
>>>>>
>>>>> On 3 October 2011 05:36, andreas russo  wrote:
>>>>>> I'm moving my first steps in the Max/MSP world and I'm trying to use
>>>>>> Csound
>>>>>> as a synthesizer (thanks to the csound~ object).
>>>>>> I'm actually having a hard time triggering the Csound instruments in
>>>>>> real
>>>>>> time.
>>>>>> my .csd file has instruments with the pitch being assigned to be
>>>>>> controlled
>>>>>> by cpsdmidi.
>>>>>> I have massign assigning MIDI channel 1 to the first instrument.
>>>>>> I have tried different objects combinations in Max, but every time I get
>>>>>> some problems (clicks, no velocity, wrong duration).
>>>>>> is there some sort of "standard" procedure to do this? as in the objects
>>>>>> to
>>>>>> use and their arguments?
>>>>>> specifically, I'm trying to control the Csound instruments with the
>>>>>> itable
>>>>>> object.
>>>>>> I thought I should specify in the csound~ object's argument settings
>>>>>> like
>>>>>> which instrument to control, but by reading che csound~ manual it seems
>>>>>> that
>>>>>> that is not the case.
>>>>>> help or info on where to find manuals/tutorials and such are much
>>>>>> appreciated.
>>>>>> andreas
>>>>>
>>>>>
>>>>> 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"


Date2011-10-03 23:25
Fromandreas russo
SubjectRe: ctrlinit manual [was Re: [Csnd] Max + csound~]
Peiman,

I just modified the Max patch so to use chnget in Csound, but your explaination just made me figure out why another non-Max-related Csound patch wouldn't work... hehe.

Joachim,

I googled csound~ Max, but didn't get around that page.
that is a fantastic source of information.

thank you both guys so much.

andreas

On Oct 3, 2011, at 18:14, peiman khosravi wrote:

> On the manual page for ctrlinit
> 
> "ichnl -- MIDI channel number (1-16)
> ictlno1, ictlno1, etc. -- MIDI controller numbers (0-127)
> ival1, ival2, etc. -- initial value for corresponding MIDI controller number"
> 
> can lead to potential confusion. To be safe I think this change would be useful:
> 
> "ival1, ival2, etc. -- initial value for corresponding MIDI controller
> number (0-127)"
> 
> Best,
> 
> Peiman
> 
> 
> On 3 October 2011 23:09, peiman khosravi  wrote:
>> Hi,
>> 
>> Actually there are two problem here.
>> 
>> 1-  This is in the csd itself not the patch.
>> 
>> You're initiating midi controller 74 (which is controlling the center
>> frequency of moogladder) to 8000. But remember that this should be a
>> midi value not frequency. So it should fall within the range 0-127.
>> 
>> Changing line 10 of your code from:
>> 
>> ctrlinit 1, 74, 8000
>> 
>> to something like
>> 
>> ctrlinit 1, 74, 100
>> 
>> fixes this.
>> 
>> 
>> 2- [makenote] in the patch is missing two arguments: velocity and
>> duration. Change to [makenote 60 500]  or something like that and it
>> will work. Obviously you still get a click at the start and end of the
>> notes because there is no envelope to smooth the edges.
>> 
>> 
>> You mentioned that you wanted to use itable to control the instrument.
>> Exactly what did you mean by that?
>> 
>> Best,
>> 
>> Peiman
>> 
>> 
>> 
>> On 3 October 2011 18:17, andreas russo  wrote:
>>> peiman,
>>> 
>>> actually, I'd love to get some feedback on this patch.
>>> it seems pretty straightforward, but all I get is either silence or clicks.
>>> 
>>> andreas
>>> 
>>> 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"
>>> 
>>> 
>>> 
>>> 
>>> On Oct 3, 2011, at 10:47, peiman khosravi wrote:
>>> 
>>>> Thanks Andreas,
>>>> 
>>>> That way I would know exactly what you have in mind.
>>>> 
>>>> Best,
>>>> 
>>>> P
>>>> 
>>>> 
>>>> 
>>>> On 3 October 2011 15:24, andreas russo  wrote:
>>>>> peiman,
>>>>> I've tried several diverse patches, I'll make one that kind of makes sense
>>>>> to me and send it.
>>>>> anthony,
>>>>> thanks so much for the patch. unfortunately what happens when I tried to
>>>>> play notes with kslider is that no sounds comes out and I only get the "MIDI
>>>>> buffer is full" message.
>>>>> any thoughts?
>>>>> On Oct 3, 2011, at 09:29, Anthony Palomba wrote:
>>>>> 
>>>>> Hey Andreas,
>>>>> 
>>>>> 
>>>>> Here is an example patch I use as a template for using csound
>>>>> and Max. It may be of help to you.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Anthony
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Mon, Oct 3, 2011 at 2:52 AM, peiman khosravi 
>>>>> wrote:
>>>>>> 
>>>>>> Hi Andreas,
>>>>>> 
>>>>>> Would you mind sending your non-working patch and csd here? I'll take
>>>>>> a look and comment the patch for you.
>>>>>> 
>>>>>> Best,
>>>>>> 
>>>>>> Peiman
>>>>>> 
>>>>>> On 3 October 2011 05:36, andreas russo  wrote:
>>>>>>> I'm moving my first steps in the Max/MSP world and I'm trying to use
>>>>>>> Csound
>>>>>>> as a synthesizer (thanks to the csound~ object).
>>>>>>> I'm actually having a hard time triggering the Csound instruments in
>>>>>>> real
>>>>>>> time.
>>>>>>> my .csd file has instruments with the pitch being assigned to be
>>>>>>> controlled
>>>>>>> by cpsdmidi.
>>>>>>> I have massign assigning MIDI channel 1 to the first instrument.
>>>>>>> I have tried different objects combinations in Max, but every time I get
>>>>>>> some problems (clicks, no velocity, wrong duration).
>>>>>>> is there some sort of "standard" procedure to do this? as in the objects
>>>>>>> to
>>>>>>> use and their arguments?
>>>>>>> specifically, I'm trying to control the Csound instruments with the
>>>>>>> itable
>>>>>>> object.
>>>>>>> I thought I should specify in the csound~ object's argument settings
>>>>>>> like
>>>>>>> which instrument to control, but by reading che csound~ manual it seems
>>>>>>> that
>>>>>>> that is not the case.
>>>>>>> help or info on where to find manuals/tutorials and such are much
>>>>>>> appreciated.
>>>>>>> andreas
>>>>>> 
>>>>>> 
>>>>>> 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"
> 



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"