The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: loadman on March 16, 2007, 09:41:57 am

Title: Emu-Wave Plug-In 1.6
Post by: loadman on March 16, 2007, 09:41:57 am
http://forum.arcadecontrols.com/index.php?topic=63689.0 (http://forum.arcadecontrols.com/index.php?topic=63689.0)

I started a new thread rather than jump on this thread any more

As you may know this basic MaLa plug-In currently plays 'specific' wav that matches the EMU you switch to:

I am in the process of expanding my plug-in to:
* Play random Wav file When Starting MaLa
* Play random Wav file When Starting Game
* Play random Wav file When quiting Game
* Play random Wav file When Quiting MaLa
* Play random Wav of Game-List change
* If using MaLa Tree
   - random Wav on MaLaTreeUp and MaLaTreeDown.
Also have the options:
1) Bring Up volume while Wav playing
2) Pause background Music while Wav is playing

Please post further suggestions or comments in this thread...

ta Simon AKA Loadman
Title: Re: Emu-Wave Plug-In Development
Post by: loadman on March 29, 2007, 11:36:20 pm
(http://www.members.optushome.com.au/backwash/ewp.JPG)
Title: Re: Emu-Wave Plug-In Development
Post by: edge on March 30, 2007, 10:56:18 am
Nice, loadman.  New logo? :)  Will try this out this weekend. 

Does it work nicely with the ledwiz plugin with speech enabled?  I would guess I would just turn off the game start option in emu-wave?

Thanks.
Title: Re: Emu-Wave Plug-In Development
Post by: moriartyds on March 30, 2007, 03:24:40 pm
Wait, is it out yet or is that just a mockup? 
Title: Re: Emu-Wave Plug-In Development
Post by: loadman on March 30, 2007, 06:50:05 pm
Wait, is it out yet or is that just a mockup? 

.. Just Work in Progress..  I like to get feedback before I go too far as I'm not a great coder yet so to go back and change things later is painfull at the moment.

I just realised I forgot to add MaLa tree-up and MaLa Tree down  D'oh  :banghead:
Title: Re: Emu-Wave Plug-In Development
Post by: RyoriNoTetsujin on March 30, 2007, 07:40:15 pm
Looks good so far, loadman!

Along with the aforementioned missing MaLaTreeUp/Down options, I did notice one VERY small thing.  In the screenshot, the first two options are both labeled "MaLa Start."  I'm guessing you meant for one to be "MaLa Start" and the next to be "MaLa QUIT" based on how you've set it up.

Man, I can't wait until this bad boy is ready!  It's going to make my cab so happy!  ;D

Go Loadman, GO!  :applaud:
Title: Re: Emu-Wave Plug-In Development
Post by: CyrusMzRG on March 31, 2007, 07:04:36 am
Hey Loadman it looks incredible, I cannot wait for use it in my mala

 Congratulations

Cyrus
Title: Re: Emu-Wave Plug-In Development
Post by: loadman on April 19, 2007, 10:20:52 pm
Screenshot in earlier post updated.. also ....

I have completed a beta version.


Random Duke Nukem grabs are pumping out of my cab   8)
Title: Re: Emu-Wave Plug-In Development
Post by: moriartyds on April 20, 2007, 01:41:28 pm
Screenshot in earlier post updated.. also ....

I have completed a beta version.

http://www.members.optushome.com.au/backwash/EmuWave.zip (http://www.members.optushome.com.au/backwash/EmuWave.zip) ;)

Please read the 'Read Me' file

Random Duke Nukem grabs are pumping out of my cab   8)

Awesome, i'll give this a twirl a bit later.
Title: Re: Emu-Wave Plug-In Development (1.5) *beta available for download
Post by: moriartyds on April 21, 2007, 02:14:06 pm
So far I've just done the basics (random startup/shutdown and game start/end) but it works like a charm.   :notworthy:

Not sure how the music pause feature works but I'll play around with it some more later and see if I have any constructive feedback.  So far it's awesome though (i'm gonna need to download some more .wav's!)

