Write a function to set values that are greater than 0 to the maximum positive value (32,767)

Question:

Write a function to set values that are greater than 0 to the maximum positive value (32,767) in a sound, but leave all the negative values the same. Can you still understand any words in the sound?

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

Step by Step Answer:

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