The Daily Click ::. Forums ::. Klik Coding Help ::. Sound Channels
 

Post Reply  Post Oekaki 
 

Posted By Message

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
9th October, 2010 at 04:53:52 -

Well poo.

One of the suggestions I got for Splotches was to have individually-controlled volumes for sound effects and music. I dragged my feet a little but finally separated them all into their own channels this evening.

And then I realized only one sound can play in each channel at a time.

/completedoofus

Is there a way to separate them without using an extension that makes everything external?

 

  		
  		

nim



Registered
  17/05/2002
Points
  7233
9th October, 2010 at 05:23:31 -

How about just using one for music (un-interruptible) and leaving the rest free for the sfx, setting the volume of them by fastloop (1-30)? I don't think there's an extension that works with internal sounds. I could be wrong but I think you just learned something new about MMF the hard way

 
//

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
9th October, 2010 at 05:37:06 -

That's actually what I tried first. Thanks though.

 

  		
  		

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
9th October, 2010 at 20:17:25 -

Wait, did setting all the non-music channels' volumes once at the start work? Or did they revert the next time a sound was played?

If it didn't work, you could choose manually the channel to play each sound on, and then manually set the volume each time as well. You could use an incrementing, looping value to track which channel you're gonna use next.

 
Go Moon!

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
9th October, 2010 at 20:26:33 -

Is there a way to limit the sound effects to all channels but one without a loop system?

Volume seems to be steady, but I don't know if that's because it doesn't reset or because it constantly sets the volume to a global value.

 

  		
  		

nim



Registered
  17/05/2002
Points
  7233
10th October, 2010 at 16:49:19 -


Originally Posted by OldManClayton
Is there a way to limit the sound effects to all channels but one without a loop system?



How about:

[Event]
Set Counter to 1 + (value( "Counter" ) mod 31)
Play sound on channel value(Counter)

and play the music on channel 32

 
//

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
22nd October, 2010 at 22:24:12 -


Originally Posted by nim

Originally Posted by OldManClayton
Is there a way to limit the sound effects to all channels but one without a loop system?



How about:

[Event]
Set Counter to 1 + (value( "Counter" ) mod 31)
Play sound on channel value(Counter)

and play the music on channel 32



Nim, you are a positively wonderful person.

Time for a few hip-hip huzzahs and some puzzle making before I go post the update everywhere.

 

  		
  		
   

Post Reply



 



Advertisement

Worth A Click