Csound Csound-dev Csound-tekno Search About

[Csnd] sdif2ad

Date2009-03-01 16:12
Frommenno
Subject[Csnd] sdif2ad
Hi all,

playing around with SPEAR and exporting the result in the 2 possible ways of 
the 1TRC-format of SPEAR,  i would like to convert this .sdif file to
something adsyn can handle
(http://www.csounds.com/manual/html/sdif2ad.html). The utility "sdif2ad" is
designed for that purpose, but neither with the floats version nor the
doubles version this utility can be found.
I use the command: 

csound -U sdif2ad infile outfile

I get a list of available utilities but sdif2ad is not among them.

So i go to C:\Program Files\Csound\bin directly and there i try:

sdif2ad.exe infile outfile

i get the following output:

SDIF2ADS v1.1
Illegal partial index 0.00 found in frame 1

Is this utility still supported or perhaps has the format of SDIF changed in
a way that the Csound utlility needs to be revised?
(Also, the manual states: sdif2ad — Converts SDIF files to files usable by
adsynt, but that should be adsyn - without -t?)

Menno



-- 
View this message in context: http://www.nabble.com/sdif2ad-tp22274540p22274540.html
Sent from the Csound - General mailing list archive at Nabble.com.



Date2009-03-01 21:40
FromAnthony Kozar
Subject[Csnd] Re: sdif2ad
This is Richard Dobson's area, but I will note that the command syntax given
in the manual is incorrect:

  csound -U sdif2ad [flags] infilename outfilename

sdif2ad is not invocable with csound -U.  It should simply be

  sdif2ad [flags] infilename outfilename

Other than that, I'm not sure what is wrong.

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/


menno wrote on 3/1/09 11:12 AM:

> 
> Hi all,
> 
> playing around with SPEAR and exporting the result in the 2 possible ways of
> the 1TRC-format of SPEAR,  i would like to convert this .sdif file to
> something adsyn can handle
> (http://www.csounds.com/manual/html/sdif2ad.html). The utility "sdif2ad" is
> designed for that purpose, but neither with the floats version nor the
> doubles version this utility can be found.
> I use the command:
> 
> csound -U sdif2ad infile outfile
> 
> I get a list of available utilities but sdif2ad is not among them.
> 
> So i go to C:\Program Files\Csound\bin directly and there i try:
> 
> sdif2ad.exe infile outfile
> 
> i get the following output:
> 
> SDIF2ADS v1.1
> Illegal partial index 0.00 found in frame 1
> 
> Is this utility still supported or perhaps has the format of SDIF changed in
> a way that the Csound utlility needs to be revised?
> (Also, the manual states: sdif2ad ‹ Converts SDIF files to files usable by
> adsynt, but that should be adsyn - without -t?)
> 
> Menno
> 
> 



Date2009-03-02 10:16
From"Dr. Richard Boulanger"
Subject[Csnd] Re: sdif2ad
Hello,

I am not seeing sdif2ad in my /usr/local/bin directory (I have  
installed MacOS  X10.5.6 - Csound version 5.10)
and
from the terminal

Csound -U does not list sdif2ad as an available utility.

Maybe it slipped through the most recent installer?

Dr. B.


On Mar 1, 2009, at 4:12 PM, menno wrote:

>
> Hi all,
>
> playing around with SPEAR and exporting the result in the 2 possible  
> ways of
> the 1TRC-format of SPEAR,  i would like to convert this .sdif file to
> something adsyn can handle
> (http://www.csounds.com/manual/html/sdif2ad.html). The utility  
> "sdif2ad" is
> designed for that purpose, but neither with the floats version nor the
> doubles version this utility can be found.
> I use the command:
>
> csound -U sdif2ad infile outfile
>
> I get a list of available utilities but sdif2ad is not among them.
>
> So i go to C:\Program Files\Csound\bin directly and there i try:
>
> sdif2ad.exe infile outfile
>
> i get the following output:
>
> SDIF2ADS v1.1
> Illegal partial index 0.00 found in frame 1
>
> Is this utility still supported or perhaps has the format of SDIF  
> changed in
> a way that the Csound utlility needs to be revised?
> (Also, the manual states: sdif2ad — Converts SDIF files to files  
> usable by
> adsynt, but that should be adsyn - without -t?)
>
> Menno
>
>
>
> -- 
> View this message in context: http://www.nabble.com/sdif2ad-tp22274540p22274540.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2009-03-02 10:45
Frompeiman khosravi
Subject[Csnd] Re: Re: sdif2ad
Yes For some reason sdif2ad is never included in the os x release. I
have it from the double version I compiled. I can email it to you.

Best
Peiman

2009/3/2 Dr. Richard Boulanger :
> Hello,
>
> I am not seeing sdif2ad in my /usr/local/bin directory (I have installed
> MacOS  X10.5.6 - Csound version 5.10)
> and
> from the terminal
>
> Csound -U does not list sdif2ad as an available utility.
>
> Maybe it slipped through the most recent installer?
>
> Dr. B.
>
>
> On Mar 1, 2009, at 4:12 PM, menno wrote:
>
>>
>> Hi all,
>>
>> playing around with SPEAR and exporting the result in the 2 possible ways
>> of
>> the 1TRC-format of SPEAR,  i would like to convert this .sdif file to
>> something adsyn can handle
>> (http://www.csounds.com/manual/html/sdif2ad.html). The utility "sdif2ad"
>> is
>> designed for that purpose, but neither with the floats version nor the
>> doubles version this utility can be found.
>> I use the command:
>>
>> csound -U sdif2ad infile outfile
>>
>> I get a list of available utilities but sdif2ad is not among them.
>>
>> So i go to C:\Program Files\Csound\bin directly and there i try:
>>
>> sdif2ad.exe infile outfile
>>
>> i get the following output:
>>
>> SDIF2ADS v1.1
>> Illegal partial index 0.00 found in frame 1
>>
>> Is this utility still supported or perhaps has the format of SDIF changed
>> in
>> a way that the Csound utlility needs to be revised?
>> (Also, the manual states: sdif2ad — Converts SDIF files to files usable by
>> adsynt, but that should be adsyn - without -t?)
>>
>> Menno
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/sdif2ad-tp22274540p22274540.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"


Date2009-03-02 11:08
From"Dr. Richard Boulanger"
Subject[Csnd] Re: sdif2ad
Yes,

Thanks... Please do email it to me...

Hopefully it will be included in the next release.

Dr. B.

On Mar 2, 2009, at 10:45 AM, peiman khosravi wrote:

> Yes For some reason sdif2ad is never included in the os x release. I
> have it from the double version I compiled. I can email it to you.
>
> Best
> Peiman
>
> 2009/3/2 Dr. Richard Boulanger :
>> Hello,
>>
>> I am not seeing sdif2ad in my /usr/local/bin directory (I have  
>> installed
>> MacOS  X10.5.6 - Csound version 5.10)
>> and
>> from the terminal
>>
>> Csound -U does not list sdif2ad as an available utility.
>>
>> Maybe it slipped through the most recent installer?
>>
>> Dr. B.
>>
>>
>> On Mar 1, 2009, at 4:12 PM, menno wrote:
>>
>>>
>>> Hi all,
>>>
>>> playing around with SPEAR and exporting the result in the 2  
>>> possible ways
>>> of
>>> the 1TRC-format of SPEAR,  i would like to convert this .sdif file  
>>> to
>>> something adsyn can handle
>>> (http://www.csounds.com/manual/html/sdif2ad.html). The utility  
>>> "sdif2ad"
>>> is
>>> designed for that purpose, but neither with the floats version nor  
>>> the
>>> doubles version this utility can be found.
>>> I use the command:
>>>
>>> csound -U sdif2ad infile outfile
>>>
>>> I get a list of available utilities but sdif2ad is not among them.
>>>
>>> So i go to C:\Program Files\Csound\bin directly and there i try:
>>>
>>> sdif2ad.exe infile outfile
>>>
>>> i get the following output:
>>>
>>> SDIF2ADS v1.1
>>> Illegal partial index 0.00 found in frame 1
>>>
>>> Is this utility still supported or perhaps has the format of SDIF  
>>> changed
>>> in
>>> a way that the Csound utlility needs to be revised?
>>> (Also, the manual states: sdif2ad — Converts SDIF files to files  
>>> usable by
>>> adsynt, but that should be adsyn - without -t?)
>>>
>>> Menno
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/sdif2ad-tp22274540p22274540.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2009-03-02 23:22
FromAnthony Kozar
Subject[Csnd] Re: sdif2ad
I think there are a few minor utilities that have always been omitted from
the OS X installers.  They include

    brkpt
    cseditor
    pv_export
    pv_import
    scot
    sdif2ad

Some of these are undocumented, so they might not be terribly useful right
now anyways.

But, if you can use the 5.10 installer for OS X Leopard that I recently
posted to Sourceforge, it should contain all of these missing utilities.  It
would be possible to extract only these files if you wish ...

Actually, I thought I'd make it easy for everyone and I wrote a simple
installer and zipped up the missing utilities.  However, before uploading
just now I realized that most of these programs will probably not work
unless you install my entire PPC/Leopard package because they are linked to
various (unnecessary) libraries that you will not have. *

Anyways, here are the programs if anyone wants to try them.

http://www.anthonykozar.net/files/Csound-OSX/csoundMissingUtil.zip

Double-click on the install.command file and enter your admin password (or
just run them in place).  Let me know if they work but I don't expect them
to (except possibly brkpt and cseditor).

Regardless, once Victor and I merge our packaging scripts for the next
release, these utilities should be included in all installer packages for OS
X.

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/

* We really need to fix this issue in SConstruct!


Dr. Richard Boulanger wrote on 3/2/09 6:08 AM:

> Yes,
> 
> Thanks... Please do email it to me...
> 
> Hopefully it will be included in the next release.
> 
> Dr. B.
> 
> On Mar 2, 2009, at 10:45 AM, peiman khosravi wrote:
> 
>> Yes For some reason sdif2ad is never included in the os x release. I
>> have it from the double version I compiled. I can email it to you.
>> 
>> Best
>> Peiman
>> 
>> 2009/3/2 Dr. Richard Boulanger :
>>> Hello,
>>> 
>>> I am not seeing sdif2ad in my /usr/local/bin directory (I have
>>> installed
>>> MacOS  X10.5.6 - Csound version 5.10)
>>> and
>>> from the terminal
>>> 
>>> Csound -U does not list sdif2ad as an available utility.
>>> 
>>> Maybe it slipped through the most recent installer?
>>> 
>>> Dr. B.


Date2009-03-02 23:53
From"Dr. Richard Boulanger"
Subject[Csnd] Re: Re: sdif2ad
Thanks Anthony,

I am actually meeting personally with Victor, John and Richard Dobson  
tomorrow - here in Bath -
to brainstorm about Csound5 and Csound6, The New Csound5(6) Book, The  
Audio Programming
Book - and we will now add these missing utilities to the pages of  
topics we plan to discuss (and that John,
Richard, Archer Endrich and I have been discussing over the past week.)

Thanks for all your work on this new release.
And thanks for sending along a link to these important missing pieces.

Dr. B.


On Mar 2, 2009, at 11:22 PM, Anthony Kozar wrote:

> I think there are a few minor utilities that have always been  
> omitted from
> the OS X installers.  They include
>
>    brkpt
>    cseditor
>    pv_export
>    pv_import
>    scot
>    sdif2ad
>
> Some of these are undocumented, so they might not be terribly useful  
> right
> now anyways.
>
> But, if you can use the 5.10 installer for OS X Leopard that I  
> recently
> posted to Sourceforge, it should contain all of these missing  
> utilities.  It
> would be possible to extract only these files if you wish ...
>
> Actually, I thought I'd make it easy for everyone and I wrote a simple
> installer and zipped up the missing utilities.  However, before  
> uploading
> just now I realized that most of these programs will probably not work
> unless you install my entire PPC/Leopard package because they are  
> linked to
> various (unnecessary) libraries that you will not have. *
>
> Anyways, here are the programs if anyone wants to try them.
>
> http://www.anthonykozar.net/files/Csound-OSX/csoundMissingUtil.zip
>
> Double-click on the install.command file and enter your admin  
> password (or
> just run them in place).  Let me know if they work but I don't  
> expect them
> to (except possibly brkpt and cseditor).
>
> Regardless, once Victor and I merge our packaging scripts for the next
> release, these utilities should be included in all installer  
> packages for OS
> X.
>
> Anthony Kozar
> mailing-lists-1001 AT anthonykozar DOT net
> http://anthonykozar.net/
>
> * We really need to fix this issue in SConstruct!
>
>
> Dr. Richard Boulanger wrote on 3/2/09 6:08 AM:
>
>> Yes,
>>
>> Thanks... Please do email it to me...
>>
>> Hopefully it will be included in the next release.
>>
>> Dr. B.
>>
>> On Mar 2, 2009, at 10:45 AM, peiman khosravi wrote:
>>
>>> Yes For some reason sdif2ad is never included in the os x release. I
>>> have it from the double version I compiled. I can email it to you.
>>>
>>> Best
>>> Peiman
>>>
>>> 2009/3/2 Dr. Richard Boulanger :
>>>> Hello,
>>>>
>>>> I am not seeing sdif2ad in my /usr/local/bin directory (I have
>>>> installed
>>>> MacOS  X10.5.6 - Csound version 5.10)
>>>> and
>>>> from the terminal
>>>>
>>>> Csound -U does not list sdif2ad as an available utility.
>>>>
>>>> Maybe it slipped through the most recent installer?
>>>>
>>>> Dr. B.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"


Date2009-03-02 23:55
FromFelipe Sateler
Subject[Csnd] Re: Re: sdif2ad
On Tue, Mar 3, 2009 at 10:22 AM, Anthony Kozar
 wrote:
> I think there are a few minor utilities that have always been omitted from
> the OS X installers.  They include
>
>    brkpt
>    cseditor
>    pv_export
>    pv_import
>    scot
>    sdif2ad
>
> Some of these are undocumented, so they might not be terribly useful right
> now anyways.

Most seem to be pretty simple tools, so maybe it is worth  writing
documentation for them?

>
> But, if you can use the 5.10 installer for OS X Leopard that I recently
> posted to Sourceforge, it should contain all of these missing utilities.  It
> would be possible to extract only these files if you wish ...
>
> Actually, I thought I'd make it easy for everyone and I wrote a simple
> installer and zipped up the missing utilities.  However, before uploading
> just now I realized that most of these programs will probably not work
> unless you install my entire PPC/Leopard package because they are linked to
> various (unnecessary) libraries that you will not have. *

 snip...
>
> * We really need to fix this issue in SConstruct!

You could just pass -Wl,--no-unneeded to everything (except csoundac,
which will fail) and omit all these spurious links. Or, you can try
SConstruct2 which is still under work but will  hopefully work
(testing on OSX would be appreciated).

-- 

	Felipe Sateler

Date2009-03-03 05:44
FromAnthony Kozar
Subject[Csnd] Re: sdif2ad
Felipe Sateler wrote on 3/2/09 6:55 PM:

> On Tue, Mar 3, 2009 at 10:22 AM, Anthony Kozar
>  wrote:
>> I think there are a few minor utilities that have always been omitted from
>> the OS X installers.  They include
>> 
>>    brkpt
>>    cseditor
>>    pv_export
>>    pv_import
>>    scot
>>    sdif2ad
>> 
>> Some of these are undocumented, so they might not be terribly useful right
>> now anyways.
> 
> Most seem to be pretty simple tools, so maybe it is worth  writing
> documentation for them?

Yes, they should be documented.  There used to be a whole chapter of the
Csound manual devoted to Scot and I have a copy somewhere.  Re-adding these
docs is on my list of things to do for the next release.  brkpt, linseg, and
tabdes are three Perl scripts that are not documented in the manual.  In
addition, the utility programs cseditor, extract, lpc_import, lpc_export,
and scsort do not have their own pages from what I can see.

I'll see about adding pages for these but I don't necessarily know what all
of them do.

> You could just pass -Wl,--no-unneeded to everything (except csoundac,
> which will fail) and omit all these spurious links. Or, you can try
> SConstruct2 which is still under work but will  hopefully work
> (testing on OSX would be appreciated).

Thanks Felipe!  I did not know about that linking option.  I will try to
take a look at SConstruct2 sometime.

Anthony