Does this work in conjunction with the voice plugin?  I.e. if I used the voice for mala startup and this for game start/stop etc. will they both function together? 
Title: Re: Emu-Wave Plug-In Development (1.5) *beta available for download
Post by: loadman on April 21, 2007, 06:51:50 pm
Quote
Does this work in conjunction with the voice plugin?  I.e. if I used the voice for mala startup and this for game start/stop etc. will they both function together? 


I was just thinking about that this morning... The answer is sort of

If you have a wav and voice on the same event they will overlap a bit

I will have to work out how they can play one after the other . Worst case scenario I will build speech into this plug-in too
Title: Re: Emu-Wave Plug-In Development (1.5) *beta available for download
Post by: RyoriNoTetsujin on April 21, 2007, 10:37:28 pm
Okay, sorry it took me so long to get to this.  AWESOME work so far, loadman!   :applaud:  I've only been playing with this for a few minutes, so don't hold any of this as gospel.  I have a possible "bug" and a possible request;

When "Tree Down" and "Mala Start" are both enabled (and point at different folders,) the Tree Down event completely overrides the Mala Start event when first starting Mala (this is, of course, using the tree menu system.) **I have to test this in a few more permutations before i'll say this is definite.  It might just be my layout.**

Also, could "Game Start" and "Game Stop" events be separate from "Screensaver Start" and "Screensaver Stop"?  I don't want to be really picky, but that would be great if it's not too much trouble.  Honestly, I don't know why I didn't notice that before in the preview screenshot... d'oh! ;D

Again, AWESOME work!  You rock, loadman!!  I'll try to give you more feedback tomorrow!
Title: Re: Emu-Wave Plug-In Development (1.5) *beta available for download
Post by: loadman on April 21, 2007, 10:44:26 pm
When "Tree Down" and "Mala Start" are both enabled (and point at different folders,) the Tree Down event completely overrides the Mala Start event when first starting Mala (this is, of course, using the tree menu system.) **I have to test this in a few more permutations before i'll say this is definite.  It might just be my layout.**

Right..  I will change the code to ignore the first Tree Down Event..  That should fix it :-)  I had to do something similar for Emu Change and list change as they also get trigger when mala starts.  I didn't notice the 'Tree' Problem as I don't use a tree layout

Quote
Also, could "Game Start" and "Game Stop" events be separate from "Screensaver Start" and "Screensaver Stop"?  I don't want to be really picky, but that would be great if it's not too much trouble.  Honestly, I don't know why I didn't notice that before in the preview screenshot... d'oh! ;D
OK  ;) I just ran out of room...  PS I changed the screenshot a few days ago, that is why you did not notice it.
Title: Re: Emu-Wave Plug-In Development (1.5) *beta available for download
Post by: Timoe on April 21, 2007, 11:20:53 pm
I'm searching for wav files now......

http://www.digitpress.com/dpsoundz/soundfx.htm
Title: Re: Emu-Wave Plug-In Development
Post by: loadman on April 22, 2007, 06:39:50 am
 ;D
Title: Re: Emu-Wave Plug-In Development (1.5) *beta available for download
Post by: loadman on April 22, 2007, 06:42:36 am
I'm searching for wav files now......
http://www.digitpress.com/dpsoundz/soundfx.htm
Nice One  :-)

Not sure how the music pause feature works but I'll play around with it some more later and see if I have any constructive feedback. 
The Pause stops MaLa background music (If you use it) Any Feedback would be great

  I have a possible "bug" and a possible request;
