Csound Csound-dev Csound-tekno Search About

[Csnd] Rendering problem

Date2010-12-05 17:59
FromRoss
Subject[Csnd] Rendering problem
There was a problem with me signing up to the mailing list or something, so i
deleted the original post. all good now.

"Hey, 

I'm new to this. :S 
I did look around for a post about my problem but couldn't find any. 
(I have a secret fear that it is a really stupid question and hence why
there are no posts about it.) 

I have a piece finished and want to render it to .WAV so i can submit of for
college. 
The piece is about a minute and a half long but when i render it, no matter
what sample format or file type, it only renders the first minute. 

While the output console doesn't show any errors when i play it and it plays
perfectly in QuteCsound, one of the synths doesn't seem to play anything all
all when I render it, and hence cutting the piece short. 

The synth uses the "grain" opcode with no added effects or envelope, and
there are 0 overall samples out of range. 

The piece has two channels if that helps at all.. :S 

Was wondering does anyone have any idea whats going wrong for me?"

Date2010-12-05 18:43
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Rendering problem
Hard to tell without seeing th e.csd or orc/sco

Can you post part of it that fails?

==John ff
>
> There was a problem with me signing up to the mailing list or something,
> so i
> deleted the original post. all good now.
>
> "Hey,
>
> I'm new to this. :S
> I did look around for a post about my problem but couldn't find any.
> (I have a secret fear that it is a really stupid question and hence why
> there are no posts about it.)
>
> I have a piece finished and want to render it to .WAV so i can submit of
> for
> college.
> The piece is about a minute and a half long but when i render it, no
> matter
> what sample format or file type, it only renders the first minute.
>
> While the output console doesn't show any errors when i play it and it
> plays
> perfectly in QuteCsound, one of the synths doesn't seem to play anything
> all
> all when I render it, and hence cutting the piece short.
>
> The synth uses the "grain" opcode with no added effects or envelope, and
> there are 0 overall samples out of range.
>
> The piece has two channels if that helps at all.. :S
>
> Was wondering does anyone have any idea whats going wrong for me?"
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/Rendering-problem-tp3293105p3293105.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-12-05 18:50
FromRoss
Subject[Csnd] Re: Rendering problem
Thanks for replying :)

Theres no error or anything that comes up in the console so I'm not sure
whats failing but its "instr 7" that doesn't come through when QuteCsound
renders it.

This is the entire CSD:






sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
0dbfs= 1

instr 1  ; Whats that?-----------------------------------------
iatt = 0.15
idec =  0.15
islev = 0.05
irel = 1.8
kenv adsr iatt, idec, islev, irel
kamp = kenv
kpitch = cpspch(p4)
a1 flooper2 kamp, kpitch, 1, 15, 0.05, 1
    ar_l reverb a1, 10.6
    ar_r reverb a1, 10.6
    outs ar_l*0.05, ar_r*0.05
endin


instr 2  ; White Noise----------------------------------------
iatt = 0.2
idec = 1.3
islev = 0.25
irel = 0.1

kamp adsr iatt, idec, islev, irel
a2 gbuzz kamp, p4, 1, 9, 0.7, 1
   ar_l reverb a2, 10.6
   ar_r reverb a2, 10.6
   outs ar_l*0.03, ar_r*0.03
endin

instr 3  ; Oscilator------------------------------------------
iatt = 0.3
idec = 0.8
islev = p5
irel = 0.8

kamp adsr iatt, idec, islev, irel
kcps = cpspch(p4)
a3 oscili kamp, kcps, 3
a3_r eqfil a3, 1200, 500, 0.5
a3_l eqfil a3, 1200, 500, 0.5
outs a3_l*0.05, a3_r*0.05
endin

instr 4  ; FM Synth------------------------------------------

ilen = p3
iamp = p4
icps = p5
icar = p6 
imod = p7
indx = p8

amod oscili iamp*indx, 220, 4
kenv linseg 0, 1, 0.003,ilen-0.02, 0
a4_l foscili iamp+amod, icps, icar, imod, indx, 4
icar_frq = icps * icar
imod_frq = icps * imod
imod_amp = imod_frq * indx
koscil oscili imod_amp, imod_frq, 4  
a4_r oscili iamp, icar_frq + koscil, 4  
outs a4_l * kenv * 0.03, a4_r * kenv * 0.02
endin

instr 5 ;Ring Mod 1--------------------------------------------

iwave = 3
kcps = p4
iphs = 0.7
kamp = 10
amod vco 0.02, 1200, iwave, 0.5, 1
a5_r oscil3 kamp, kcps, 3, iphs
a5_l oscil3 kamp, kcps, 3, iphs
 outs a5_r*0.001, a5_l*amod*0.001
endin

instr 6 ;Oscil LFO--------------------------------------------

kcps = p4
iphs = 0.7
kamp = 10
ims = 100

ken linen 10, 0.5, 1, 4
a6 oscil3 kamp*ken, kcps, 3, iphs
adel oscil ims/2, 100, 3
a6_r vdelay a6, adel, ims
a6_l vdelay a6, adel, ims
 outs a6_r*0.0001, a6_l*0
endin

instr 7 ; Grain-------------------------------------------------

kpitch = p4
kdens = p5

