Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 40 posts ] Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 1:46 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 12285
No, same API routine, sndPlaySound.

Reading about it, in theory telling it to play a second sound while the first sound is still playing, would interrupt the first sound.

Of course, if the first sound (the launch sound) is short it might have finished playing by the time Nexus tries to play the second sound (the auto-hide sound).

In this case (and I think this is what is happening here) it might even give the impression that the two sounds are playing concurrently.

However, if the timing has changed and the launch event suddenly happens much faster, the second sound might 'cut off' the first before it has had a chance to play for an audible amount of time.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 4:01 am 
Offline
User avatar

Joined: Fri Jul 31, 2009 2:28 am
Posts: 178
Location: Vadnais Heights, Minnesota
Jorge,

No, I meant your code that contains the call to the API. Do they differ?

This still brings me back to the same question. What has changed between the two releases? The "Hide/Collapse" sound didn't step on the "Launch item" sound in the previous release. Something has changed to bring about a faster collapse i.e. the sounds should play sequentially, not concurrently

Quote:
@winds350--It seems that things are launching, and the dock retracting, much more quickly than they used to.


Quote:
@skagon--In any case, I would definitely want to see the whatever sound or on-launch effect finish and then have the dock/shelf hide, though. I mean, what's the use, if the dock hides *instantly* upon launch?


Thanks,
Grouch

_________________
Windows 10 Pro[x64]
Nexus Ultimate 20.10.1154
Antivirus: Windows Defender


Back to top
 Profile  
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 4:31 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 12285
Grouch wrote:
No, I meant your code that contains the call to the API. Do they differ?


No.

Grouch wrote:
the sounds should play sequentially, not concurrently


I don't agree. If that were so and you assigned a .wav file that lasted 10 or more seconds to the Launch event, by the time the hide sound played the dock would have already been hidden for a long time. :D

Sounds should play as the event happens, i.e.; the 'slush' sound should always be somewhat synchronized with the auto-hide animation itself - it would be ridiculous if it happened 10 or more seconds after-the-fact because the application was still busy playing the previous sound event.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 4:35 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 12285
Yeah, I just tried it with the 'Music' sound scheme and I can confirm a new sound stops any sound that was previously playing.

So, if anything changed between v11.6 and v11.10, is that the time between launching something and the dock auto-hiding is shorter for some reason - but I certainly did nothing on purpose to change that.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 5:17 am 
Offline
User avatar

Joined: Fri Jul 31, 2009 2:28 am
Posts: 178
Location: Vadnais Heights, Minnesota
winstep wrote:

I don't agree. If that were so and you assigned a .wav file that lasted 10 or more seconds to the Launch event, by the time the hide sound played the dock would have already been hidden for a long time. :D

Sounds should play as the event happens, i.e.; the 'slush' sound should always be somewhat synchronized with the auto-hide animation itself - it would be ridiculous if it happened 10 or more seconds after-the-fact because the application was still busy playing the previous sound event.


Who'd have a 10 second launch sound? :lol: What I'm saying is, the "Hide/Collapse" event should wait until the "Launch item" event and its' associated sound have completed.

Thanks,
Grouch

_________________
Windows 10 Pro[x64]
Nexus Ultimate 20.10.1154
Antivirus: Windows Defender


Back to top
 Profile  
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 9:17 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 12285
Grouch wrote:
Who'd have a 10 second launch sound?


And who would have figured there are people who worry so much about a simple launch event sound not playing when it's immediately followed by another? :wink:

In other words, just because you wouldn't, doesn't mean somebody else won't. And then he would be here too, complaining how the hide event sound does not play when the dock hides but only when the launch event sound finishes playing.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 1:09 pm 
Offline
User avatar

Joined: Fri Jul 31, 2009 2:28 am
Posts: 178
Location: Vadnais Heights, Minnesota
Fine. Forget it.


Back to top
 Profile  
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 1:30 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 12285
Hey, don't be like that! lol

I was pointing out that just because you wouldn't, that doesn't mean somebody else won't.

Anyway, there are two considerations here: first, is it really worth all the trouble to 'fix' this (not like it got broken, sndPlaySound's behavior has always been like this, it's the timings that are apparently different - and in a good way)? And second, sndPlaySound will never play two simultaneous sounds, nor will it 'queue' them, I would have to switch to mciSendString. And that is another can of worms, because then each sound would have to have its own alias, etc... which brings us right back to the first question.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Sounds
PostPosted: Fri Dec 02, 2011 2:11 pm 
Offline
User avatar

Joined: Fri Jul 31, 2009 2:28 am
Posts: 178
Location: Vadnais Heights, Minnesota
Okay! The game's not worth the candle.

_________________
Windows 10 Pro[x64]
Nexus Ultimate 20.10.1154
Antivirus: Windows Defender


Back to top
 Profile  
 
 Post subject: Re: Sounds
PostPosted: Mon Dec 05, 2011 1:04 pm 
Offline
User avatar

Joined: Mon Sep 08, 2008 8:33 pm
Posts: 1212
Location: Portland, Oregon U.S.A.
Grouch wrote:
Yes, but then I have to remember to move the cursor off the icon for the dock to collapse. You're depending on my hand-eye coordination. I just expect it to behave the way it used to.

The sounds I use are the ones that came with Nexus in the first place. They're in the Winstep Samples folder "C:\Users\Public\Documents\Winstep\Themes\WinstepSamples".

Skagon was having the same problem. Maybe he has some insight into the problem.

Thanks,
Grouch


jorge i asked you awhile back if you had removed the samples. i never went and actually checked to see if i have the samples folder. as you can see from the screenshot for some reason i do not. the only time i've been in c:\users\public\winstep was to put in my license key. you told me i had to have added the sound i use to have. that aside i'm going to ask again if there is a text file with all of my preferences listed if i decide to uninstall all of winstep and start from scratch. the reason i ask is that the sounds missing goes back to my previous install of 7, so i'm pretty sure something in my ws backups is causing the folder to disappear. the link includes the screenshots, and both backup files. on the backup files just click on them to bring them to the center of your page, then click it again to get the download box.

http://min.us/mTUbVc4zH

_________________
AKA THE UNKNOWN PERVERT


Back to top
 Profile  
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 40 posts ] Go to page Previous  1, 2, 3
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: Google [Bot] and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: