Csound Csound-dev Csound-tekno Search About

[Csnd] Opcode fin

Date2020-07-23 17:29
FromJohn
Subject[Csnd] Opcode fin
Does anyone use the opcode fin?  There seems to be a number of problems
with it not doing exactly what it says in the manual, and it is hard
to fix.  One option is to deprecate it as diskin provides the same
facility.  But I do not want to break backward compatability unless there
is little danger.
==John ffitch

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

Date2020-07-23 18:29
FromMichael Gogins
SubjectRe: [Csnd] Opcode fin
How does deprecating fin break backward compatibility? You can still
run code using fin and it will behave as it used to behave, correct?
Or has the behavior broken?

Best,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Thu, Jul 23, 2020 at 12:29 PM John  wrote:
>
> Does anyone use the opcode fin?  There seems to be a number of problems
> with it not doing exactly what it says in the manual, and it is hard
> to fix.  One option is to deprecate it as diskin provides the same
> facility.  But I do not want to break backward compatability unless there
> is little danger.
> ==John ffitch
>
> 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

Date2020-07-24 17:31
Fromjohn
SubjectRe: [Csnd] Opcode fin
The behaviour is broken.  THe manual asserts that it opens the audio fie 
and uses the header if present, and the format argument says what to do if 
it is raw.  In the event it always opens the file as raw and ignores the 
header.

There are other aspects of fin that are less than nice, like the result 
showing as an input.  As diskin does te same and more really I like to 
delete te opode but that certainly breaks te past if any one uses it.



On Thu, 23 Jul 2020, Michael Gogins wrote:

> How does deprecating fin break backward compatibility? You can still
> run code using fin and it will behave as it used to behave, correct?
> Or has the behavior broken?
>
> Best,
> Mike
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> On Thu, Jul 23, 2020 at 12:29 PM John  wrote:
>>
>> Does anyone use the opcode fin?  There seems to be a number of problems
>> with it not doing exactly what it says in the manual, and it is hard
>> to fix.  One option is to deprecate it as diskin provides the same
>> facility.  But I do not want to break backward compatability unless there
>> is little danger.
>> ==John ffitch
>>
>> 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

Date2020-07-24 18:49
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Opcode fin
I'd say fix the manual to conform with behaviour and mark it as deprecated. No point fixing code like that.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 24 Jul 2020, at 17:31, john  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.
> 
> The behaviour is broken.  THe manual asserts that it opens the audio fie
> and uses the header if present, and the format argument says what to do if
> it is raw.  In the event it always opens the file as raw and ignores the
> header.
> 
> There are other aspects of fin that are less than nice, like the result
> showing as an input.  As diskin does te same and more really I like to
> delete te opode but that certainly breaks te past if any one uses it.
> 
> 
> 
>> On Thu, 23 Jul 2020, Michael Gogins wrote:
>> 
>> How does deprecating fin break backward compatibility? You can still
>> run code using fin and it will behave as it used to behave, correct?
>> Or has the behavior broken?
>> 
>> Best,
>> Mike
>> 
>> -----------------------------------------------------
>> Michael Gogins
>> Irreducible Productions
>> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmichaelgogins.tumblr.com%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=yWdFhhX0tZUc1DLzf%2BOQKN6hRT3mfmrHnHbAzfun2sE%3D&reserved=0
>> Michael dot Gogins at gmail dot com
>> 
>>> On Thu, Jul 23, 2020 at 12:29 PM John  wrote:
>>> 
>>> Does anyone use the opcode fin?  There seems to be a number of problems
>>> with it not doing exactly what it says in the manual, and it is hard
>>> to fix.  One option is to deprecate it as diskin provides the same
>>> facility.  But I do not want to break backward compatability unless there
>>> is little danger.
>>> ==John ffitch
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&reserved=0
>>> Send bugs reports to
>>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&reserved=0
>>> Discussions of bugs and features can be posted here
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&reserved=0
>> Send bugs reports to
>>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&reserved=0
>> Discussions of bugs and features can be posted here
>> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&reserved=0
> Send bugs reports to
>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&reserved=0
> 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

