Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error in analyze_udos.inc #23

Closed
sensestage opened this issue Mar 5, 2017 · 5 comments
Closed

syntax error in analyze_udos.inc #23

sensestage opened this issue Mar 5, 2017 · 5 comments

Comments

@sensestage
Copy link

I am getting the syntax error below when opening analyzer.csd in cabbage...

error: syntax error, unexpected T_IDENT  (token "kFFT") from file analyze_udos.inc (2)
 from file /home/nescivi/git/projects/CrossAdaptive/featexmod/analyzer.csd (1)
 line 325:
>>>kFFT <<<
Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra
@Oeyvind
Copy link
Owner

Oeyvind commented Mar 6, 2017

Thanks for the report.
Could you try running it in the terminal, to see if there is some more detail to the error?
cd to the directory and run
csound analyzer.csd

If it runs without error, you will have to terminate it with Ctrl+C.
Please post the terminal output (successful or not).

If it fails in the terminal too, please try to run:
csound -z
which lists all available opcodes, and check if rfft is in the list.

@Oeyvind
Copy link
Owner

Oeyvind commented Mar 6, 2017

... also please check Csound version number, printed (close to the top, 3rd or 4th line of the console output) every time you run csound in the terminal.

@sensestage
Copy link
Author

rfft is in the list of opcodes.
I installed the CSound from the repositories of Ubuntu Xenial (16.04).

nescivi@exometheus:~/git/projects/CrossAdaptive/featexmod$ csound analyzer.csd 
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.04 (double samples) 2016-02-21
libsndfile-1.0.25
UnifiedCSD:  analyzer.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: ALSA module enabled
defining argument _PUBLISH__N as...#0#
defining argument _PUBLISH__N as...#1#
defining argument _PUBLISH__N as...#2#

error: syntax error, unexpected T_IDENT  (token "kFFT") from file analyze_udos.inc (2)
 from file analyzer.csd (1)
 line 325:
>>>kFFT <<<
Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra
end of score.		   overall amps:      0.0
	   overall samples out of range:        0
1 errors in performance
no sound written to disk

@Oeyvind
Copy link
Owner

Oeyvind commented Mar 9, 2017 via email

@sensestage
Copy link
Author

ok, then it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants