I think that if we're going to say \We the UNITED people" in the splice method the \UNITED" should be really emphasized|really loud. Change the method so that the word \united" is maximally loud (normalized) in the phrase "united people."
What will be an ideal response?
```
public void spl icePreambleLoudUni ted ( )
{
String file = FileChooser. getMediaPath ( " preamble10 .wav" ) ;
Sound source = new Sound ( file) ;
int target Index = 0 ; // start copying to first sample value
int value = 0 ;
// loop copying the "We the " into the current sound
for ( int source Index = 0 ;
source Index < 17407;
source Index++, t a r g e t Index++) f
value = source . getSampleValueAt ( sour c e Index ) ;
this . setSampleValueAt ( targe t Index , value ) ;
}
// print the value of the target index
System . out . p r i n t l n ( "Target index i s " + ta rget Index ) ;
// loop copying the " united " into the current sound
int startTarget = target Index ;
for ( int source Index = 33414;
source Index < 40052;
source Index++, target Index++) f
value = source.getSampleValueAt ( source Index ) ;
this . setSampleValueAt ( target Index , value ) ;
}
this . normalize ( startTarget , target Index ) ;
// print the value of the target index
System . out . println ( "Target index is " + target Index ) ;
// copy the " people of the United States "
for ( int source Index = 17408;
source Index < 55510;
source Index++, target Index++) f
value = source . getSampleValueAt ( source Index ) ;
this . setSampleValueAt ( target Index , value ) ;
}
// print the value of the target index
System . out . println ( "Target index i s " + target Index ) ;
}
```
You might also like to view...
If you want to include text such as "Page 6" in your header or footer, you should click the ____ button, then select the desired format.
A.
B.
C.
D.
Direction handles determine the length and ____ of the curved path associated with the smooth point.
A. width B. number of anchor points C. arc D. color
The Menu bar command Insert is used to display nonprinting characters on the screen
Indicate whether the statement is true or false
Pie charts are limited to only two data series
Indicate whether the statement is true or false