Date2020-07-24 21:55
FromMichael Gogins
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Opcode fin
I agree with Victor, and my question to John was really, was this
always broken or is this a new change in behavior? If it was always
broken it is backwardly compatible.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Fri, Jul 24, 2020 at 1:49 PM Victor Lazzarini  wrote:
>
> I'd say fix the manual to conform with behaviour and mark it as deprecated. No point fixing code like that.
>
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
>
> > On 24 Jul 2020, at 17:31, john  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.
> >
> > The behaviour is broken.  THe manual asserts that it opens the audio fie
> > and uses the header if present, and the format argument says what to do if
> > it is raw.  In the event it always opens the file as raw and ignores the
> > header.
> >
> > There are other aspects of fin that are less than nice, like the result
> > showing as an input.  As diskin does te same and more really I like to
> > delete te opode but that certainly breaks te past if any one uses it.
> >
> >
> >
> >> On Thu, 23 Jul 2020, Michael Gogins wrote:
> >>
> >> How does deprecating fin break backward compatibility? You can still
> >> run code using fin and it will behave as it used to behave, correct?
> >> Or has the behavior broken?
> >>
> >> Best,
> >> Mike
> >>
> >> -----------------------------------------------------
> >> Michael Gogins
> >> Irreducible Productions
> >> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmichaelgogins.tumblr.com%2F&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=yWdFhhX0tZUc1DLzf%2BOQKN6hRT3mfmrHnHbAzfun2sE%3D&reserved=0
> >> Michael dot Gogins at gmail dot com
> >>
> >>> On Thu, Jul 23, 2020 at 12:29 PM John  wrote:
> >>>
> >>> Does anyone use the opcode fin?  There seems to be a number of problems
> >>> with it not doing exactly what it says in the manual, and it is hard
> >>> to fix.  One option is to deprecate it as diskin provides the same
> >>> facility.  But I do not want to break backward compatability unless there
> >>> is little danger.
> >>> ==John ffitch
> >>>
> >>> Csound mailing list
> >>> Csound@listserv.heanet.ie
> >>> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&reserved=0
> >>> Send bugs reports to
> >>>        https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&reserved=0
> >>> Discussions of bugs and features can be posted here
> >>
> >> Csound mailing list
> >> Csound@listserv.heanet.ie
> >> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&reserved=0
> >> Send bugs reports to
> >>       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&reserved=0
> >> Discussions of bugs and features can be posted here
> >>
> >
> > Csound mailing list
> > Csound@listserv.heanet.ie
> > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&reserved=0
> > Send bugs reports to
> >       https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&reserved=0
> > 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

Date2020-07-24 22:01
FromJohn ff
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Opcode fin
I have not done a big search but I think it used to work but changes in opening files in cs5 stopped it working.  I could do a bisect I suppose.

On 24 Jul 2020, at 21:56, Michael Gogins <michael.gogins@gmail.com> wrote:
I agree with Victor, and my question to John was really, was this
always broken or is this a new change in behavior? If it was always
broken it is backwardly compatible.

Regards,
Mike



Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

On Fri, Jul 24, 2020 at 1:49 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

I'd say fix the manual to conform with behaviour and mark it as deprecated. No point fixing code like that.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 24 Jul 2020, at 17:31, john <jpff@codemist.co.uk> 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.

The behaviour is broken. THe manual asserts that it opens the audio fie
and uses the header if present, and the format argument says what to do if
it is raw. In the event it always opens the file as raw and ignores the
header.

There are other aspects of fin that are less than nice, like the result
showing as an input. As diskin does te same and more really I like to
delete te opode but that certainly breaks te past if any one uses it.



On Thu, 23 Jul 2020, Michael Gogins wrote:

How does deprecating fin break backward compatibility? You can still
run code using fin and it will behave as it used to behave, correct?
Or has the behavior broken?

Best,
Mike



Michael Gogins
Irreducible Productions
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmichaelgogins.tumblr.com%2F&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=yWdFhhX0tZUc1DLzf%2BOQKN6hRT3mfmrHnHbAzfun2sE%3D&amp;reserved=0
Michael dot Gogins at gmail dot com

On Thu, Jul 23, 2020 at 12:29 PM John <jpff@codemist.co.uk> wrote:

Does anyone use the opcode fin? There seems to be a number of problems
with it not doing exactly what it says in the manual, and it is hard
to fix. One option is to deprecate it as diskin provides the same
facility. But I do not want to break backward compatability unless there
is little danger.
==John ffitch

Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&amp;reserved=0
Send bugs reports to
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&amp;reserved=0
Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&amp;reserved=0
Send bugs reports to
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&amp;reserved=0
Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistserv.heanet.ie%2Fcgi-bin%2Fwa%3FA0%3DCSOUND&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=UHfdahe29Tia7krq57Mu7EGrNxTGs%2Bl%2FG2XLYKkylwk%3D&amp;reserved=0
Send bugs reports to
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcsound%2Fcsound%2Fissues&amp;data=02%7C01%7CVictor.Lazzarini%40mu.ie%7C0a9b876c52664c963d1008d82feeff22%7C1454f5ccbb354685bbd98621fd8055c9%7C1%7C0%7C637312050809619305&amp;sdata=YWyXefU2G2pxWnEMea7fakGl2TAKzSyLACsaFnxw%2BnE%3D&amp;reserved=0
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