Re: I can not figure how to convert an arpeggio into a chord...

[email protected] ((Nikolai Onken)) Fri, 28 Dec 2001 13:34:13 +0100
Newsgroups perl.midi
Message-ID <000001c18f9b$f7800670$c172fea9@development>
Now after spending some time reading books :) I figured that I just can
decrease the $Time variable everytime a note is played... I don't know
if that's the best solution but it works...

if ($str_arpeggio == 0) {
	foreach (@phrases) {
		n wn, $_;	
		$Time -= $Time;
	}
}

If there's a better way to do it - it would be great if someone can tell
me.
Happy new year,

Nikolai

http://chordinversion.com