How long is a sound compared to the original when its been frequency doubled (Program 116 (page

Question:

How long is a sound compared to the original when it’s been frequency doubled (Program 116 (page 261))? How long is a sound compared to the original when only every fourth sound value is copied into the target sound?


Data from Program 116

def double(source): len = getLength(source) / 2 + 1 target = makeEmptySound (len) targetIndex = 0 for sourceIndex in range (0, getLength(source), 2): getSampleValueAt (source, sourceIndex) setSampleValueAt (target, targetIndex, sourceValue) sourceValue = targetIndex targetIndex + 1 %3D play(target) return target

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: