Sign in to follow this  
Followers 0
AJJ

Buttons and Links

7 posts in this topic

I do alot of drama with a youth group with the charity that i work with. I tried creating a cool looking sound desk on flash that would play sound effects when you click the buttons (they basically just link to files that are called "sound1.wma" or sound2.wav etc. then i wanted to make it so you could name them and eventually save a profile (but that bits for another day maybe))

anyway, in the end the flash thing didnt work because for some reason links that are identical with identical sounds, coding and links (apart from one character) will not work. (sound1.mp3 will work but sound2.mp3 will not work and some times vice versa) i eventually couldnt find any reason for it and there was no variables or patterns in what was happening so i shelved it.

but now discovering AUTOit i was wondering how you would make the user interface for this type of program, and maybe it would be good to be able to create a profile and attach mp3s to the "desk" and then export the profile to be used somewhere else. not sure, but yeah even if i just had the help to the GUI (i dont know how to do this) then i could probably figure out the next step (like how to shellexecute a MP3 or somthing)

so it would need buttons to the sounds, the names of the sounds and a start stop... but the main thing would be so it can be cued to play quickly with no mp3 loading times...

thanks for any help or ideas!

Share this post


Link to post
Share on other sites



I do alot of drama with a youth group with the charity that i work with. I tried creating a cool looking sound desk on flash that would play sound effects when you click the buttons (they basically just link to files that are called "sound1.wma" or sound2.wav etc. then i wanted to make it so you could name them and eventually save a profile (but that bits for another day maybe))

anyway, in the end the flash thing didnt work because for some reason links that are identical with identical sounds, coding and links (apart from one character) will not work. (sound1.mp3 will work but sound2.mp3 will not work and some times vice versa) i eventually couldnt find any reason for it and there was no variables or patterns in what was happening so i shelved it.

but now discovering AUTOit i was wondering how you would make the user interface for this type of program, and maybe it would be good to be able to create a profile and attach mp3s to the "desk" and then export the profile to be used somewhere else. not sure, but yeah even if i just had the help to the GUI (i dont know how to do this) then i could probably figure out the next step (like how to shellexecute a MP3 or somthing)

so it would need buttons to the sounds, the names of the sounds and a start stop... but the main thing would be so it can be cued to play quickly with no mp3 loading times...

thanks for any help or ideas!

I would expect that SoundPlay would do what you want.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Yeah SoundPlay is the way to go.

SoundPlay( "\sounds\sound1.xxx", 1) ;would play sound1.xxx from the "sound" folder.

Share this post


Link to post
Share on other sites

hey thanks alot thats pretty cool, but what about the user interface - something with buttons!

also, how come you cant use wild cards with sound play?

Share this post


Link to post
Share on other sites

if i can get the code needed to bring up a box with a couple of buttons in it then i can maybe figure out the rest...

Share this post


Link to post
Share on other sites

if i can get the code needed to bring up a box with a couple of buttons in it then i can maybe figure out the rest...

You got to be kidding.

Would appreciate when you start putting in some effort yourself!

Come back when you have really tried something yourself.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

so far i know what the tutorials have taught me, but im really really not coding minded, and dont really have anywhere else to learn from. I learnt HTML (basics) but taking little bits that people had and changing them slightly to see what happens. and ive only known about this program for 4 days!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0