When "Tree Down" and "Mala Start" are both enabled (and point at different folders,) the Tree Down event completely overrides the Mala Start event when first starting Mala (this is, of course, using the tree menu system.) **I have to test this in a few more permutations before i'll say this is definite.  It might just be my layout.**
Also, could "Game Start" and "Game Stop" events be separate from "Screensaver Start" and "Screensaver Stop"?  I don't want to be really picky, but that would be great if it's not too much trouble.  Honestly, I don't know why I didn't notice that before in the preview screenshot... d'oh! ;D
I'll try to give you more feedback tomorrow!
Your requests have been implimented in Beta B  (See link in earlier post  (http://forum.arcadecontrols.com/index.php?topic=64387.msg664100#msg664100) for link to download)
Bring on the Feedback   :cheers:
Title: Re: Emu-Wave Plug-In Development (1.5) *beta (B) available for download
Post by: RyoriNoTetsujin on April 22, 2007, 09:23:47 am
Talk about a good morning!  You'd think being a billionaire gourmand with his own tv show would be enough, but waking up to having all of my previous requests already completed ... that's priceless.  :laugh2:

The changes you implemented are great, loadman!  The tree doesn't override Mala Start anymore (in fact, as far as I can tell, nothing does) and for some reason I'm fascinated with the possibilities of "Screensaver Stop".

Like moriartyds, at first I was not sure about the music pause feature did ... now I see that it's function is to pause the music while another sound event occurs.  That makes sense.  I won't use it, but it's nice that it's there.  I probably won't use the volume boost either, but again, it's nice to see them there.

Really, loadman, for a "beta," the plugin sure acts like it's already full-grown!  I've run it through it's paces and so far everything works smoothly. It adds a ton of personality to Mala!   

... and now I'm just being picky; can you add the Menu Select/Cancel events? ;D

Also, do you have a paypal link?  No sense in swindus having all the fun and reaping all the benefits! 



Title: Re: Emu-Wave Plug-In Development (1.5) *beta (B) available for download
Post by: loadman on April 22, 2007, 10:56:46 pm
Like moriartyds, at first I was not sure about the music pause feature did ... now I see that it's function is to pause the music while another sound event occurs.  That makes sense.  I won't use it, but it's nice that it's there.  I probably won't use the volume boost either, but again, it's nice to see them there.
That feature was asked for by CyrusMzRG. I hope he is happy with it

Quote
... and now I'm just being picky; can you add the Menu Select/Cancel events? ;D
I don't think that is a plug-in option  :(  But you can allocate a single sound to that event in mala options-sounds and music-event sounds..
On second thought I guess I can get my plug-in the edit mala.ini to change that sound  (you set in options-sounds and music-event sounds) every time you boot up mala.. Would that be good enough?

Quote
Also, do you have a paypal link?  No sense in swindus having all the fun and reaping all the benefits! 

If you want you could contribute to the MaLa Wiki..  Any stuff in any section would be appreciated :-)   That would make me very Happy  :D
But remember without Swindus there would be no MaLa Plug-in, and he added the ability to trigger Tree up/down by your request. If you have some extra cash to donate (as you are a millionare  ;)  ) send it to Swindus via his PayPal link on the MaLa website




Title: Re: Emu-Wave Plug-In Development (1.5) *beta (B) available for download
Post by: RyoriNoTetsujin on April 23, 2007, 09:34:56 pm
Quote
... and now I'm just being picky; can you add the Menu Select/Cancel events? ;D
I don't think that is a plug-in option  :(  But you can allocate a single sound to that event in mala options-sounds and music-event sounds..
On second thought I guess I can get my plug-in the edit mala.ini to change that sound  (you set in options-sounds and music-event sounds) every time you boot up mala.. Would that be good enough?

That's a clever fix, loadman, but don't worry about it.  It's not a big deal.  If swindus at some point finds the time to add it as a plugin option (and you subsequently update this magnificent EmuWave plugin) that'll be fine.  I won't hold my breath waiting for it to happen.  I'm not exactly clamoring for it... it'd just be "nice to have."

If you want you could contribute to the MaLa Wiki..  Any stuff in any section would be appreciated :-)   That would make me very Happy  :D
  Well, if I can find something useful to add that you haven't already covered.  Maybe I'll write an article on "Why you should use Mala's Tree!"

If you have some extra cash to donate (as you are a millionare  ;)  )
Hey... I said billionaire.;D  Besides, the first time I donated to the cause will certainly not be the last.
Title: Re: Emu-Wave Plug-In Development (1.5) *beta (B) available for download
Post by: loadman on April 23, 2007, 11:00:07 pm
That's a clever fix, loadman, but don't worry about it.  It's not a big deal.  If swindus at some point finds the time to add it as a plugin option (and you subsequently update this magnificent EmuWave plugin) that'll be fine.  I won't hold my breath waiting for it to happen.  I'm not exactly clamoring for it... it'd just be "nice to have."!
DONE
Note: It changes the wav after MaLa Loads, so you won't hear the change the first time you run it.
Above link updated to BetaC

