[Csnd] Running csound from the command line

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd] Running csound from the command line

Lars Indrek Hansson
Hi,

been trying to use csound from the command line lately
but it never works. The csd-file in question is from
McCurdys collection. I write: csound -odac0 -b512 -B1024  areson.csd
but I only get this message:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.

C:\Users\Rudeboy>csound -odac0 -b512 -B1024 areson.csd
0dBFS level = 32768.0
--Csound version 6.10 (double samples) Dec 21 2017
[commit: 2b6f2d970da3d1abf09b70bd027cd401841136b6]
libsndfile-1.0.29pre1
UnifiedCSD:  areson.csd
Reading CSD failed ... stopping
end of score.              overall amps:      0.0
        overall samples out of range:        0
1 errors in performance
Elapsed time at end of performance: real: 0.003s, CPU: 0.003s

Am I missing something? It works fine with front ends.

/Lars
Csound mailing list [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] Running csound from the command line

Steven Yi
Do you have the file in the folder you are current in?  I tried that
command here and I don't have the file in the folder I'm in and I get
pretty much the same message.

On Sun, Apr 29, 2018 at 2:19 PM, Lars Indrek Hansson
<[hidden email]> wrote:

> Hi,
>
> been trying to use csound from the command line lately
> but it never works. The csd-file in question is from
> McCurdys collection. I write: csound -odac0 -b512 -B1024  areson.csd
> but I only get this message:
>
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.
>
> C:\Users\Rudeboy>csound -odac0 -b512 -B1024 areson.csd
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) Dec 21 2017
> [commit: 2b6f2d970da3d1abf09b70bd027cd401841136b6]
> libsndfile-1.0.29pre1
> UnifiedCSD:  areson.csd
> Reading CSD failed ... stopping
> end of score.              overall amps:      0.0
>         overall samples out of range:        0
> 1 errors in performance
> Elapsed time at end of performance: real: 0.003s, CPU: 0.003s
>
> Am I missing something? It works fine with front ends.
>
> /Lars
> Csound mailing list [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|

[Csnd] SV: [Csnd] Running csound from the command line

Lars Indrek Hansson

The file is here:
C:\Users\Rudeboy\Documents\Musik\Csound\Orchestras & Scores\Iain McCurdy\Filters

Csound executable here:
C:\Program Files\Musik\Csound6_x64\bin

/Lars

Från: A discussion list for users of Csound <[hidden email]> för Steven Yi <[hidden email]>
Skickat: den 29 april 2018 20:25
Till: [hidden email]
Ämne: Re: [Csnd] Running csound from the command line
 
Do you have the file in the folder you are current in?  I tried that
command here and I don't have the file in the folder I'm in and I get
pretty much the same message.

On Sun, Apr 29, 2018 at 2:19 PM, Lars Indrek Hansson
<[hidden email]> wrote:
> Hi,
>
> been trying to use csound from the command line lately
> but it never works. The csd-file in question is from
> McCurdys collection. I write: csound -odac0 -b512 -B1024  areson.csd
> but I only get this message:
>
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.
>
> C:\Users\Rudeboy>csound -odac0 -b512 -B1024 areson.csd
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) Dec 21 2017
> [commit: 2b6f2d970da3d1abf09b70bd027cd401841136b6]
> libsndfile-1.0.29pre1
> UnifiedCSD:  areson.csd
> Reading CSD failed ... stopping
> end of score.              overall amps:      0.0
>         overall samples out of range:        0
> 1 errors in performance
> Elapsed time at end of performance: real: 0.003s, CPU: 0.003s
>
> Am I missing something? It works fine with front ends.
>
> /Lars
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] SV: [Csnd] Running csound from the command line

rorywalsh
Either move to the same directory as the csd file or provide the full path to it.

On Sun 29 Apr 2018, 20:46 Lars Indrek Hansson, <[hidden email]> wrote:

The file is here:
C:\Users\Rudeboy\Documents\Musik\Csound\Orchestras & Scores\Iain McCurdy\Filters

Csound executable here:
C:\Program Files\Musik\Csound6_x64\bin

/Lars

