Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Tyler Alvis · Mar 28, 2011 at 01:10 AM · musicaudioplayhigh-low-pass

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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Jessy · Mar 28, 2011 at 01:42 AM

"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

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tyler Alvis · Mar 29, 2011 at 04:37 AM 0
Share

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

avatar image Jessy · Mar 29, 2011 at 10:52 AM 0
Share

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.

avatar image
-2

Answer by Justin Warner · Mar 28, 2011 at 01:19 AM

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?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Semut · Mar 28, 2011 at 05:38 AM

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jessy · Mar 28, 2011 at 06:32 PM 0
Share

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

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

No one has followed this question yet.

Related Questions

How to play music/audio 2 Answers

Is it possible to play midi files in unity? 2 Answers

How to play music on collision enter (audio source on player) 1 Answer

Why Music Player Pause and Stop Buttons Do Not Work As They Should 2 Answers

Can not play a disabled audio source 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges