• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

A question from Stone Age (CFS2 gauges)

Messages
15
Country
france
Hello Gents, as enounced, here is a question with some late (more than twenty years...)
Did somebody succeeded to generate sounds from CFS2 gauges, one can hear from CFS2 ?
I tried it using FSSound, or Doug Dawson's gauge and the CFS2 FS750 header, with precious help from Dai Griffith's tutorial, but I had not any success, so perhaps I do it wrong, but did someone succeded on it ? My idea would be to simulate the early Telefunken direction finder system used by the Zeppelins and German bombers during WW1, it needs to put the sound volume in equation.

With many thanks for your attention, cheers
Martin
 
Did you download sd2gau42.5? (yes you did just read that right! 😄 ). Under the 'Adding Gauge Sounds' I placed all the code needed to generate sounds using DirectSound. Your question leads me to believe that you can program gauges and I have no reason to think that my DirectSound code will not work with CFS2. Just don't use the LOOP flag because once you turn that on, you can't turn it off again. I explain why in the file.
 
Many thanks for your answer, Dai, yes, course I downloaded sd2gau42.5, stays for my poor mind to succeed to set up properly the DirectX SDK.

Cheers
Martin
 
Martin - part of the code requires a SimConnect call. As SimConnect doesn't exist in CFS2, you can leave it out (as per the sd2gau instruction).
 
Many thanks for your answers and personnal support, Dai, I'm afraid it's a bit far from my actual possibilities but I'll try to do my best, perhaps if a looped sound is not possible, I can give up my idea for the direction finder precursor, but will stay many switches and levers sounds to test.
Cheers
Martin
 
I've just done some reading on the Telefunken direction finder system and judging by its description, looping a sound wouldn't help because you need to vary the volume. Once a sound is processed in DirectSound and sent to the amplifier, that is it. You cannot change the volume without reprocessing and resending the sound.

(Note to self: must figure out a way of tracking looped sounds... mutter... mutter... mutter...).
 
Many thanks Dai for your interest in my project.

That was what I enouced in my first post, I need to put the sound volume in equation, I did a Telefunken direction finder for CFS2 using a needle variation, for a Zeppelin Staaken made for FS9 by Stuart Green and converted to CFS2, it's available for free here:

I was inspired by a XML gauge made by Alexander Belov, this gauge works visually, with a needle amplitude variation, but I believe the original receiver worked with a sound that grew or reduced depending of the more or less parallelism or perpendicularity between the emittor radius in use and the plane antenna.
It seems, looking at FSSound notice, that it might be possible with it, but perhaps I don't have the good pack for CFS2, or my paths are not well configured (I use a pack I found in your sd2gau12, but not specified working for CFS2 )
I compile with makefile and Microsoft Visual C++ 2008 Express Edition with SP1 - FRA.

But for now, not any success in CFS2 (I had sounds that can be eared with the same gauges in FS9)

Cheers
Martin
 
Back
Top