PDA

View Full Version : looping and mixing sound in an array ??


chris_angell
10-25-2002, 12:11 PM
Hello morning, well it is for me probably evening for you...

well this thread is me thinknig how I can mix and match drum grooves, bring beats in over other beats in time..


one of the problems I am having is to set things in time ??? can anyone offer a little help...

I have been looking around the web, but with no luck, sadly

I don't know if this will help


<SCRIPT LANGUAGE="JavaScript">
<!-- Beginning of JavaScript -


function playit()
{document.tester.play(false)
}
function stopit()
{document.tester.stop()
}

function pauseit()
{document.tester.pause()
}


function volumeit()
{
curvol=document.volform.level.value
Icurvol=parseInt(curvol)
document.tester.setvol(Icurvol)

}

function downvol()
{
nowvol=document.tester.GetVolume()
nowvol=nowvol-10
if(nowvol<0)
{
nowvol=0
}
document.tester.setvol(nowvol)
document.imagemapform.levelindicator.value=nowvol
}

function upvol()
{
nowvol=document.tester.GetVolume()
nowvol=nowvol+10
if(nowvol>100)
{
nowvol=100
}
document.tester.setvol(nowvol)
document.imagemapform.levelindicator.value=nowvol
}

// - End of JavaScript - -->
</SCRIPT>

<EMBED
NAME="tester" SRC="Mellow_H-Marco_Wi-3305.mid" MASTERSOUND HIDDEN=TRUE autostart=false
volume=100% width="128" height="128">


<a HREF="javascript:playit()">play</a>
<a HREF="javascript:stopit()">stop</a>
<a HREF="javascript:upvol()" onMouseOver="upvol()">up</a>
<a HREF="javascript:downvol()" onMouseOver="downvol()">down</a>

beetle
10-25-2002, 03:11 PM
The only two facilities that you have to control time (that I know of) are the setTimeout() and date() functions in javascript, and HTML+TIME (http://msdn.microsoft.com/workshop/author/behaviors/time.asp?frame=true), which looks interesting, but something I've never used.

Flash is the usual publication tool for such a task.