Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this assignment is to use Python to manipulate and modify audio WAV files into a new sound. Locate and use the antelope

image text in transcribedThe purpose of this assignment is to use Python to manipulate and modify audio WAV files into a new sound. Locate and use the antelope sound that was used in Topic 1. Search the Web for a sound associated with a jackrabbit (or any rabbit). Blend the two sounds together to create a unique sound that might be associated with the mythical Jackalope creature. Use the Web to search and download sounds for an antelope and rabbit. WAV file formats required. Use Python to blend the two sounds together creating the sound for a new creature (Jackalope) Please let me know what am I missing to blend this sounds code that I have so far is this one.

File Edit Watcher MediaTools JES Functions Window Layout Help NE 0 0 JO def blendSounds(): antelope = make sound("C:/Users/DIANCASTOR/Desktop/Python/Antelope.wav") jackrabbit = makesound("C:/Users/DIANCASTOR/Desktop/Python/Jackrabbit.wav") canvas = makeEmptySoundBy Seconds (3) for index in range (0,20000): jackrabbitSample = getSampleValueAt (jackrabbit, index) setSampleValueAt (canvas, index, jackrabbitSample) for index in range (0,20000): jackrabbitSample = getSampleValueAt (jackrabbit, index+20000) antelope Sample=getSampleValueAt (antelope, index) jacklope Sample = 0.5*jackrabbitSample + 0.5*antelope Sample setSampleValueAt (canvas, index+20000, jacklope Sample) for index in range (20000, 40000): antelope Sample = getSampleValueAt (antelope, index) setSampleValueAt (canvas, index+20000, antelope Sample) play (canvas) return canvas File Edit Watcher MediaTools JES Functions Window Layout Help NE 0 0 JO def blendSounds(): antelope = make sound("C:/Users/DIANCASTOR/Desktop/Python/Antelope.wav") jackrabbit = makesound("C:/Users/DIANCASTOR/Desktop/Python/Jackrabbit.wav") canvas = makeEmptySoundBy Seconds (3) for index in range (0,20000): jackrabbitSample = getSampleValueAt (jackrabbit, index) setSampleValueAt (canvas, index, jackrabbitSample) for index in range (0,20000): jackrabbitSample = getSampleValueAt (jackrabbit, index+20000) antelope Sample=getSampleValueAt (antelope, index) jacklope Sample = 0.5*jackrabbitSample + 0.5*antelope Sample setSampleValueAt (canvas, index+20000, jacklope Sample) for index in range (20000, 40000): antelope Sample = getSampleValueAt (antelope, index) setSampleValueAt (canvas, index+20000, antelope Sample) play (canvas) return canvas

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions