Csound Csound-dev Csound-tekno Search About

[Csnd] Changed in Csound 6.11??

Date2019-01-09 20:02
FromMarco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] Changed in Csound 6.11??
Attachmentsdiskin2.zip  
Hello, Csounders,

I wonder what might have changed in Csound after 6.10. The following very simple orc/sco files just read a file from disk using the opcode diskin2 and applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it produces only noise. Any idea about what is wrong with it, please? I'm a bit confused...:-(

Thank you in advance.


Marco

Am Montag, 23. Januar 2017, 18:24:18 MEZ hat Ed Costello <phasereset@GMAIL.COM> Folgendes geschrieben:


I’ll also chime in with the hdf5 opcodes, these can read and write any type of signal or array to an hdf file, hdf files can be read by things such as python and matlab. http://www.csounds.com/manual/html/hdf5write.html

Ed


On 23 Jan 2017, at 17:21, Oeyvind Brandtsegg <oyvind.brandtsegg@NTNU.NO> wrote:

You could also use the fink opcoode

fink ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...]

best
Oeyvind

2017-01-22 13:15 GMT-08:00 Eduardo Moguillansky
<eduardo.moguillansky@gmail.com>:
I just did something very similar, writing partial tracking analysis data
(multidimensional data sampled at regular intervals) to gen23 files. The
writing was done with python and numpy (numpy's savetxt saves as a gen23
compatible format), then reading with 'tab', implemented own interpolation
(data represented a 2d array).

On 22.01.2017 20:40, Victor Lazzarini wrote:

Another thing you can do is write the data to one or more files as
binary data, then read these files as raw binary and use tablew to write
to the tables.

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

On 22 Jan 2017, at 18:33, Michael Gogins <michael.gogins@GMAIL.COM
<mailto:michael.gogins@GMAIL.COM>> wrote:

Write your piece in some other language such as C++, C, Java, Lua or
LuaJIT, Lisp, Python, JavaScript, or .NET and easily use the Csound
API to copy the data into a Csound function table. You could read from
a database.

Or, use the Python or LuaJIT opcodes to run such code from a Csound
orchestra.

Or, easily write a plugin opcode in C++ using the OpcodeBase.hpp
header, or in C, to perform this task.

Regards,
Mike

On Jan 22, 2017 12:36 PM, "Marco Stroppa"
<00000088a9b41854-dmarc-request@listserv.heanet.ie
<mailto:00000088a9b41854-dmarc-request@listserv.heanet.ie>> wrote:

   Dear Csounders,

   I stumbled into the following issue: I have many curves with a lot
   of data (several thousands or tens of thousands of points, if not
   more), manually drawn on a tablet, algorithmically computed or
   derived from analysis data. They usually correspond to
   continuously changing frequencies or amplitudes that should
   modulate the inputs of an instrument (not in real-time) playing a
   long note. The easiest way would be to write these data onto a GEN
   routine and read it with an oscillator or tablei opcode.

   Of course, I could run a data reduction application to reduce the
   amount of data according to psychoacoustic criteria, but I would
   prefer to see if there is a way
   to use these data as such. GEN02 is limited by the (historically
   low) value of PMAX, GEN23 would work, but, having thousands of
   functions, writing thousand of (temporary) text files is terribly
   long.

   Is there any other way to transfer these data to a function table?
   Thanks for any directions I might try to follow...:-)!


   Marco



   Csound mailing list Csound@listserv.heanet.ie
   <mailto:Csound@listserv.heanet.ie>
   https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
   <https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND> Send bugs
   reports to https://github.com/csound/csound/issues
   <https://github.com/csound/csound/issues> Discussions of bugs and
   features can be posted here

Csound mailing list Csound@listserv.heanet.ie
<mailto: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
<mailto: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



--

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://www.partikkelaudio.com/
http://crossadaptive.hf.ntnu.no
http://gdsp.hf.ntnu.no/
http://soundcloud.com/brandtsegg
http://flyndresang.no/
http://soundcloud.com/t-emp

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

Date2019-01-09 20:25
Fromjpff
SubjectRe: [Csnd] Changed in Csound 6.11??
I do not understand your use of 0bdfs but apart from that is runs and 
generates sounds.  what is the change?  There was a series of changes about 
the format argument to diskin2 but that should have returned a previous 
state.

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

Date2019-01-09 20:33
Fromjoachim heintz
SubjectRe: [Csnd] Changed in Csound 6.11??
perhaps try 6.12?
https://csound.com/download.html



