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 vdKa · Apr 02, 2014 at 05:32 PM · audio clippingaudio priority

Record in game Audio on android

Hi,

Im developing an applicaion for android related to sounds. But I have to record in game audio. Is there a way to do this? I dont need microphone functions. I need the game in audio (the output itself)

Comment
Add comment · Show 3
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 vdKa · Apr 03, 2014 at 09:41 AM 0
Share

By the way, I have to record all of the audiolisteners in the application. Not only one... There are some solutions that records single source. But I have to record all of the audios. Im new at unity so I cannot handle this problem. But if I find out any solutions I will share here.

avatar image koray1396 vdKa · Apr 04, 2014 at 03:34 PM 0
Share

normally an audioListener will play (and record) all audioSources, so if you get data from an audioListener, you should have all audio data. Can you please share your solution, if you can solve this?

avatar image vdKa · Apr 03, 2014 at 09:41 AM 0
Share

First of all thank you for your answers. But i think audacity may not work because this will run on android devices. But I will try getoutputdata method.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by LEDWORKS · Apr 02, 2014 at 05:44 PM

I am not 100% sure if this is the best way, but You would have to basically create your own sound driver. Send your audio to that and record it before forwarding it to the sound card. This way you will not record audio from other applications that may be running.

Not a simple task.

Take a look at Audacity, free software that records internal sound by intercepting the signal to the sound card. Source code may be available as it is free to use.

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 koray1396 · Apr 02, 2014 at 06:23 PM

I have never used but looking at the script reference, there is a method; AudioListener.GetOutputData.

Also I again assume that you can assign this data to AudioClip by SetData.

And then you can play the AudioClip and see if it works.

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

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

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how do you make walking audio for android? 1 Answer

Audio isn't playing for some reason 1 Answer

Audio Listener not working. 1 Answer

How to change priority of audio clips 2 Answers

Footsteps Sound Effect causing other Audio Clipping or no sound at all. 1 Answer


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