Source language: Translate to:

Play Sound File immediatly

General questions about NeoBook

Moderator: Neosoft Support

Play Sound File immediatly

Postby StarterPack » Fri Nov 18, 2016 2:57 am

Hi guys, another question on wave file. When i use a button to play a sound file
PlaySoundFile "[PubDir] [Beat1].wav" "Loop"
and i use "Enter" as a shortcut
When i press 'Enter" there is a slight delay of 002 of a second before the sound file play.
But when i use a picture for example and use the "Mouse Enter" tab. PlaySoundFile "[PubDir] [Beat1].wav" "Loop"
The sound file plays immediately
But i can't put a shortcut key on a picture. What can i do to play the sound file immediately with "Enter" shortcut

Thank You
StarterPack
 
Posts: 115
Joined: Fri Feb 19, 2016 6:55 am

Re: Play Sound File immediatly

Postby Neosoft Support » Fri Nov 18, 2016 6:34 pm

I don't think there's anything we can do about that. I can't really tell the difference between clicking a button and pressing the hotkey. It's probably just the way Windows processes messages or our perception of what's happening.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Play Sound File immediatly

Postby StarterPack » Sat Nov 19, 2016 2:23 am

I Understand... Thank You
StarterPack
 
Posts: 115
Joined: Fri Feb 19, 2016 6:55 am


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 2 guests