Hi Mercedes,
Mercedes wrote:...If this is what u are doing...Then I would suggest copying it..I'm assuming u have tried different sounds, and are not using stop sound/changevolume..so..This is what i would suggest..Its process of elimination and at this point..I think all is covered so far..other than i can't see it. So taking shots in the dark..all that's left.. i think.. are ur variables...k well ill await ur reply..Smile
Thanks so much for the detailed response. I think I am doing what you stated in the beginning of your response about dedicating the channels for certain sounds. My Channel 1 only plays background music; channels 2 and/or 3 are for sound effects. And no stop sound or change volume is being used. The player just has to simply click on the hotspot (or drag to the hotspot) to hear the sound.
But I think the trimming code thing may be a way to go. I know I have some commented lines that don't need to be in there so that is worth taking out. I'll can also see if there are any other bits of code lying about causing trouble.
Thanks for the tip and I'll try that and let you know how things go.
Again, thanks!
--------------------------------------------------------------
HI Imari,
Imari wrote:I've had as many as three sounds playing just fine on a single frame, but if the sounds are going to play simultanteously, could you combine them into fewer sounds or even a single sound file in a program like Audacity, perhaps?
Thanks for the response. The only problem with a single file is that I have buttons that need be selected randomly by the player (when you get to see my
nanodemo, you'll understand what I mean). So unfortunately, a single audio file, at least in this case, is not feasible. But that is something to keep in mind for future puzzles.
Thanks.
------------------------------------------------------------
Hi reneuend,
reneuend wrote:...I still haven't run into the intermittent problem. I was wondering if you are loading a lot of animation, code, or other items that take awhile and might cause this particular problem?
I think you are pretty close assessment to what is going on because I do have a lot of code going on (variable monitoring code, variable incremental code, etc.) in all the button hotspots to create the effect I need. So trimming the code, as Mercedes suggested, may be a way to go.
Right now, though, thankfully, at least overall, the nanodemo is working fine. It's just the sound issue...and it is only in two frames, not the entire project.
Well, I'll let you know how things turn out.
Thanks!
[EDIT]---------------------------------[!!!!RESOLVED!!!]--------------------------------------[EDIT]
HURRAY!
Well, I found what the problem was. It seems that it could be a bug with AM. Before I took any drastic steps like deleting code, I decided to see what the difference was between the sounds that played well and the ones that didn't. The button sounds were basically MP3 sound files. Mostly all my other sound were WAV sounds file. Well, I converted the MP3 buttons sounds to WAV files and VOILA! They work consistently, now!
So it seems that when pinched, AM doesn't seem to like MP3 files as much as WAV files.
<whew> I am so glad that is over!
Now to add more sounds and be done with it.
Thanks Mercedes, Imari, and reneuend for all your help and patience with this!
Cya