Från: A discussion list for users of Csound <[hidden email]> för Steven Yi <[hidden email]>
Skickat: den 29 april 2018 20:25
Till: [hidden email]
Ämne: Re: [Csnd] Running csound from the command line
 
Do you have the file in the folder you are current in?  I tried that
command here and I don't have the file in the folder I'm in and I get
pretty much the same message.

On Sun, Apr 29, 2018 at 2:19 PM, Lars Indrek Hansson
<[hidden email]> wrote:
> Hi,
>
> been trying to use csound from the command line lately
> but it never works. The csd-file in question is from
> McCurdys collection. I write: csound -odac0 -b512 -B1024  areson.csd
> but I only get this message:
>
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation.
>
> C:\Users\Rudeboy>csound -odac0 -b512 -B1024 areson.csd
> 0dBFS level = 32768.0
> --Csound version 6.10 (double samples) Dec 21 2017
> [commit: 2b6f2d970da3d1abf09b70bd027cd401841136b6]
> libsndfile-1.0.29pre1
> UnifiedCSD:  areson.csd
> Reading CSD failed ... stopping
> end of score.              overall amps:      0.0
>         overall samples out of range:        0
> 1 errors in performance
> Elapsed time at end of performance: real: 0.003s, CPU: 0.003s
>
> Am I missing something? It works fine with front ends.
>
> /Lars
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|

Re: [Csnd] SV: [Csnd] Running csound from the command line

Steven Yi
In reply to this post by Lars Indrek Hansson
Yes but you wrote this:

C:\Users\Rudeboy>csound -odac0 -b512 -B1024 areson.csd

Which says you ran that command in the C:\Users\Rudeboy folder.  You
either have to copy the areson.csd into that folder first, then run
that command there, or do:

cd C:\Users\Rudeboy\Documents\Musik\Csound\Orchestras & Scores\Iain
McCurdy\Filters

first before running your command, or change your command to locate
the file with a full path the areson.csd, like:

csound -odac0 -b512 -B1024
"C:\Users\Rudeboy\Documents\Musik\Csound\Orchestras & Scores\Iain
McCurdy\Filters\areson.csd"

But the way you tried first looks for areson.csd in the same folder
that you're executing the command.

On Sun, Apr 29, 2018 at 3:45 PM, Lars Indrek Hansson
<[hidden email]> wrote:

>
> The file is here:
> C:\Users\Rudeboy\Documents\Musik\Csound\Orchestras & Scores\Iain
> McCurdy\Filters
>
> Csound executable here:
> C:\Program Files\Musik\Csound6_x64\bin
>
> /Lars
> ________________________________
> Från: A discussion list for users of Csound <[hidden email]> för
> Steven Yi <[hidden email]>
> Skickat: den 29 april 2018 20:25
> Till: [hidden email]
> Ämne: Re: [Csnd] Running csound from the command line
>
> Do you have the file in the folder you are current in?  I tried that
> command here and I don't have the file in the folder I'm in and I get
> pretty much the same message.
>
> On Sun, Apr 29, 2018 at 2:19 PM, Lars Indrek Hansson
> <[hidden email]> wrote:
>> Hi,
>>
>> been trying to use csound from the command line lately
>> but it never works. The csd-file in question is from
>> McCurdys collection. I write: csound -odac0 -b512 -B1024  areson.csd
>> but I only get this message:
>>
>> Microsoft Windows [Version 6.1.7601]
>> Copyright (c) 2009 Microsoft Corporation.
>>
>> C:\Users\Rudeboy>csound -odac0 -b512 -B1024 areson.csd
>> 0dBFS level = 32768.0
>> --Csound version 6.10 (double samples) Dec 21 2017
>> [commit: 2b6f2d970da3d1abf09b70bd027cd401841136b6]
>> libsndfile-1.0.29pre1
>> UnifiedCSD:  areson.csd
>> Reading CSD failed ... stopping
>> end of score.              overall amps:      0.0
>>         overall samples out of range:        0
>> 1 errors in performance
>> Elapsed time at end of performance: real: 0.003s, CPU: 0.003s
>>
>> Am I missing something? It works fine with front ends.
>>
>> /Lars
>> Csound mailing list [hidden email]
>> 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
> [hidden email]
> 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 [hidden email]
> 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
[hidden email]
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