just a question:
on qb64 1.15 linux i have got a little routine as below
x=0
do
play a$(x),b$(x)
x=x+1
if x>719 then x=0
while inkey$="" loop
end
when i press a key it exits like it should but the problem with this it continues to play the two voice music on my pc speaker
i want it to imediatly stop play though. it buffers the music but i dont want it play when i press the key as this is my title screen music.
i want it to play two notes then check key. if key pressed then exit loop. stop playing else loop play next two notes
_delay does not fix
thank you for any advice.
@bplus
When I play your code, after the first verse and going into the chorus, it gets too fast and un-intelligible.
Does the music commands allow for different note durations? (Such as quarter, half, whole notes? How about metrics like 4/4, 3/4 or 6/8?)