[Bug 199541] audio/csound6: syntax errors in orchestra

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 19 13:25:16 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199541

            Bug ID: 199541
           Summary: audio/csound6: syntax errors in orchestra
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: hondareyte.luc at laposte.net
                CC: chris at bsdjunk.com
                CC: chris at bsdjunk.com
             Flags: maintainer-feedback?(chris at bsdjunk.com)

This simple CSD file failed with csound 6.04 (FB9.3):
<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr=44100
ksmps = 32
nchnls = 2
0dbfs  = 1
instr 1
iflg = p4
asig oscils .7, 220, 0, iflg
     outs asig, asig
endin
</CsInstruments>
<CsScore>
i 1 0 2 0
i 1 3 2 2
e
</CsScore>
</CsoundSynthesizer>

Complete error message is:
0dBFS level = 32768.0
Csound version 6.04 (double samples) Apr 19 2015
libsndfile-1.0.25
UnifiedCSD:  b.csd
STARTING FILE
Creating options
Creating orchestra
Creating score
error:  sr = 0, kr = 0, ksmps = 1
error: invalid sample rateerror:  sr = 0, kr = 0, ksmps = 1
error: invalid control rateWARNING: bad value for 0dbfs: must be positive.
Setting default value.
WARNING: 2 syntax errors in orchestra.  compilation invalid

cannot compile orchestra
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.007s, CPU: 0.008s

It failed to read file correctly: sr, kr and ksmps are incorrectly sassigned.

This sample file works with csound5 (FB9.3) and 6.04 (MacOS X)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list