[Csnd] Running csound from the command line
Date | 2018-04-29 19:19 |
From | Lars Indrek Hansson |
Subject | [Csnd] Running csound from the command line |
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 |
Date | 2018-04-29 19:25 |
From | Steven Yi |
Subject | 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 |
Date | 2018-04-29 20:45 |
From | Lars Indrek Hansson |
Subject | [Csnd] SV: [Csnd] Running csound from the command line |
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 <CSOUND@LISTSERV.HEANET.IE> för Steven Yi <stevenyi@GMAIL.COM>
Skickat: den 29 april 2018 20:25 Till: CSOUND@LISTSERV.HEANET.IE Ä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 <lars.indrek.hansson@hotmail.com> 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 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 |
Date | 2018-04-29 23:14 |
From | Rory Walsh |
Subject | Re: [Csnd] SV: [Csnd] Running csound from the command line |
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, <lars.indrek.hansson@hotmail.com> wrote:
|
Date | 2018-04-29 23:14 |
From | Steven Yi |
Subject | Re: [Csnd] SV: [Csnd] Running csound from the command line |
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 |