Difference between revisions of "CSC111 Sound Modification Exercises"

From dftwiki3
Jump to: navigation, search
(Created page with "--~~~~ ---- <onlydft> <source lang="python"> # playing with an array of numbers # to practice using JES for playing with sounds # array = [2,3,4,1,10,1,-1,2,1] print( "len(so...")
 
Line 62: Line 62:
 
     valueRight = array[j]
 
     valueRight = array[j]
 
     valueLeft  = array[i]
 
     valueLeft  = array[i]
     array[j] = valueRight + valueLeft
+
     array[j] = valueRight + valueLeft/2
  
 
print( "echoed array = ", array )
 
print( "echoed array = ", array )

Revision as of 10:27, 26 February 2014

--D. Thiebaut (talk) 10:17, 26 February 2014 (EST)



...