Csound Csound-dev Csound-tekno Search About

[Csnd] IFILCOD integer for file input

Date2017-12-17 23:05
FromRoger Kelly
Subject[Csnd] IFILCOD integer for file input
Can someone explain how the "integer" version of a file works versus a string? I see this in the manual everywhere.

ir filepeak ifilcod [, ichnl]
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

Date2017-12-17 23:28
FromVictor Lazzarini
SubjectRe: [Csnd] IFILCOD integer for file input
The file should be named soundin.N, where the N is the integer you pass to the opcode.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 17 Dec 2017, at 23:05, Roger Kelly <loraxman@GMAIL.COM> wrote:

Can someone explain how the "integer" version of a file works versus a string? I see this in the manual everywhere.

ir filepeak ifilcod [, ichnl]
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

Date2017-12-17 23:35
FromRoger Kelly
SubjectRe: [Csnd] IFILCOD integer for file input
So then the path in that case is entirely dependent on SFDIR?

Like this example:
SFDIR="/home/ubuntu"
and sounds files in that directory of the form
"soundin.3"
"soundin.4"

I am trying to lookup a sound file at runtime. I was hoping to use the pycall to return the "number" since it can't return a string of the file.



On Sun, Dec 17, 2017 at 5:28 PM, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
The file should be named soundin.N, where the N is the integer you pass to the opcode.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 17 Dec 2017, at 23:05, Roger Kelly <loraxman@GMAIL.COM> wrote:

Can someone explain how the "integer" version of a file works versus a string? I see this in the manual everywhere.

ir filepeak ifilcod [, ichnl]
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

Date2017-12-17 23:37
Fromjpff
SubjectRe: [Csnd] IFILCOD integer for file input
Or strset can give an integer to a string, from te days before string 
vaariables

On Sun, 17 Dec 2017, Victor Lazzarini wrote:

> The file should be named soundin.N, where the N is the integer you pass to the
> opcode.
> Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 17 Dec 2017, at 23:05, Roger Kelly  wrote:
>
>       Can someone explain how the "integer" version of a file works
>       versus a string? I see this in the manual everywhere.
> 
> ir filepeak ifilcod [, ichnl]
> 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