a7_r grain 3, kpitch, kdens, 1.2, 5, 1, 6, 5, 2
a7_l grain 3, kpitch, kdens, 1.2, 5, 1, 6, 5, 2
   outs a7_r*0.0005, a7_l*0.0005
endin

;---------------------------------------------------------------
;---------------------------------------------------------------


f1 0 524288 1 "Sample 03 - Whats that.wav" 0 4 0
f2 0 16384 11 1
f3 0 32 10 0 1 
f4 0 2048 10 1
f5 0 512 20 2
f6 0 262144 1 "Sample 03 - Whats that.wav" 0 0 0

;instr 1 "whats that" sample
i1 1.25 0.75 0.03 
i1 1.75 0.75 0.01 
i1 5.2 12 0.00 
i1 23 1 1.00
i1 29 0.1 1.00
i1 30.3 12 0.01

;instr 2 white noise
i2 1.5 0.5 440
i2 2.03 0.3 660
i2 3.00 0.1 6600
i2 3.5 2.5 220
i2 6.1 0.2 2200
i2 6.3 0.2 220
i2 6.6 0.5 4400
i2 9 0.5 6600
i2 9.6 4 220

i2 23 0.1 220
i2 23.1 0.1 440
i2 23.2 0.1 880
i2 23.3 0.1 1200
i2 23.6 0.1 220
i2 23.7 0.1 440
i2 23.8 0.1 880
i2 23.9 0.1 1200
i2 24.2 0.1 2
i2 23.75 0.1 2
i2 23.25 0.1 5

i2 24 0.5 2
i2 25 0.5 2200
i2 26 0.5 440
i2 27 0.5 2
i2 28 0.5 10
i2 29 0.5 880
i2 30 4 440

i2 45 0.1 440
i2 45.1 0.1 660
i2 45.2 0.1 880
i2 45.3 3 1200
i2 51 0.1 440
i2 51.1 0.2 660
i2 51.2 0.1 880
i2 51.3 4 4400

;instr 3 oscilator
i3 0 20 5.00 0.7 
i3 3 7 5.05 0.25  
i3 5 4.3 8.01 0.35 
i3 5.3 4.6 8.00 0.25 
i3 10.2 10 8.00 0.25 
i3 14 4.3 8.01 0.35 
i3 14.5 4.6 8.00 0.25 
i3 19.2 1 5.00 0.7 
i3 29 10 5.00 0.7
i3 29.4 4 8.01 0.35
i3 45.3 0.1 8.05 0.25
i3 45.4 5 8.00 0.7
i3 50 .2 8.05 0.25
i3 50.4 2 8.00 0.7


;instr 4 FM synth
i4 10 10 20 500 1 10.0 10.0
i4 20.1 0.4 20 500 1 10.0 10.0
i4 20.6 0.4 80 500 1 10.0 10.0 
i4 21.1 0.4 100 550 1 10.0 10.0
i4 21.1 0.4 20 300 1 10.0 10.0
i4 12 1 20 600 1 10.0 10.0
i4 12.2 1 20 400 1 10.0 10.0
i4 11.9 1 20 300 1 10.0 10.0
i4 14.2 1 20 600 1 10.0 10.0
i4 14.1 1 200 300 1 10.0 10.0
i4 14.8 0.5 20 600 1 10.0 10.0
i4 16 0.25 20 600 1 10.0 10.0
i4 16.5 0.25 20 600 1 10.0 10.0

i4 30 15 20 440 1 10 10
i4 32 2 30 500 4 10 10
i4 35 0.5 30 600 10 10 10
i4 26 2 30 500 4 10 10
i4 26 2 20 600 10 10 10
i4 50 10 20 440 4 10 10


;instr 5 Ring Mod
i5 15.5 0.5 440
i5 16.5 0.5 440
i5 17.5 1.2 440
i5 19 6 440
i5 23 6 440
i5 26 2 220
i5 40 0.5 440
i5 40 2 440
i5 40 5 220

;instr 6 Oscil LFO
i6 16 0.5 440
i6 17 0.5 440
i6 18 7 220
i6 35 7 660
i6 36 0.5 220
i6 36.2 0.5 440
i6 54 0.2 1200
i6 55 2 440

;instr 7 grain
i7 41 1 440 4
i7 56 1 440 5000




Date2010-12-05 19:33
Fromluis jure
Subject[Csnd] Re: Rendering problem
el 2010-12-05 a las 09:59 Ross escribió:

> The piece is about a minute and a half long but when i render it, no
> matter what sample format or file type, it only renders the first
> minute. 

why do you say that the piece lasts a minute and a half? for what i can
see for your score, it's exactly 60 seconds long (i5 turns on at 50 for
10 secs).

> While the output console doesn't show any errors when i play it and it
> plays perfectly in QuteCsound, one of the synths doesn't seem to play
> anything all all when I render it, and hence cutting the piece short. 

is the sample file being loaded correctly in table 6?



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-12-05 19:36
FromJim Aikin
Subject[Csnd] Re: Rendering problem
I'm known to suffer lapses of attention, so please forgive me if I'm missing
something obvious, but I don't see anything in your score that would cause
the piece to last more than a minute.

What version of QuteCsound are you using? What are the settings for the
render process?

--JA