Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Music Terminal
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#4
RE: Music Terminal

Ok, it took me a little while, but I think I've got some of this figured out.

The function you are using ("Depth_ImGui_AddAudioFile_Voice") deals with voice sound sources, but the files you are specifying ("00_03_apartment1/amb/object/radio_show/music/radio_song_"+i) is a soundbank sound source instead. Soundbanks are used for sounds that do stuff like ambient noises or sound effects, but voice sounds are used for dialogue. The two aren't interchangeable, i.e. you can't use a soundbank file in a function designed for a voice file or vice versa.

If you want to play this music in some kind of a jukebox sense, you would need to use the Sound_CreateAtEntity/Sound_Play functions. I put together a page on the wiki regarding playing audio so you can figure out how exactly you want it all put together.
04-11-2016, 01:35 AM
Find


Messages In This Thread
Music Terminal - by i3670 - 04-10-2016, 12:50 AM
RE: Music Terminal - by Abion47 - 04-10-2016, 09:44 PM
RE: Music Terminal - by i3670 - 04-10-2016, 09:54 PM
RE: Music Terminal - by Abion47 - 04-11-2016, 01:35 AM
RE: Music Terminal - by i3670 - 04-11-2016, 07:33 AM



Users browsing this thread: 1 Guest(s)