Csound Csound-dev Csound-tekno Search About

[Csnd] waveset opcode

Date2014-03-13 11:43
FromAndreas Bergsland
Subject[Csnd] waveset opcode
Attachmentsandreas_bergsland.vcf  
Hi,
I was checking out the waveset opcode with live input and I am getting a 
horrible amount of samples out of range.
However, if I do a simple scaling, I get zero output.
Are there any tricks to get this opcode to work as expected, or am I 
doing something wrong here?
Best,
Andreas



-odac0 -iadc0


instr        1
a1, a2    ins
awav    waveset    a1, 10, 0
aout = awav * 0.5
outs    aout, aout
endin



i1    0        5



-- 
Andreas Bergsland,
postdoktor

Musikkteknologiseksjonen
Institutt for musikk
Olavskvartalet
NTNU
7491 Trondheim

Besøksadresse: Fjordgt.1 (3.etg.)
e-post: andreas.bergsland@ntnu.no
Web: http://folk.ntnu.no/andbe
Tlf: 7359 0096
Mob: 4566 3316


Date2014-03-13 13:53
FromAndreas Bergsland
SubjectRe: [Csnd] waveset opcode
Attachmentsandreas_bergsland.vcf  
In the manual for waveset it says "A simple time stretch by repeating 
cycles". Does this mean that this opcode won't work with live input?
Andreas
> Hi,
> I was checking out the waveset opcode with live input and I am getting 
> a horrible amount of samples out of range.
> However, if I do a simple scaling, I get zero output.
> Are there any tricks to get this opcode to work as expected, or am I 
> doing something wrong here?
> Best,
> Andreas
>
> 
> 
> -odac0 -iadc0
> 
> 
> instr        1
> a1, a2    ins
> awav    waveset    a1, 10, 0
> aout = awav * 0.5
> outs    aout, aout
> endin
> 
>
> 
> i1    0        5
> 
> 
>


-- 
Andreas Bergsland,
postdoktor

Musikkteknologiseksjonen
Institutt for musikk
Olavskvartalet
NTNU
7491 Trondheim

Besøksadresse: Fjordgt.1 (3.etg.)
e-post: andreas.bergsland@ntnu.no
Web: http://folk.ntnu.no/andbe
Tlf: 7359 0096
Mob: 4566 3316