[Csnd] No lenarray for i-Arrays?
| Date | 2025-01-07 16:16 |
| From | Philipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | [Csnd] No lenarray for i-Arrays? |
Hello everyone,
i was wondering if there is no version of lenarray for i-Arrays?
I need this right now and i search for a solution.
Greetings,
Philipp
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 |
| Date | 2025-01-07 16:26 |
| From | "Jeanette C." |
| Subject | Re: [Csnd] No lenarray for i-Arrays? |
Hi Philipp,
lenarray will work with i-arrays:
instr Play
iArr[] init 8
iLen = lenarray:i(iArr)
prints("\niArr has %d elements.", iLen)
endin
It worked for me.
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* Audiobombs: https://www.audiobombs.com/users/jeanette_c
* GitHub: https://github.com/jeanette-c
Baby, there's something about you
Show me, that nothing can hold you down <3
(Britney Spears)
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 |
| Date | 2025-01-07 16:26 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] No lenarray for i-Arrays? |
Of course there is; there has always been.
array:i[] fillarray 1,2,3
print lenarray(array)
Prof. Victor Lazzarini
Maynooth University
Ireland
> On 7 Jan 2025, at 16:20, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hello everyone,
>
> i was wondering if there is no version of lenarray for i-Arrays?
> I need this right now and i search for a solution.
>
> Greetings,
> Philipp
>
> 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
|
| Date | 2025-01-07 16:30 |
| From | Philipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] No lenarray for i-Arrays? |
Thanks all! my fault! I did a stupid mistake in my .csd and the manual only mentions k-arrays.
> Am 07.01.2025 um 17:26 schrieb Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>:
>
> Of course there is; there has always been.
>
> array:i[] fillarray 1,2,3
> print lenarray(array)
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
>> On 7 Jan 2025, at 16:20, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote:
>>
>> *Warning*
>>
>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>>
>> Hello everyone,
>>
>> i was wondering if there is no version of lenarray for i-Arrays?
>> I need this right now and i search for a solution.
>>
>> Greetings,
>> Philipp
>>
>> 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 |
| Date | 2025-01-07 16:35 |
| From | Rory Walsh |
| Subject | Re: [Csnd] No lenarray for i-Arrays? |
On Tue, 7 Jan 2025 at 16:18, Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> wrote: Hello everyone, |
| Date | 2025-01-07 16:37 |
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] [EXTERNAL] Re: [Csnd] No lenarray for i-Arrays? |
|
i and k outputs, you can take the length of any array type.
I think the manual page can be improved.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 7 Jan 2025, at 16:35, Rory Walsh <rorywalsh@ear.ie> wrote:
|