Quote
  Well, if I can find something useful to add that you haven't already covered.  Maybe I'll write an article on "Why you should use Mala's Tree!"
That would be good as I have not used that Tree stuff really..   ;D http://wiki.arcadecontrols.com/wiki/Mala_Cool#MaLa_Tree (http://wiki.arcadecontrols.com/wiki/Mala_Cool#MaLa_Tree)

Title: Re: Emu-Wave Plug-In Development (1.5) *beta (C) available for download
Post by: RyoriNoTetsujin on April 25, 2007, 08:47:43 am
Well done, loadman.  Above and beyond the call of duty, I'd say.  Still, it works like a charm!  :cheers:
Title: Re: Emu-Wave Plug-In Development (1.5) *beta (C) available for download
Post by: loadman on April 25, 2007, 05:44:28 pm

I need to decide what to do about 'Speech'.  If a user wants to use that it will overlap. I guess I have two choices.

1) Detect the voice/ledwiz-voice plugin's and design a system where the wav does not play until the speech is finished. I could use the windows registery or a external file or something

2) Simply build a speech section in this Plug-In too
 :dunno.... Yet.   I will ponder.
Title: Re: Emu-Wave Plug-In Development (1.5) *beta (C) available for download
Post by: loadman on July 31, 2007, 10:33:33 pm
Version 1.5 is now posted on the MaLa website

http://mala.arcadezentrum.com/plugins.html#EmuWave (http://mala.arcadezentrum.com/plugins.html#EmuWave)

I never found a solution to speech overlap. I am open to suggestions
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: moriartyds on August 01, 2007, 08:51:15 am
Did you get a chance to look at the issue where the list movement (moving up or down a list) sound is getting overridden/ignored?
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: loadman on August 01, 2007, 05:57:24 pm
Did you get a chance to look at the issue where the list movement (moving up or down a list) sound is getting overridden/ignored?

Issue?  It is a feature  ;D

I remember now. I got the plug-in to turn off that mala event. I should have really made it an option.

I can't remember why I have the plug-in disable this list movement sound. There was a reason. I think the soundcard had a fit if it tried to play sounds from MaLa and my plug-in at the same time.

Anyway, attached is a version of the plug-in where it does not wipe out any list movement settings. Try it for a while and let me know what happens
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: moriartyds on August 02, 2007, 08:53:38 am
Cool, I'll give it a shot and report back. 

Is there any reason why we couldn't just add the list movement (up/down) as another plugin event? 
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: loadman on August 02, 2007, 07:21:38 pm
Cool, I'll give it a shot and report back. 

Is there any reason why we couldn't just add the list movement (up/down) as another plugin event? 

There was... and i think the sound got curropted or something. But who wants a random sound on every single item movement. You either want nothing or a faint click right?  ;)
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: moriartyds on August 02, 2007, 08:11:46 pm
There was... and i think the sound got curropted or something. But who wants a random sound on every single item movement. You either want nothing or a faint click right?  ;)

Yeah, I was just proposing that as a possible work around (you could set up a folder w/ one .wav) but sounds like that caused issues.  I'm only looking for a faint click sound.  I don't know why, but I find the audio feedback satisfying.  Definitely not a deal breaker though.
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: moriartyds on August 03, 2007, 12:04:05 pm

Anyway, attached is a version of the plug-in where it does not wipe out any list movement settings. Try it for a while and let me know what happens

Just tried that version last night and it worked like a charm.   Thanks again.   :applaud:
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: loadman on August 12, 2007, 02:08:13 am
I need to decide what to do about 'Speech'.  If a user wants to use that it will overlap. I guess I have two choices.
1) Detect the voice/ledwiz-voice plugin's and design a system where the wav does not play until the speech is finished. I could use the windows registery or a external file or something
2) Simply build a speech section in this Plug-In too
 :dunno.... Yet.   I will ponder.