On 09/01/19 21:25, jpff wrote:
> I do not understand your use of 0bdfs but apart from that is runs and
> generates sounds.  what is the change?  There was a series of changes
> about the format argument to diskin2 but that should have returned a
> previous state.
>
> 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

Date2019-01-09 21:12
Fromjpff
SubjectRe: [Csnd] Changed in Csound 6.11??
Looks like a reversion of new working code in diskin2.  It is not ignoring 
the format when it should and did.  May take a while to get to the basis 
of this.


On Wed, 9 Jan 2019, Marco Stroppa wrote:

> Hello, Csounders,
> 
> I wonder what might have changed in Csound after 6.10. The following very
> simple orc/sco files just read a file from disk using the opcode diskin2 and
> applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it
> produces only noise. Any idea about what is wrong with it, please? I'm a bit
> confused...:-(
> 
> Thank you in advance.
> 
> 
> Marco

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

Date2019-01-10 08:58
FromMarco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Changed in Csound 6.11??
Attachmentsdiskin609.wav  diskin611.wav  
Thank you very much for the quick replies and the explanations. (C)sounds like I won't be able to use versions after 6.10 until this issue is fixed...:-)! But found the remarks about the changes in diskin2 and GEN01 from 6.11 (in "What's new") and will try to find a correct "iformat" for my simple orchestras.
At the moment, the difference in the result is quite radical (see the two results below, one with 6.09, the other with 6.11).
I suppose that, when something is fixed, there will be a post on this list.
Thanks again.

Marco

Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ hat jpff <jpff@CODEMIST.CO.UK> Folgendes geschrieben:


Looks like a reversion of new working code in diskin2.  It is not ignoring
the format when it should and did.  May take a while to get to the basis
of this.


On Wed, 9 Jan 2019, Marco Stroppa wrote:

> Hello, Csounders,
>
> I wonder what might have changed in Csound after 6.10. The following very
> simple orc/sco files just read a file from disk using the opcode diskin2 and
> applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it
> produces only noise. Any idea about what is wrong with it, please? I'm a bit
> confused...:-(
>
> Thank you in advance.
>
>
> Marco

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

Date2019-01-10 09:01
FromVictor Lazzarini
SubjectRe: [Csnd] Changed in Csound 6.11??
6.12 is the latest version, did you try that?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 10 Jan 2019, at 08:58, Marco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE> wrote:
> 
> Thank you very much for the quick replies and the explanations. (C)sounds like I won't be able to use versions after 6.10 until this issue is fixed...:-)! But found the remarks about the changes in diskin2 and GEN01 from 6.11 (in "What's new") and will try to find a correct "iformat" for my simple orchestras.
> At the moment, the difference in the result is quite radical (see the two results below, one with 6.09, the other with 6.11).
> I suppose that, when something is fixed, there will be a post on this list.
> Thanks again.
> 
> Marco
> 
> Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ hat jpff  Folgendes geschrieben:
> 
> 
> Looks like a reversion of new working code in diskin2.  It is not ignoring 
> the format when it should and did.  May take a while to get to the basis 
> of this.
> 
> 
> On Wed, 9 Jan 2019, Marco Stroppa wrote:
> 
> > Hello, Csounders,
> > 
> > I wonder what might have changed in Csound after 6.10. The following very
> > simple orc/sco files just read a file from disk using the opcode diskin2 and
> > applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it
> > produces only noise. Any idea about what is wrong with it, please? I'm a bit
> > confused...:-(
> > 
> > Thank you in advance.
> > 
> > 
> > Marco
> 
> 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

Date2019-01-10 09:09
FromVictor Lazzarini
SubjectRe: [Csnd] Changed in Csound 6.11??
Just checked this. If you set iformat to 0, it works as before. This was a non-backward compatible change that I thought
was reverted in 6.12, but maybe not.

In any case, with all soundfiles that are not raw, using iformat = 0 will work. That change may allow you to use the latest
Csound.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 10 Jan 2019, at 09:01, Victor Lazzarini  wrote:
> 
> 6.12 is the latest version, did you try that?
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 10 Jan 2019, at 08:58, Marco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE> wrote:
>> 
>> Thank you very much for the quick replies and the explanations. (C)sounds like I won't be able to use versions after 6.10 until this issue is fixed...:-)! But found the remarks about the changes in diskin2 and GEN01 from 6.11 (in "What's new") and will try to find a correct "iformat" for my simple orchestras.
>> At the moment, the difference in the result is quite radical (see the two results below, one with 6.09, the other with 6.11).
>> I suppose that, when something is fixed, there will be a post on this list.
>> Thanks again.
>> 
>> Marco
>> 
>> Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ hat jpff  Folgendes geschrieben:
>> 
>> 
>> Looks like a reversion of new working code in diskin2.  It is not ignoring 
>> the format when it should and did.  May take a while to get to the basis 
>> of this.
>> 
>> 
>> On Wed, 9 Jan 2019, Marco Stroppa wrote:
>> 
>>> Hello, Csounders,
>>> 
>>> I wonder what might have changed in Csound after 6.10. The following very
>>> simple orc/sco files just read a file from disk using the opcode diskin2 and
>>> applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it
>>> produces only noise. Any idea about what is wrong with it, please? I'm a bit
>>> confused...:-(
>>> 
>>> Thank you in advance.
>>> 
>>> 
>>> Marco
>> 
>> 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

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

Date2019-01-10 10:01
FromFabio De Sanctis De Benedictis
SubjectRe: [Csnd] Changed in Csound 6.11??
Hi All,

Also in my configuration (Linux Fedora 28, but Csound 6.10) everything
runs perfectly.

fdsdb


Il giorno mer, 09/01/2019 alle 20.02 +0000, Marco Stroppa ha scritto:
> Hello, Csounders,
> 
> I wonder what might have changed in Csound after 6.10. The following
> very simple orc/sco files just read a file from disk using the opcode
> diskin2 and applies an envelope to it. Until 6.10 it worked
> perfectly, from 6.11 it produces only noise. Any idea about what is
> wrong with it, please? I'm a bit confused...:-(
> 
> Thank you in advance.
> 
> 
> Marco
> 
> Am Montag, 23. Januar 2017, 18:24:18 MEZ hat Ed Costello <
> phasereset@GMAIL.COM> Folgendes geschrieben:
> 
> 
> I’ll also chime in with the hdf5 opcodes, these can read and write
> any type of signal or array to an hdf file, hdf files can be read by
> things such as python and matlab. 
> http://www.csounds.com/manual/html/hdf5write.html
> 
> Ed
> 
> 
> > On 23 Jan 2017, at 17:21, Oeyvind Brandtsegg <
> > oyvind.brandtsegg@NTNU.NO> wrote:
> > 
> > You could also use the fink opcoode
> > 
> > fink ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...]
> > 
> > best
> > Oeyvind
> > 
> > 2017-01-22 13:15 GMT-08:00 Eduardo Moguillansky
> > :
> > > I just did something very similar, writing partial tracking
> > > analysis data
> > > (multidimensional data sampled at regular intervals) to gen23
> > > files. The
> > > writing was done with python and numpy (numpy's savetxt saves as
> > > a gen23
> > > compatible format), then reading with 'tab', implemented own
> > > interpolation
> > > (data represented a 2d array).
> > > 
> > > On 22.01.2017 20:40, Victor Lazzarini wrote:
> > > > Another thing you can do is write the data to one or more files
> > > > as
> > > > binary data, then read these files as raw binary and use tablew
> > > > to write
> > > > to the tables.
> > > > 
> > > > Victor Lazzarini
> > > > Dean of Arts, Celtic Studies, and Philosophy
> > > > Maynooth University
> > > > Ireland
> > > > 
> > > > On 22 Jan 2017, at 18:33, Michael Gogins <
> > > > michael.gogins@GMAIL.COM
> > > > > wrote:
> > > > 
> > > > > Write your piece in some other language such as C++, C, Java,
> > > > > Lua or
> > > > > LuaJIT, Lisp, Python, JavaScript, or .NET and easily use the
> > > > > Csound
> > > > > API to copy the data into a Csound function table. You could
> > > > > read from
> > > > > a database.
> > > > > 
> > > > > Or, use the Python or LuaJIT opcodes to run such code from a
> > > > > Csound
> > > > > orchestra.
> > > > > 
> > > > > Or, easily write a plugin opcode in C++ using the
> > > > > OpcodeBase.hpp
> > > > > header, or in C, to perform this task.
> > > > > 
> > > > > Regards,
> > > > > Mike
> > > > > 
> > > > > On Jan 22, 2017 12:36 PM, "Marco Stroppa"
> > > > > <00000088a9b41854-dmarc-request@listserv.heanet.ie
> > > > > >
> > > > > wrote:
> > > > > 
> > > > >    Dear Csounders,
> > > > > 
> > > > >    I stumbled into the following issue: I have many curves
> > > > > with a lot
> > > > >    of data (several thousands or tens of thousands of points,
> > > > > if not
> > > > >    more), manually drawn on a tablet, algorithmically
> > > > > computed or
> > > > >    derived from analysis data. They usually correspond to
> > > > >    continuously changing frequencies or amplitudes that
> > > > > should
> > > > >    modulate the inputs of an instrument (not in real-time)
> > > > > playing a
> > > > >    long note. The easiest way would be to write these data
> > > > > onto a GEN
> > > > >    routine and read it with an oscillator or tablei opcode.
> > > > > 
> > > > >    Of course, I could run a data reduction application to
> > > > > reduce the
> > > > >    amount of data according to psychoacoustic criteria, but I
> > > > > would
> > > > >    prefer to see if there is a way
> > > > >    to use these data as such. GEN02 is limited by the
> > > > > (historically
> > > > >    low) value of PMAX, GEN23 would work, but, having
> > > > > thousands of
> > > > >    functions, writing thousand of (temporary) text files is
> > > > > terribly
> > > > >    long.
> > > > > 
> > > > >    Is there any other way to transfer these data to a
> > > > > function table?
> > > > >    Thanks for any directions I might try to follow...:-)!
> > > > > 
> > > > > 
> > > > >    Marco
> > > > > 
> > > > > 
> > > > > 
> > > > >    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
> > > 
> > > 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
> > 
> > 
> > -- 
> > 
> > Oeyvind Brandtsegg
> > Professor of Music Technology
> > NTNU
> > 7491 Trondheim
> > Norway
> > Cell: +47 92 203 205
> > 
> > http://www.partikkelaudio.com/
> > http://crossadaptive.hf.ntnu.no
> > http://gdsp.hf.ntnu.no/
> > http://soundcloud.com/brandtsegg
> > http://flyndresang.no/
> > http://soundcloud.com/t-emp
> > 
> > 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

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

Date2019-01-10 11:37
FromJohn ff
SubjectRe: [Csnd] Changed in Csound 6.11??
I thought we had fixed on needing s negative format for raw audio and all positive values ignored. I know I implemented this in some cases but it looks as if I missed some.

Was done in gen code for sure.

Sent from TypeApp
On 10 Jan 2019, at 09:09, Victor Lazzarini <victor.lazzarini@mu.ie> wrote:
Just checked this. If you set iformat to 0, it works as before. This was a non-backward compatible change that I thought
was reverted in 6.12, but maybe not.

In any case, with all soundfiles that are not raw, using iformat = 0 will work. That change may allow you to use the latest
Csound.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 10 Jan 2019, at 09:01, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

6.12 is the latest version, did you try that?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 10 Jan 2019, at 08:58, Marco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE> wrote:

Thank you very much for the quick replies and the explanations. (C)sounds like I won't be able to use versions after 6.10 until this issue is fixed...:-)! But found the remarks about the changes in diskin2 and GEN01 from 6.11 (in "What's new") and will try to find a correct "iformat" for my simple orchestras.
At the moment, the difference in the result is quite radical (see the two results below, one with 6.09, the other with 6.11).
I suppose that, when something is fixed, there will be a post on this list.
Thanks again.

Marco

Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ hat jpff <jpff@CODEMIST.CO.UK> Folgendes geschrieben:


Looks like a reversion of new working code in diskin2. It is not ignoring
the format when it should and did. May take a while to get to the basis
of this.


On Wed, 9 Jan 2019, Marco Stroppa wrote:

Hello, Csounders,

I wonder what might have changed in Csound after 6.10. The following very
simple orc/sco files just read a file from disk using the opcode diskin2 and
applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it
produces only noise. Any idea about what is wrong with it, please? I'm a bit
confused...:-(

Thank you in advance.


Marco

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<diskin609.wav><diskin611.wav>

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

Date2019-01-10 13:05
FromMarco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Changed in Csound 6.11??
Great advice, Victor! Thank you very much for taking the time to try it out (I had not dared to update my 6.09, as I need Csound on a daily base at the moment).
Best,


Marco

Am Donnerstag, 10. Januar 2019, 12:37:49 MEZ hat John ff <jpff@CODEMIST.CO.UK> Folgendes geschrieben:


I thought we had fixed on needing s negative format for raw audio and all positive values ignored. I know I implemented this in some cases but it looks as if I missed some.

Was done in gen code for sure.

Sent from TypeApp
On 10 Jan 2019, at 09:09, Victor Lazzarini <victor.lazzarini@mu.ie> wrote:
Just checked this. If you set iformat to 0, it works as before. This was a non-backward compatible change that I thought
was reverted in 6.12, but maybe not.

In any case, with all soundfiles that are not raw, using iformat = 0 will work. That change may allow you to use the latest
Csound.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 10 Jan 2019, at 09:01, Victor Lazzarini <Victor.Lazzarini@MU.IE> wrote:

6.12 is the latest version, did you try that?
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 10 Jan 2019, at 08:58, Marco Stroppa <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE> wrote:

Thank you very much for the quick replies and the explanations. (C)sounds like I won't be able to use versions after 6.10 until this issue is fixed...:-)! But found the remarks about the changes in diskin2 and GEN01 from 6.11 (in "What's new") and will try to find a correct "iformat" for my simple orchestras.
At the moment, the difference in the result is quite radical (see the two results below, one with 6.09, the other with 6.11).
I suppose that, when something is fixed, there will be a post on this list.
Thanks again.

Marco

Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ hat jpff <jpff@CODEMIST.CO.UK> Folgendes geschrieben:


Looks like a reversion of new working code in diskin2. It is not ignoring
the format when it should and did. May take a while to get to the basis
of this.


On Wed, 9 Jan 2019, Marco Stroppa wrote:

Hello, Csounders,

I wonder what might have changed in Csound after 6.10. The following very
simple orc/sco files just read a file from disk using the opcode diskin2 and
applies an envelope to it. Until 6.10 it worked perfectly, from 6.11 it
produces only noise. Any idea about what is wrong with it, please? I'm a bit
confused...:-(

Thank you in advance.


Marco

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<diskin609.wav><diskin611.wav>


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

Date2019-01-10 13:41
Fromjpff
SubjectRe: [Csnd] Changed in Csound 6.11??
I have changed diskin2 to be what was intended.  Positive iFormat values 
are ignored but ifyou want a raw file that negative values are used.  Not 
completey tested yet.
==John ff

On Thu, 10 Jan 2019, Marco Stroppa wrote:

> Great advice, Victor! Thank you very much for taking the time to try it out (I
> had not dared to update my 6.09, as I need Csound on a daily base at the
> moment).
> Best,
> 
> 
> Marco
> 
> Am Donnerstag, 10. Januar 2019, 12:37:49 MEZ hat John ff 
> Folgendes geschrieben:
> 
> 
> I thought we had fixed on needing s negative format for raw audio and all
> positive values ignored. I know I implemented this in some cases but it looks
> as if I missed some.
> 
> Was done in gen code for sure.
> 
> Sent from TypeApp
> On 10 Jan 2019, at 09:09, Victor Lazzarini  wrote:
> 
> Just checked this. If you set iformat to 0, it works as before. This was a non
> -backward compatible change that I thought
> was reverted in 6.12, but maybe not.
> In any case, with all soundfiles that are not raw, using iformat = 0 will work
> . That change may allow you to use the latest
> Csound.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>             On 10 Jan 2019, at 09:01, Victor Lazzarini
>              wrote:
>
>             6.12 is the latest version, did you try that?
>             ========================
>             Prof. Victor Lazzarini
>             Dean of Arts, Celtic Studies, and Philosophy,
>             Maynooth University,
>             Maynooth, Co Kildare, Ireland
>             Tel: 00 353 7086936
>             Fax: 00 353 1 7086952
>
>                   On 10 Jan 2019, at 08:58, Marco Stroppa
>                   <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE>
>                   wrote:
>
>                   Thank you very much for the quick replies
>                   and the explanations. (C)sounds like I
>                   won't be able to use versions after 6.10
>                   until this issue is fixed...:-)! But found
>                   the remarks about the changes in diskin2
>                   and GEN01 from 6.11 (in "What's new") and
>                   will try to find a correct "iformat" for
>                   my simple orchestras.
>                   At the moment, the difference in the
>                   result is quite radical (see the two
>                   results below, one with 6.09, the other
>                   with 6.11).
>                   I suppose that, when something is fixed,
>                   there will be a post on this list.
>                   Thanks again.
>
>                   Marco
>
>                   Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ
>                   hat jpff  Folgendes
>                   geschrieben:
> 
>
>                   Looks like a reversion of new working code
>                   in diskin2. It is not ignoring
>                   the format when it should and did. May
>                   take a while to get to the basis
>                   of this.
> 
>
>                   On Wed, 9 Jan 2019, Marco Stroppa wrote:
>
>                         Hello, Csounders,
>
>                         I wonder what might have
>                         changed in Csound after 6.10.
>                         The following very
>                         simple orc/sco files just read
>                         a file from disk using the
>                         opcode diskin2 and
>                         applies an envelope to it.
>                         Until 6.10 it worked
>                         perfectly, from 6.11 it
>                         produces only noise. Any idea
>                         about what is wrong with it,
>                         please? I'm a bit
>                         confused...:-(
>
>                         Thank you in advance.
> 
>
>                         Marco
> 
>
>                   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
> 
> 
> 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
>

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

Date2019-01-10 15:02
FromVictor Lazzarini
SubjectRe: [Csnd] Changed in Csound 6.11??
Thanks. I’ll test it later.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 10 Jan 2019, at 13:41, jpff  wrote:
> 
> I have changed diskin2 to be what was intended.  Positive iFormat values are ignored but ifyou want a raw file that negative values are used.  Not completey tested yet.
> ==John ff
> 
> On Thu, 10 Jan 2019, Marco Stroppa wrote:
> 
>> Great advice, Victor! Thank you very much for taking the time to try it out (I
>> had not dared to update my 6.09, as I need Csound on a daily base at the
>> moment).
>> Best,
>> Marco
>> Am Donnerstag, 10. Januar 2019, 12:37:49 MEZ hat John ff 
>> Folgendes geschrieben:
>> I thought we had fixed on needing s negative format for raw audio and all
>> positive values ignored. I know I implemented this in some cases but it looks
>> as if I missed some.
>> Was done in gen code for sure.
>> Sent from TypeApp
>> On 10 Jan 2019, at 09:09, Victor Lazzarini  wrote:
>> Just checked this. If you set iformat to 0, it works as before. This was a non
>> -backward compatible change that I thought
>> was reverted in 6.12, but maybe not.
>> In any case, with all soundfiles that are not raw, using iformat = 0 will work
>> . That change may allow you to use the latest
>> Csound.
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>            On 10 Jan 2019, at 09:01, Victor Lazzarini
>>             wrote:
>> 
>>            6.12 is the latest version, did you try that?
>>            ========================
>>            Prof. Victor Lazzarini
>>            Dean of Arts, Celtic Studies, and Philosophy,
>>            Maynooth University,
>>            Maynooth, Co Kildare, Ireland
>>            Tel: 00 353 7086936
>>            Fax: 00 353 1 7086952
>> 
>>                  On 10 Jan 2019, at 08:58, Marco Stroppa
>>                  <00000088a9b41854-dmarc-request@LISTSERV.HEANET.IE>
>>                  wrote:
>> 
>>                  Thank you very much for the quick replies
>>                  and the explanations. (C)sounds like I
>>                  won't be able to use versions after 6.10
>>                  until this issue is fixed...:-)! But found
>>                  the remarks about the changes in diskin2
>>                  and GEN01 from 6.11 (in "What's new") and
>>                  will try to find a correct "iformat" for
>>                  my simple orchestras.
>>                  At the moment, the difference in the
>>                  result is quite radical (see the two
>>                  results below, one with 6.09, the other
>>                  with 6.11).
>>                  I suppose that, when something is fixed,
>>                  there will be a post on this list.
>>                  Thanks again.
>> 
>>                  Marco
>> 
>>                  Am Mittwoch, 9. Januar 2019, 22:12:25 MEZ
>>                  hat jpff  Folgendes
>>                  geschrieben:
>> 
>>                  Looks like a reversion of new working code
>>                  in diskin2. It is not ignoring
>>                  the format when it should and did. May
>>                  take a while to get to the basis
>>                  of this.
>> 
>>                  On Wed, 9 Jan 2019, Marco Stroppa wrote:
>> 
>>                        Hello, Csounders,
>> 
>>                        I wonder what might have
>>                        changed in Csound after 6.10.
>>                        The following very
>>                        simple orc/sco files just read
>>                        a file from disk using the
>>                        opcode diskin2 and
>>                        applies an envelope to it.
>>                        Until 6.10 it worked
>>                        perfectly, from 6.11 it
>>                        produces only noise. Any idea
>>                        about what is wrong with it,
>>                        please? I'm a bit
>>                        confused...:-(
>> 
>>                        Thank you in advance.
>> 
>>                        Marco
>> 
>>                  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
>> 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
>> 
> 
> 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