Derspegn on 11/8/2015 at 16:58
My first schema ("AMB_RDSG.sch" in "Thief2\schema" currently looks like this:
schema AMB_RDSG
archetype AMBIENTS
mono_loop 0 0
volume -500
AMB_RDSG
I exported a .wav from Audacity that is 8 bit ADPCM, 64kbps. I sounds slightly muted, but sounds okay and is of a lower bit rate than the previous 176kbps that I used. Despite the lower bit rate, I still have the same problem as I describe below. Whenever I have added a new sound or changed any details in Dromed, I have rebuilt the room database and computed the pathfinding database.
In Dromed I have an ambientSound marker which is slightly above the floor with AmbientHacked properties of Radius: 30, Flags: Environmental, Schema name: AMB_RDSG. Archetypes-->Schema-->AMBIENTS-->AMB_RDSG has the same properties. I previously left the AMB_ prefix off the schema label, and had the archetype of "AMB_RDSG" instead of "AMBIENTS". I have quadruple-checked everything to make sure the updated hierarchies and titles match the "AMB_RDSG.sch" file details.
When I type "play_schema AMB_RDSG" in the command window, it tells me it couldn't find any samples. Having concluded that the .WAV must be inserted and rezipped into the "snd.crf", I have done so, but Dromed still can't find any samples.
fibanocci on 11/8/2015 at 17:06
Did you reload the schemas?
Derspegn on 11/8/2015 at 17:09
Quote Posted by fibanocci
Did you reload the schemas?
Oh yes, sorry for not mentioning (I was about to edit my post). I have reloaded the schemas and I also save and set a new gamesys, then save a new mission after every change.
Yandros on 11/8/2015 at 18:25
If you enter the play_schema command followed by the schema name, does it play or do you still get the error? If it fails there, I would say the problem is the WAV file. In that case I would recommend going back to the original sound file and saving as an uncompressed 16-bit PCM (not ADPCM) and then trying again.
LarryG on 11/8/2015 at 18:27
Quote Posted by Middoth
Having concluded that the .WAV must be inserted and rezipped into the "snd.crf", I have done so, but Dromed still can't find any samples.
Why would you do this? Just put the .wav or .ogg or .whatever file in your snd directory, preferably in a sub-dir specific to your mission so that it will be easy to package on release.
If you rebuilt your schemas, were there any monolog warnings?
Did you look at Editors > Archetypes > Sound > Schema > Ambients and verify that the schema got created properly?
Personally, I would (and have) defined a new directory under Ambients for all my custom sounds by editing BASE.ARC to have that directory defined:
Code:
.
.
.
schema AMB_M16 //Endgame
archetype AMBIENTS
schema AMB_FAR //Custom Sounds
archetype AMBIENTS
schema AMB_KA //Custom Sounds
archetype AMBIENTS
.
.
.
It's not necessary, but it helps keep things organized and findable.
fibanocci on 11/8/2015 at 18:32
If you want an easy setup, do it like that: create a folder in Schemas called "myown" (or whatever) or put it in AMB.sch
copy this
schema AMB_RDSG
archetype AMB_MISC
mono_loop 0 0
volume -500
AMB_RDSG
reload schemas and play it
R Soul on 11/8/2015 at 19:13
I've recently experienced a few problems with .wav files generated by Audacity. Sometimes they would play, other times they wouldn't. Re-exporting the sounds fixed those problems.
Derspegn on 12/8/2015 at 00:42
Quote Posted by Yandros
If you enter the play_schema command followed by the schema name, does it play or do you still get the error? If it fails there, I would say the problem is the WAV file. In that case I would recommend going back to the original sound file and saving as an uncompressed 16-bit PCM (not ADPCM) and then trying again.
I still get the error. The thing is that I get the error with 16-bit PCM (I tried this first), 8-bit PCM, and 8-bit ADPCM. Preferably, I would like a smaller file with a lesser bit rate. I have considered purchasing SoundForge software for this, but since I already had Audacity I wanted to try it before I ruled it out.
Derspegn on 12/8/2015 at 00:54
Quote Posted by LarryG
Why would you do this? Just put the .wav or .ogg or .whatever file in your snd directory, preferably in a sub-dir specific to your mission so that it will be easy to package on release.
If you rebuilt your schemas, were there any monolog warnings?
Did you look at Editors > Archetypes > Sound > Schema > Ambients and verify that the schema got created properly?
Personally, I would (and have) defined a new directory under Ambients for all my custom sounds by editing BASE.ARC
1. Well, I knew about the sub-dir specific to a mission, but I associated the other .wavs in "snd.crf" with samples that are Dromed-readable.
2. After rebuilding the schemas, the warnings I got stated that samples for AMB_RDSG couldn't be found.
3. I did look at the hierarchies (more than quadruple-checked) to verify the schema's creation.
4. After reading a couple tutorials, it seemed that BASE.ARC would be handled by the "reload_schemas" command.
LarryG on 12/8/2015 at 01:41
I use Audacity 1.3.13-beta (Unicode) with no issues. Make sure you are exporting as WAV (Microsoft) 16 bit signed PC. Use the drop down to get that when you export.