LiLei Posted September 1, 2020 Share Posted September 1, 2020 Hi, How to use the Unigine engine to export sound, I want to save the sound to a file. Link to comment
morbid Posted September 1, 2020 Share Posted September 1, 2020 Hello, Engine doesn't handle audio capture. I suggest starting with DirectShow: https://docs.microsoft.com/en-us/windows/win32/directshow/directshow Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
LiLei Posted September 2, 2020 Author Share Posted September 2, 2020 i want to record the engine sound, or save a file. not capture. is engine's sound. Link to comment
morbid Posted September 2, 2020 Share Posted September 2, 2020 Sorry, but there's no such functionality in the API. As I told you before, you'll need a 3rd-party tool to do this. 9 hours ago, LiLei said: i want to record the engine sound, or save a file. not capture. is engine's sound. I'm not following. UNIGINE-based application produces some sounds that are handled by the system audio driver. At this point you need to capture the sound and then do something with it (save to a file, for instance). This can be done, I believe, with Windows API. Have you checked WASAPI? You also can do it with Qt. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
LiLei Posted September 3, 2020 Author Share Posted September 3, 2020 ok, tks, I don't found the api for audio-output in engine, certainly, i could use the wasapi to captue the playback device. .. Link to comment
Recommended Posts