Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2015 13:25:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199541] audio/csound6: syntax errors in orchestra
Message-ID:  <bug-199541-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: hondareyte.luc@laposte.net
                CC: chris@bsdjunk.com
                CC: chris@bsdjunk.com
             Flags: maintainer-feedback?(chris@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199541-13>