Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Audie collage. Create a library to manipolate dipital audio and use that literary to create an ausio collage. As in lecture, we will ropresent

image text in transcribed
3. Audie collage. Create a library to manipolate dipital audio and use that literary to create an ausio collage. As in lecture, we will ropresent sound as ant arry of real numbers between 1 asd +1, with 44,100 samples per second. You will write a library of functions so prodace wobio effecti by manipulatise such amayk. - Anpinfr. Create a ncw sokad that contains the same samples as an custing sound, but with cach saniple multiplied by a constant . This increases the volume when >1 and electeases it w fien 00, with sample i of the new soard haviat the same amplitude as sampie li a j of the existing sound. To do so, orgatias your peogratn aceonding to the follow ing public AII. publie elass Audiocedange f pubdie statie destblef anplify(double(1 a, double alphe) public statie deablej reverse(doublell a) publie atatie dowblo|l nerge(doubloll a, double11 b) publie thatie deublell mix (deublell a, dooblell b) pubise statio decblell changespeed (doublell a, double alpha) publie statie veid ain (suribgil args) ) Here is some more information ahout the required behavior: - The functions mat met mutate the argumeni artay(s). - Yow aay assume that the arroy arguments are not aud1 and that a>0 in ehangetpeodi. - The matn () method mast create an asabio collage and play it using Sedoudio.play (.). - Do not ase any command-line anguments. - The duration must be between 10 and 40 seconds (44),000 so 2,646,000 samples). - All samples sent bo standard audio mast be between 1 and +1. - It must use at Ieast five different WaY files. Several WAV files ant provided: tsather way, hureer was, durics, was, Eowi wall, dialup war, sifecr.wav. You may also supply of croase youar owa - Usc stalvedio, read() to read a WAY file and cxiract its samples as an arry of flowting-point numbers between 1 and +1. - Il must use all of the audio effects specified in the API (anplify, marre, merger, inir, and clabsav mond. Feel frop to add adilitiecal audio effecta (sec the EAQ for some ideas). - Be erealive

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

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part 3 Lnai 8726

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448440, 978-3662448441

More Books

Students also viewed these Databases questions