Posted By

Cano0617 on 10/10/11


Tagged


Versions (?)

example code python


 / Published in: Python
 

  1. length1 = int(fadefactor_left * left)
  2. length2 = int(fadefactor_right * right)
  3. #p < 0 = to left, p > 0 = to right
  4. if index < length:
  5. sound.set_left(samp,length1)
  6. if index >= length:
  7. sound.set_right(samp,length2)
  8. return new_snd4

Report this snippet  

You need to login to post a comment.