Csound Csound-dev Csound-tekno Search About

[Csnd] mincer

Date2011-04-17 13:52
Frommenno
Subject[Csnd] mincer
Hi, 
working on the examples in the manual, i cannot get mincer to work.
It is said that the syntax is:

asig mincer atimpt, kamp, kpitch, klock, ktab[,ifftsize,idecim]

but in the example i see:
a1   mincer atime, iamp, ipitch, itab, ilock

so lock and tab have changed places.
Furthermore, the syntax is not highlighted.

here is the csd:



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



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

idur  = p3
ilock = p4
itab  = 1
ipitch = 1
itimescale = 0.5
iamp  = 0.5

atime line   0,idur,idur*itimescale
asig  mincer atime,iamp,ipitch,itab, ilock
      outs asig, asig
endin


f 1 0 0 1 "beats.wav" 0 0 0

i 1 0 10 0

e





greetings
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/mincer-tp4308873p4308873.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"

Date2011-04-17 14:14
FromIain McCurdy
SubjectRE: [Csnd] mincer
Hi Menno,

You're right that klock and ktab are the wrong way round in the manual. I noticed this before as well. If you swap them it will work.

Iain

> Date: Sun, 17 Apr 2011 05:52:54 -0700
> From: nabob_cd@yahoo.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] mincer
>
> Hi,
> working on the examples in the manual, i cannot get mincer to work.
> It is said that the syntax is:
>
> asig mincer atimpt, kamp, kpitch, klock, ktab[,ifftsize,idecim]
>
> but in the example i see:
> a1 mincer atime, iamp, ipitch, itab, ilock
>
> so lock and tab have changed places.
> Furthermore, the syntax is not highlighted.
>
> here is the csd:
>
> <CsoundSynthesizer>
> <CsOptions>
> ; Select audio/midi flags here according to platform
> -odac ;--old-parser ;;;realtime audio out
> ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ; -o mincer.wav -W ;;; for file output any platform
> </CsOptions>
> <CsInstruments>
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> idur = p3
> ilock = p4
> itab = 1
> ipitch = 1
> itimescale = 0.5
> iamp = 0.5
>
> atime line 0,idur,idur*itimescale
> asig mincer atime,iamp,ipitch,itab, ilock
> outs asig, asig
> endin
> </CsInstruments>
> <CsScore>
> f 1 0 0 1 "beats.wav" 0 0 0
>
> i 1 0 10 0
>
> e
>
> </CsScore>
> </CsoundSynthesizer>
>
>
> greetings
> Menno
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/mincer-tp4308873p4308873.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"
>

Date2011-04-17 14:28
Frommenno
Subject[Csnd] RE: mincer
Hi Iain,

yes, it works, the right way is:

asig  mincer atime, kamp, kpitch, ktab, klock

i will change the manual accordingly, thanks for your feedback.

greetings,
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/mincer-tp4308873p4308928.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"