Csound Csound-dev Csound-tekno Search About

[Csnd] Csound tutorial favourites / Terminal

Date2014-04-18 21:06
Fromfauveboy
Subject[Csnd] Csound tutorial favourites / Terminal
Hi
I've recently downloaded Csound started a looking at the toots tutorial
online here ... http://www.csounds.com/tootsother/vercoetut/Vercoe.html I've
up loaded a screenshot of I guess the equivalent of "Hello world" but in
audio. The code is written in a Textwrangler. All I know so far from using C
language is that to run a file you  use the 'make' command in the terminal
then run the file with './'. I get a load of errors I was hoping someone
knew of a tutorial online that uses and explains how to run Csound through a
bash terminal rather than QT. I've uploaded the screens shots on what Im
doing at the moment because I don't understand the errors mean? 
Screen_Shot_2014-04-18_at_20.png
  
Screen_Shot_2014-04-18_at_01.png
  

Thank you very much for reading !



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-04-18 21:08
Fromfauveboy
Subject[Csnd] Re: Csound tutorial favourites / Terminal
Screen_Shot_2014-04-18_at_20.png
     
Heres the other image sorry, the results of the script in the terminal.



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408p5734410.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-04-18 21:11
FromMichael Gogins
SubjectRe: [Csnd] Csound tutorial favourites / Terminal
It appears that you have Csound code in a C language file, and are trying to compile it with the C compiler (cc).

Rname toot1.c to toot1.csd and compile it with csound instead of cc.

Hope this helps,
Mike


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


On Fri, Apr 18, 2014 at 4:06 PM, fauveboy <joel.ramsbottom@hotmail.co.uk> wrote:
Hi
I've recently downloaded Csound started a looking at the toots tutorial
online here ... http://www.csounds.com/tootsother/vercoetut/Vercoe.html I've
up loaded a screenshot of I guess the equivalent of "Hello world" but in
audio. The code is written in a Textwrangler. All I know so far from using C
language is that to run a file you  use the 'make' command in the terminal
then run the file with './'. I get a load of errors I was hoping someone
knew of a tutorial online that uses and explains how to run Csound through a
bash terminal rather than QT. I've uploaded the screens shots on what Im
doing at the moment because I don't understand the errors mean?
Screen_Shot_2014-04-18_at_20.png
<http://csound.1045644.n5.nabble.com/file/n5734408/Screen_Shot_2014-04-18_at_20.png>
Screen_Shot_2014-04-18_at_01.png
<http://csound.1045644.n5.nabble.com/file/n5734408/Screen_Shot_2014-04-18_at_01.png>

Thank you very much for reading !



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2014-04-18 21:55
Fromfauveboy
Subject[Csnd] Re: Csound tutorial favourites / Terminal
Thank you for that, so I've got some interesting results, no audio but the
terminal seems to be indicating something? both files are written as before
in the same text editor and saved as csd this time and the terminal
displayed what can be found in the attachment. No audio was produced
however. Is that down to the warnings near the top? I don't fully understand
command line flags is there something Im missing when I got to execute the
script?  Screen_Shot_2014-04-18_at_21.png
  

Thank you again!




--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408p5734415.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-04-18 22:20
FromRory Walsh
SubjectRe: [Csnd] Re: Csound tutorial favourites / Terminal
The output suggests that Csound has written a file called test.aif
somewhere. Try
csound toot1.csd -odac
Might also be worth checking out CsoundQT that comes with Csound. If
I'm not mistaken there are a load of tutorials and beginners
instruments available from the examples menu?

On 18 April 2014 22:55, fauveboy  wrote:
> Thank you for that, so I've got some interesting results, no audio but the
> terminal seems to be indicating something? both files are written as before
> in the same text editor and saved as csd this time and the terminal
> displayed what can be found in the attachment. No audio was produced
> however. Is that down to the warnings near the top? I don't fully understand
> command line flags is there something Im missing when I got to execute the
> script?  Screen_Shot_2014-04-18_at_21.png
> 
>
> Thank you again!
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408p5734415.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>

Date2014-04-18 22:46
Fromfauveboy
Subject[Csnd] Re: Csound tutorial favourites / Terminal
Awesome thats got it working now! I was looking for the correct flag here
http://www.csounds.com/manual/html/CommandFlags.html but couldn't see -odac
I guess stands for something like open digital to analogue conversion? I'll
look at more of the example tutorials in CsoundQT but I wanted to try and
stick to using the terminal because Its been suggested that as one develops
with there coding that the terminal can be alot more powerful... and that
IDE's do some of the leg work which which may be important to know just to
understand how things are working ..... so Im told. Anyway 
Thanks again, this is very exciting for me 




--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408p5734417.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-04-18 22:53
FromRory Walsh
SubjectRe: [Csnd] Re: Csound tutorial favourites / Terminal
Good luck. The command line does take a little getting used to but
before you know it you'll be setting Csound alarm clocks from the
terminal before you go to bed at night :)

On 18 April 2014 23:46, fauveboy  wrote:
> Awesome thats got it working now! I was looking for the correct flag here
> http://www.csounds.com/manual/html/CommandFlags.html but couldn't see -odac
> I guess stands for something like open digital to analogue conversion? I'll
> look at more of the example tutorials in CsoundQT but I wanted to try and
> stick to using the terminal because Its been suggested that as one develops
> with there coding that the terminal can be alot more powerful... and that
> IDE's do some of the leg work which which may be important to know just to
> understand how things are working ..... so Im told. Anyway
> Thanks again, this is very exciting for me
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-tutorial-favourites-Terminal-tp5734408p5734417.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>