Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Some problems with RunloopSound

Date2018-07-05 13:10
FromEnrico Francioni <00000005323c8739-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Some problems with RunloopSound
error messages:


FIRST CASE:

UnifiedCSD: /private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/audio_in.csd
STARTING FILE
Creating options
Creating orchestra
Creating score

error: syntax error, unexpected T_IDENT, expecting NEWLINE or ',' (token "aiff") from file /private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/audio_in.csd (1)
 line 10:
>>>asig diskin “test.aiff <<<
Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra

***

SECOND CASE:

UnifiedCSD: /private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/in.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
Elapsed time at end of orchestra compile: real: 0.007s, CPU: 0.011s
sorting score ...
 ... done
Elapsed time at end of score sort: real: 0.007s, CPU: 0.011s
--Csound version 6.07 (float samples) May 16 2016
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
SECTION 1:
new alloc for instr 1:
B 0.000 .. 5.000 T 5.000 TT 5.000 M: 0.0
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score. overall amps: 0.0
    overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 42.570s, CPU: 0.856s

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

Date2018-07-05 13:33
FromDave Seidel
SubjectRe: [Csnd] Some problems with RunloopSound
The first case looks like it's invalid because the name or the soundfile begins with a comma (","), and there's a missing required second parameter (kpitch).

On Thu, Jul 5, 2018 at 8:11 AM Enrico Francioni <00000005323c8739-dmarc-request@listserv.heanet.ie> wrote:
error messages:


FIRST CASE:

UnifiedCSD: /private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/audio_in.csd
STARTING FILE
Creating options
Creating orchestra
Creating score

error: syntax error, unexpected T_IDENT, expecting NEWLINE or ',' (token "aiff") from file /private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/audio_in.csd (1)
 line 10:
>>>asig diskin “test.aiff <<<
Parsing failed due to invalid input!
Stopping on parser failure
cannot compile orchestra

***

SECOND CASE:

UnifiedCSD: /private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/in.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
Elapsed time at end of orchestra compile: real: 0.007s, CPU: 0.011s
sorting score ...
 ... done
Elapsed time at end of score sort: real: 0.007s, CPU: 0.011s
--Csound version 6.07 (float samples) May 16 2016
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
SECTION 1:
new alloc for instr 1:
B 0.000 .. 5.000 T 5.000 TT 5.000 M: 0.0
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score. overall amps: 0.0
    overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 42.570s, CPU: 0.856s

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

Date2018-07-05 13:40
FromJohn ff
SubjectRe: [Csnd] Some problems with RunloopSound
Just a small thought.  How did you create the audio_in.csdfile?  It could be that you used a word processor which adds non ASCII characters.  The message looks clear to me that the string is not as you think.

⁣Sent from TypeApp ​

On Jul 5, 2018, 13:11, at 13:11, Enrico Francioni <00000005323c8739-dmarc-request@listserv.heanet.ie> wrote:
>error messages:
>
>
>FIRST CASE:
>
>UnifiedCSD:
>/private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/audio_in.csd
>STARTING FILE
>Creating options
>Creating orchestra
>Creating score
>
>error: syntax error, unexpected T_IDENT, expecting NEWLINE or ','
>(token "aiff") from file
>/private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/audio_in.csd
>(1)
> line 10:
>>>>asig diskin “test.aiff <<<
>Parsing failed due to invalid input!
>Stopping on parser failure
>cannot compile orchestra
>
>***
>
>SECOND CASE:
>
>UnifiedCSD:
>/private/var/mobile/Containers/Data/Application/B83C75B7-BB43-4FF2-9079-9EB078432189/Documents/csd/in.csd
>STARTING FILE
>Creating options
>Creating orchestra
>Creating score
>Elapsed time at end of orchestra compile: real: 0.007s, CPU: 0.011s
>sorting score ...
> ... done
>Elapsed time at end of score sort: real: 0.007s, CPU: 0.011s
>--Csound version 6.07 (float samples) May 16 2016
>graphics suppressed, ascii substituted
>0dBFS level = 32768.0
>orch now loaded
>audio buffered in 1024 sample-frame blocks
>SECTION 1:
>new alloc for instr 1:
>B 0.000 .. 5.000 T 5.000 TT 5.000 M: 0.0
>Score finished in csoundPerformKsmps().
>inactive allocs returned to freespace
>end of score. overall amps: 0.0
>    overall samples out of range: 0
>0 errors in performance
>Elapsed time at end of performance: real: 42.570s, CPU: 0.856s
>
>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