Carla: Adding Sound to Simulator

Created on 23 May 2018  Â·  5Comments  Â·  Source: carla-simulator/carla

Hi,

How to add environment, pedestrian and engine sounds to this simulator? Do you work about it?

Thanks,

question

Most helpful comment

Hi @FarzanehJafari ,

Have you made some results there? I am working with Carla in my Bachelor Thesis and it would be very helpful for me to have the Simulator sound.

Thanks a lot and Greetings

All 5 comments

Hi @FarzanehJafari,

We have no plans to do it actually...
It could be cool have a sound system although it has very low priority due to the use cases.

@FarzanehJafari
Closing the issue, if you ever integrate something like this in CARLA we will be happy to hear about it 😄

I am working about it. If I got a result, I will tell to you too. 😉😉

Sent from Yahoo Mail for iPhone

On Wednesday, May 30, 2018, 14:29, Marc Garcia Puig notifications@github.com wrote:

@FarzanehJafari
Closing the issue, if you ever integrate something like this we will be happy to hear about it 😄

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @FarzanehJafari ,

Have you made some results there? I am working with Carla in my Bachelor Thesis and it would be very helpful for me to have the Simulator sound.

Thanks a lot and Greetings

It would be cool having an additional sensor for audio (microphone sensor) like the camera sensor.

As a workaround I use pygame to play sounds/music via the client.

modified manual_control_steeringwheel.py:

self.crashSound = pygame.mixer.Sound('scream.wav')

def _on_collision(weak_self, event):
......
    if isinstance(event.other_actor,carla.Walker):
        self.crashSound.play()
Was this page helpful?
0 / 5 - 0 ratings

Related issues

AftermathK picture AftermathK  Â·  3Comments

imran514 picture imran514  Â·  3Comments

syinari0123 picture syinari0123  Â·  4Comments

metaluga145 picture metaluga145  Â·  4Comments

mallela picture mallela  Â·  3Comments