Not sure if tyou mean you have already got the metronome sounds on your computer.aucun26 wrote:I metronome sounds and I'd like to insert them in the pages.
if you have them in mp3 format, upload them to nyx the same as you would with an image file.
Then go to script and insert:
hidden:sound('metronome.mp3')
rename 'metronome' for whatever your sound file is called.
so if the script for your page looks like this originally:
Code: Select all
start#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">TEXT</FONT></P></TEXTFORMAT>',
pic("image.jpg"),
go(page2#)
);Code: Select all
start#page(
'<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">TEXT</FONT></P></TEXTFORMAT>',
pic("image.jpg"),
go(page2#),
hidden:sound('metronome.mp3')
);Also note (sorry if this is obvious to you, but it took me a while to work out)
in the script:
Code: Select all
go(page2#),<<<ADDING THIS COMMA IS VERY IMPORTANT!
hidden:sound('metronome.mp3')
);



