For sure typically car sounds end up a lot more complicated, where engine 
sounds are typically done by looping and mixing samples for different RPM 
ranges (as you can't just change the frequency of a sample too much without 
it starting to sound weird), and where you then also start mixing on and 
off throttle samples (an engine under load sounds a lot different from one 
that is idling). And that is just the engine. For driving, it would also be 
great to hear the tyres, especially as they are operating closer to the 
limit of grip, as these sound cues can really help you drive the car better.

Anyway, for now it would be nice to at least have something that works out 
of the box, so just fixing that one sample would be a good starting point, 
and anything beyond that is a nice bonus! :)

Greetings, Marcel

On Wednesday, June 22, 2022 at 2:16:50 PM UTC+2 Radu Serban wrote:

> Hi Marcel,
>
>  
>
> Yet another Chrono::Vehicle feature that was implemented mostly like a 
> proof-of-concept.  I have personally not enabled this in many years…
>
> Thanks for looking into this.  I’ll test this myself at some point and 
> will fix the sound files (by the way, I think better and more varied ones 
> would be needed anyway).
>
>  
>
> Best,
> Radu
>
>  
>
> *From:* [email protected] <[email protected]> *On 
> Behalf Of *Marcel Offermans
> *Sent:* Tuesday, June 21, 2022 8:56 PM
> *To:* ProjectChrono <[email protected]>
> *Subject:* [chrono] IrrKlang engine sound...
>
>  
>
> When I enabled IrrKlang (and added vis->EnableSound(true) to the demos) to 
> play (simple) engine sounds, I discovered that the engine sounded really 
> strange. After some investigation the problem is simple:
>
>  
>
> The sound file that is played is not a nice loop with a monotone pitch!
>
>  
>
> If you change EnableSound() to:
>
>  
>
> m_sound_engine->play2D(GetChronoDataFile("vehicle/sounds/carsound_old.ogg").c_str(),
>  
> true, false, true);
>
>  
>
> This is solved (so *carsound.ogg* is wrong, *carsound_old.ogg* works).
>
>  
>
> Greetings, Marcel
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "ProjectChrono" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/projectchrono/89cf72d9-3159-49c1-b81e-7a9aa4a1a91cn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/projectchrono/89cf72d9-3159-49c1-b81e-7a9aa4a1a91cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/2d87690a-790b-41b0-872e-02af1a4f86b4n%40googlegroups.com.

Reply via email to