I decided.
I will add an optional start delay to the 'Speech' plug-in and a delay to the led-wiz 'Flash N speak' option on the Led-Wiz Plug-in.   ;D
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: sparry3567 on August 02, 2008, 06:32:17 am
Hi loadman, did these delays ever get put-in. I'm using the speech plug-in, but can't see anything...(I notice that your original post was nearly a year ago, so if it hasn't happened by now....!!!)

I have my own WAV which plays on game selection - I would like the speech plug-in to pause (for that WAV to finish) and then say the name of the game.

Ideally I would also like my machine to play random WAVs every couple of minutes when in screensaver mode. LEDBlinky can do something like this, but it'll only work if you have an LED-Wiz (and I've yet to take the plunge!)

Cheers

Steve

Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: sparry3567 on August 02, 2008, 03:19:15 pm
Apologies, I've now found the 1.5a beta of the Speech plug-in. It did get done, but I guess never got officially released...
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: loadman on August 02, 2008, 08:48:33 pm
Oh Yeah,  I must post this  ;)
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: sparry3567 on August 03, 2008, 04:49:30 am
Installed, and it works like a dream, thanks Loadman.

Now, if you were looking for feature requests - and I can see you have plenty on your plate, so I'm sure you aren't! - it would be great if it included functionality for screensaver mode.

One thing which LEDBlinky does which I really like - but which I can't use because I don't have any LEDs or an LED controller card - is the ability to speak random phrases every x minutes whilst in screensaver mode. I like the idea of building up a list of phrases (and/or WAVs if possible) which my MAME cabinet would deliver every couple of minutes. "Coin detected in pocket", "Oi!! Over here! Why aren't you playing me?" etc etc

Steve
Title: Re: Emu-Wave Plug-In (1.5) Finished
Post by: loadman on August 12, 2008, 07:51:31 am
Latest Version Now on Site
Title: Re: Emu-Wave Plug-In 1.6
Post by: jasonbar on October 06, 2009, 10:15:56 pm
With my long overdue foray into MaLa plugins (prompted by getting my control panel viewer up & running), I stumbled across this fine Emu-Wave plugin!

And, as is always the case with me, I can't get it to work right the first time...  (why is there no dunce cap smiley?  This will have to do:  :dizzy:)

I've got it set up & wish to play only start MaLa & MaLa Quit sounds, since those aren't supported in plain old MaLa.

I'm trying to play "Intruder alert, intruder alert" when starting MaLa & "Chicken.  Fight like a robot" when quitting MaLa.


However, I get only as far as "Intruder Alert, Int---" when starting up, because MaLa always flips one game up in my game list, which triggers a sound set in MaLa (the Tempest "pik" sound made when flipping from one lane to the next) & interrupts the Mala Start sound.  I confirmed this conflict by temporarily removing the event sound for "Game list/menu movement" & the entire MaLa Start sound played.


Similarly, on exit, I get only "Chicken fight---" before exiting to the desktop.  Because MaLa is my shell, I have it run explorer.exe on exit.  I tried disabling this & still got the same truncation.


I'm currently running the MaLaLauncher plugin too, & I tried temporarily removing it, but that changed nothing.


Any ideas, folks?


Thanks,
-Jason
Title: Re: Emu-Wave Plug-In 1.6
Post by: loadman on October 12, 2009, 09:01:04 pm
Are you using the latest (old) beta?

http://forum.arcadecontrols.com/index.php?topic=90230.msg965731#msg965731 (http://forum.arcadecontrols.com/index.php?topic=90230.msg965731#msg965731)
Title: Re: Emu-Wave Plug-In 1.6
Post by: jasonbar on October 13, 2009, 12:07:11 am
Yup, just tried 1.62g & it behaves the same as my 1.0.4.5.


Thanks,
-Jason
Title: Re: Emu-Wave Plug-In 1.6
Post by: jasonbar on October 21, 2009, 01:15:47 am
Effective solution for me achieved thanks to bkenobi & AutoHotKey.

http://forum.arcadecontrols.com/index.php?topic=97119.msg1027416#msg1027416 (http://forum.arcadecontrols.com/index.php?topic=97119.msg1027416#msg1027416)

Thanks,
-Jason
Title: Re: Emu-Wave Plug-In 1.6
Post by: Takao21 on December 12, 2012, 03:37:30 pm
Great plugin! I know I might be a couple years late to this party but is there anyway to assign a random sound to the menu movement. Like when you scroll through the game lists?