Csound Csound-dev Csound-tekno Search About

randh opcode

Date2006-03-21 09:38
FromDrweski nicolas
Subjectrandh opcode
Hi,

There is a thing that I did not undertood with the
randh.
What are the difference in theory between : 

k1 randh 10, 440
a1 oscil p4, k1, 1
out a1

and 

k1 randh 20, 440
a1 oscil p4, k1, 1
out a1

and would it be possible then to link this opcode to
the duration of each note ?

Thanks 
Nicolas


	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

Date2006-03-21 09:53
FromVictor Lazzarini
SubjectRe: randh opcode
The max amplitude of  randh output samples will be abs(10) in the
first case and abs(20) in the second. So k1 in the first case can only be a 
number
in between -10 and 10; and between -20 and 20 in the second case.

The duration of a note in score events (i-statements) is p3. So
you can use p3 as you please in an instrument.

Victor

At 09:38 21/03/2006, you wrote:
>Hi,
>
>There is a thing that I did not undertood with the
>randh.
>What are the difference in theory between :
>
>k1 randh 10, 440
>a1 oscil p4, k1, 1
>out a1
>
>and
>
>k1 randh 20, 440
>a1 oscil p4, k1, 1
>out a1
>
>and would it be possible then to link this opcode to
>the duration of each note ?
>
>Thanks
>Nicolas
>
>
>
>
>
>
>___________________________________________________________________________
>Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les 
>tarifs exceptionnels pour appeler la France et l'international.
>Téléchargez sur http://fr.messenger.yahoo.com
>--
>Send bugs reports to this list.
>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 

Date2006-03-21 10:53
From"Francesco Barreca"
SubjectRe: randh opcode
AttachmentsNone  None