Csound Csound-dev Csound-tekno Search About

[Cs-dev] Problem with maparray

Date2013-05-31 14:43
FromFrancois PINOT
Subject[Cs-dev] Problem with maparray
AttachmentsNone  None  
hello list

trying the following csd:

<CsoundSynthesizer>
<CsOptions>
-n
</CsOptions>
<CsInstruments>

sr = 44100
ksmps = 32
nchnls = 2
0dbfs  = 1

instr 1
  kS[]   genarray 0, 10, 0.01
  kT[]   maparray kS, "frac"
  printk2 kS[0]
  printk2 kS[4]
  printk2 kS[9]
  printk2 kT[0]
  printk2 kT[4]
  printk2 kT[9]
endin

</CsInstruments>
<CsScore>
i 1 0 0.1
e
</CsScore>
</CsoundSynthesizer>

I get this error:

SECTION 1:
INIT ERROR in instr 1:  � not found
kT    maparray    kS    "frac"   

it seems that maparray can find the opc function given as second arg. I'm using Csound 6.00rc2 just built from git.

Thanks

Francois

Date2013-05-31 14:56
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem with maparray
Thanks, that's probably a bug with the new string code. I'll try and fix it.
On 31 May 2013, at 14:43, Francois PINOT wrote:

> hello list
> 
> trying the following csd:
> 
> 
> 
> -n
> 
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs  = 1
> 
> instr 1
>   kS[]   genarray 0, 10, 0.01
>   kT[]   maparray kS, "frac"
>   printk2 kS[0]
>   printk2 kS[4]
>   printk2 kS[9]
>   printk2 kT[0]
>   printk2 kT[4]
>   printk2 kT[9]
> endin
> 
> 
> 
> i 1 0 0.1
> e
> 
> 
> 
> I get this error:
> 
> SECTION 1:
> INIT ERROR in instr 1:  � not found
> kT    maparray    kS    "frac"    
> 
> it seems that maparray can find the opc function given as second arg. I'm using Csound 6.00rc2 just built from git.
> 
> Thanks
> 
> Francois 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2013-05-31 15:16
FromVictor Lazzarini
SubjectRe: [Cs-dev] Problem with maparray
OK, fixed now in GIT.
On 31 May 2013, at 14:56, Victor Lazzarini wrote:

> Thanks, that's probably a bug with the new string code. I'll try and fix it.
> On 31 May 2013, at 14:43, Francois PINOT wrote:
> 
>> hello list
>> 
>> trying the following csd:
>> 
>> 
>> 
>> -n
>> 
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> 0dbfs  = 1
>> 
>> instr 1
>>  kS[]   genarray 0, 10, 0.01
>>  kT[]   maparray kS, "frac"
>>  printk2 kS[0]
>>  printk2 kS[4]
>>  printk2 kS[9]
>>  printk2 kT[0]
>>  printk2 kT[4]
>>  printk2 kT[9]
>> endin
>> 
>> 
>> 
>> i 1 0 0.1
>> e
>> 
>> 
>> 
>> I get this error:
>> 
>> SECTION 1:
>> INIT ERROR in instr 1:  � not found
>> kT    maparray    kS    "frac"    
>> 
>> it seems that maparray can find the opc function given as second arg. I'm using Csound 6.00rc2 just built from git.
>> 
>> Thanks
>> 
>> Francois 
>> ------------------------------------------------------------------------------
>> Get 100% visibility into Java/.NET code with AppDynamics Lite
>> It's a free troubleshooting tool designed for production
>> Get down to code-level detail for bottlenecks, with <2% overhead.
>> Download for free and get started troubleshooting in minutes.
>> http://p.sf.net/sfu/appdyn_d2d_ap2_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.

Date2013-05-31 18:23
FromPINOT Francois
SubjectRe: [Cs-dev] Problem with maparray
It's working now. Thanks Victor.

Le 31/05/2013 16:16, Victor Lazzarini a écrit :
> OK, fixed now in GIT.
> On 31 May 2013, at 14:56, Victor Lazzarini wrote:
>
>> Thanks, that's probably a bug with the new string code. I'll try and fix it.
>> On 31 May 2013, at 14:43, Francois PINOT wrote:
>>
>>> hello list
>>>
>>> trying the following csd:
>>>
>>> 
>>> 
>>> -n
>>> 
>>> 
>>>
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 2
>>> 0dbfs  = 1
>>>
>>> instr 1
>>>   kS[]   genarray 0, 10, 0.01
>>>   kT[]   maparray kS, "frac"
>>>   printk2 kS[0]
>>>   printk2 kS[4]
>>>   printk2 kS[9]
>>>   printk2 kT[0]
>>>   printk2 kT[4]
>>>   printk2 kT[9]
>>> endin
>>>
>>> 
>>> 
>>> i 1 0 0.1
>>> e
>>> 
>>> 
>>>
>>> I get this error:
>>>
>>> SECTION 1:
>>> INIT ERROR in instr 1:  � not found
>>> kT    maparray    kS    "frac"
>>>
>>> it seems that maparray can find the opc function given as second arg. I'm using Csound 6.00rc2 just built from git.
>>>
>>> Thanks
>>>
>>> Francois
>>> ------------------------------------------------------------------------------
>>> Get 100% visibility into Java/.NET code with AppDynamics Lite
>>> It's a free troubleshooting tool designed for production
>>> Get down to code-level detail for bottlenecks, with <2% overhead.
>>> Download for free and get started troubleshooting in minutes.
>>> http://p.sf.net/sfu/appdyn_d2d_ap2_______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Get 100% visibility into Java/.NET code with AppDynamics Lite
>> It's a free troubleshooting tool designed for production
>> Get down to code-level detail for bottlenecks, with <2% overhead.
>> Download for free and get started troubleshooting in minutes.
>> http://p.sf.net/sfu/appdyn_d2d_ap2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-d