Csound Csound-dev Csound-tekno Search About

[Cs-dev] rebuilding on Xubuntu12.04

Date2012-05-03 17:29
Frommenno
Subject[Cs-dev] rebuilding on Xubuntu12.04
Hi all,

i have a freshly installed Xubuntu 12.04, rebuild Csound and CsoundQt today,
got jack2 working again, ran an "öld" csd in CsoundQt for testing and got an
error i don understand. Perhaps someone can?

0dBFS level = 32768.0
Csound version 5.17 beta (double samples) May  3 2012
STARTING FILE
Creating options
Creating orchestra
Creating score
rtaudio: JACK module enabled
RAWWAVE_PATH: /usr/local/share/csound/rawwaves/
Parsing successful!
Elapsed time at end of orchestra compile: real: 0.006s, CPU: 0.020s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.006s, CPU: 0.020s
Csound version 5.17 beta (double samples) May  3 2012
0dBFS level = 1.0
sr = 48000, kr = 1, ksmps = 32
error: inconsistent sr, kr, ksmps
end of score.		   overall amps:  0.00000
	   overall samples out of range:        0
1 errors in performance
Elapsed time at end of performance: real: 0.032s, CPU: 0.010s

The csd is:

 

; Select audio/midi flags here according to platform
-odac  ;;;realtime audio out
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o vdelayxs.wav -W ;;; for file output any platform



sr = 48000
ksmps = 32
nchnls = 2
0dbfs  = 1

instr 1 

ims  =	.5						;maximum delay time in seconds
iws  =	1024						;window size
adl  =	.5						;delay time
asig1, asig2 diskin2 "kickroll.wav", 1, 0, 1		;loop stereo file fox.wav
a2   oscil .25, .1, 1					;make an LFO, 1 cycle per 2 seconds
adl  = a2 + ims/2      					;offset the LFO so that it is positive
aoutL, aoutR vdelayxs asig1, asig2, adl, ims, iws		;use the LFO to control
delay time
     outs aoutL, aoutR

endin


f1 0 8192 10 1

i 1 0 10

e

 

Other csds do play but generate only 1 channel, while it is clear that
nchnls=2 is set:



; Select audio/midi flags here according to platform
; Audio out   Audio in    No messages
-odac           -iadc     -d     ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
; -o sleighbells.wav -W ;;; for file output any platform



sr = 48000
ksmps = 32
nchnls = 2

; Instrument #1: An example of sleighbells.
instr 1
  a1 sleighbells 20000, 0.01, 32, .03, 0, 1000, 200

  outs a1, a1
endin





i 1 0.00 0.25
i 1 0.30 0.25
i 1 0.60 0.25
i 1 0.90 0.25
i 1 1.20 0.25
i 1 1.50 0.25
i 1 1.80 0.25
i 1 2.10 0.25
i 1 2.40 0.25
i 1 2.70 0.25
i 1 3.00 0.25
e





greetings
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/rebuilding-on-Xubuntu12-04-tp5683677.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourcef