try:
FOR A = 0 to 3
SOUND Speaker,[Vsnd(A),10]
NEXT
Tried this one already.
Doesn't work either.
This one doesn't work aswel:Code:FOR A = 0 to 3 SOUND Speaker,[Vsnd.0(A),100] NEXT
Last edited by flotulopex; - 25th March 2007 at 14:40.
Roger
Hi, Flotul
What about Vsnd[A] instead ( Vsnd(A) or Vsnd.A ) ???
Did you also check the tones are compatible with your speaker bandwidth ???
just a thought ... for High audio frequencies.
Alain
Last edited by Acetronics2; - 25th March 2007 at 15:44.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
mat janssen,
Don't worry: I copied/pasted your example "as it is" and it didn't work. I then posted another try I made. Sorry for the confusion.
I tried with both brakets or parenthesis; never works....
Yes, the sounds can be made correctly when not in this kind of referencing loop.
Still searching.
Roger
Tried Brackets Here also ???
Vsnd.0 = 121
Vsnd.1 = 120
Vsnd.2 = 119
Vsnd.3 = 116
Vsnd.0 is bit 0 of Byte Vsnd ( which is also different from Vsnd[A] !!! ) ... can't work properly here !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Acetronics,
I'm not sure to understand your remark.
I tried this:
SOUND Speaker,[Vsnd(A),10]
and
SOUND Speaker,[Vsnd.0(A),10]
and
SOUND Speaker,(Vsnd[A],10)
and
SOUND Speaker,(Vsnd.0[A],10)
In fact, I get a sound but it is a much lower frequency than compared to when I play the sound like SOUND Speaker,[121,10].
Roger
Bookmarks