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]<mailto:[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/PH0PR06MB823747D0D16196B1BD000B80A7B29%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to