Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving output for each microphone and moving sound source simulation #203

Open
SutirthaChakraborty opened this issue Dec 11, 2020 · 7 comments

Comments

@SutirthaChakraborty
Copy link

SutirthaChakraborty commented Dec 11, 2020

Thanks for the brilliant library, perfect for my research.
I was trying to save room.mic_array.signals[1,:], there was a fuzzy sound with it.
rightMic=room.mic_array.signals[1,:] sf.write('right.wav', rightMic, fs1, format='wav')

But when I tried to play it, it was okay.
IPython.display.Audio(rightMic, rate=fs1)

How can I export the sounds of each microphone separately?

Secondly, is there a way to simulate moving audio sources? I mean to say, the microphones would be static whereas the sound source keeps moving, and when we simulate room.simulate( ), it gives us an output with sound files with appropriate panning? Also, how to apply time-varying convolution , I saw several comments about that? any function or library you recommend?

@SutirthaChakraborty SutirthaChakraborty changed the title Saving output for each microphone Saving output for each microphone and moving sound source simulation Dec 11, 2020
@rajpgohil
Copy link

Hello @SutirthaChakraborty ,

Did you find a way for how to simulate the moving sound source?
I am looking for the same.

@SutirthaChakraborty
Copy link
Author

SutirthaChakraborty commented May 11, 2022

No 👎🏼

@rajpgohil
Copy link

Do post here if you find any resource to simulate the moving sources.

@kehinde-elelu
Copy link

@fakufaku Hi, I have an approach for creating a moving sound source. I would like to ask if you have it in work already and if not, should I go ahead and raise a pull request for it?

@fakufaku
Copy link
Collaborator

@kehinde-elelu I have some custom scripts, but nothing ready to go into the package.
The PR would be very appreciated, so please go ahead and then we can work from there.
Likely, it may require some work to integrate it in the package in a nice way.
The priorities are

  1. Not break anything existing
  2. Nice interface for the user
  3. Somewhat readable code, efficiency, etc. If improving later doesn't break the interface this is likely not super critical.

@SutirthaChakraborty
Copy link
Author

Can you please PR, it will be useful for simulation

@tarlanahad
Copy link

Any update regarding the moving sound source simulation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants