Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Monsieur OUXX on Mon 25/04/2016 08:58:45

Title: Lots of sounds: recording and import?
Post by: Monsieur OUXX on Mon 25/04/2016 08:58:45
Imagine that you'd want to have the "director's commentary" in every room.
Imagine that you want to offer the opportunity to each team member to record their own comments.
Imagine that you're in charge of importing all the produced mp3 or ogg files into the game project.

...that will be a pain, for several reasons :
- you don't want to do much typing, you're thinking "bulk". So the files would be simply numbered and you don't want to give a variable name to each of them. Is it still possible in AGS to access external sound files through numbers, as before?
- If yes, can they be stored externally in subfolders?

More generally, what would be your most automated process for this?

Bonus question: What's the most convenient tool to record this? (do you know of a super secret niche utility that automatically numbers and saves the files, without requiring to do "new file" or "save file" each tim?). I'l sure there's got to be some obscure tool meant for personal assistants taking notes or whatever.


ACTUALLY: is there a plugin that would allow to do this directly from the beta game? Calin Leafshade, how hard would it be to use the Windows Microphone through the Lua plugin or even ... what was it called... the DLL/C# runtime compiler plugin(s)?





Title: Re: Lots of sounds: recording and import?
Post by: Crimson Wizard on Mon 25/04/2016 15:50:22
PlayMP3File function should be able to play exterior files from relative (sub)folder.
You would have to enable this function by turning off "Enforce new audio scripting" (not exact name) option in the general settings.
Title: Re: Lots of sounds: recording and import?
Post by: Monsieur OUXX on Mon 25/04/2016 17:32:34
Quote from: Crimson Wizard on Mon 25/04/2016 15:50:22
PlayMP3File function should be able to play exterior files from relative (sub)folder.
You would have to enable this function by turning off "Enforce new audio scripting" (not exact name) option in the general settings.

From what I understand by reading the manual, it forcibly plays on the Music channel. is that true?
Title: Re: Lots of sounds: recording and import?
Post by: Crimson Wizard on Mon 25/04/2016 18:03:24
Quote from: Monsieur OUXX on Mon 25/04/2016 17:32:34
Quote from: Crimson Wizard on Mon 25/04/2016 15:50:22
PlayMP3File function should be able to play exterior files from relative (sub)folder.
You would have to enable this function by turning off "Enforce new audio scripting" (not exact name) option in the general settings.

From what I understand by reading the manual, it forcibly plays on the Music channel. is that true?


True, all old PlayMusic* functions play on same Music channel.