Hi all,
Utterly new to Revolution so please allow for my ignorance. I am trying to develop an audio application, to play various formats by essentially having a page of buttons. Each button can be loaded with a music track, and pressing the button plays the track.
Is this something that I can create with Revolution Studio and if it is, how do I get started?
Thanks in advance,
G
Utter New Boy
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi G
(Damlimey = funny name or self-awareness?
Just kidding!)
this sounds pretty straightforward!
Create as much (invisible?) player objects as you need and two buttons
for each player "Load..." and "Play", know what I mean?
Script of btn load:
Script of btn "Play"
Hope that helps.
Best from germany
Klaus
(Damlimey = funny name or self-awareness?

this sounds pretty straightforward!
Create as much (invisible?) player objects as you need and two buttons
for each player "Load..." and "Play", know what I mean?
Script of btn load:
Code: Select all
on mouseup
## Show file dialog with only the defined filetypes!
answer file "Select an audio file:" with type "Soundfiles|aif,aiff,wav,au,mp3|"
if it <> empty then
set the filename of player "Your player here" to it
end if
end mouseup
Code: Select all
on mouseup
start player "Your player here"
end mouseup
Best from germany
Klaus
Thank you
Thank you for that Klaus, damlimey comes from years of working in the States, always getting called "that damn limey!" From your reply, am I right in thinking that I need a player external to anything in revolution? Is there a recommended engine for that?
Thank again,
G
Thank again,
G