Here's the code:
if (Bars.Period.Id == PeriodType.Volume)
{
remainingVol = (int)(Bars.Period.Value - Volume[0]);
if (remainingVol <= amountLeft)
{
PlaySound("ding.wav");
Print("ding " + remainingVol + " " + amountLeft);
}
}
Again, the output window show the "ding" being printed but I don't hear the sound and sound is working on my computer.
thanks,
Mike
Comment