x


how to muffle music

in my game there is a city, and in the city is a bar. you can't go in the bar but i want you to hear the music a little bit, and i want it to be muffled so it sounds like its coming from inside the bar, and its muffled by teh walls. is that possible?

more ▼

asked Mar 28 '11 at 01:10 AM

Tyler Alvis gravatar image

Tyler Alvis
215 42 50 57

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

"Muffled" generally means that high frequencies are filtered out. A lowpass filter is perfect for a bar's walls. They even used in a Unity 3 promo video that featured music coming from a bar! ;-D

more ▼

answered Mar 28 '11 at 01:42 AM

Jessy gravatar image

Jessy
15.6k 72 95 196

so should i do what Semut said with the triggers because i do not have pro?

Mar 29 '11 at 04:37 AM Tyler Alvis

No. It's a waste of your time. You should plan, in your code, for having Pro, then buy it when you can. It's not that much money if you're just getting the standard license.

Mar 29 '11 at 10:52 AM Jessy
(comments are locked)
10|3000 characters needed characters left

You are are referring Audio Filters (High/Low pass) from Unity Pro feature.

Here some quote

Want to make party music change tone as your character walks away? Easy simply fade in a lowpass filter over distance, and you're good to go. No scripting required.

Unity features comparison here: http://unity3d.com/unity/licenses see the Audio Filters

Detail here: http://unity3d.com/unity/engine/audio

But in case you are not using Unity Pro, you can create some sounds that have different high and low sound volume that placed around the bar, and applied collision trigger with it. So when character get the trigger the correct sound will be played.

That will solve the problem but with more effort.

more ▼

answered Mar 28 '11 at 05:38 AM

Semut gravatar image

Semut
95 3 4 12

Volume refers to level independent of frequency. Lowpass filtering makes the high frequencies quieter than the low frequencies.

Mar 28 '11 at 06:32 PM Jessy
(comments are locked)
10|3000 characters needed characters left

http://uk.answers.yahoo.com/question/index?qid=20091212050201AA9YUBs

Not much of a way you can do this, but why not just record/make an effect on the sound that makes it muffled? As the player never hears the actual sound, let them just hear a muffled version of... Shouldn't that work?

more ▼

answered Mar 28 '11 at 01:19 AM

Justin Warner gravatar image

Justin Warner
6.3k 19 27 65

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x156
x29
x2
x1

asked: Mar 28 '11 at 01:10 AM

Seen: 1869 times

Last Updated: Mar 28 '11 at 10:07 AM