[futurebasic] FN FIXDIV

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1998 : Group Archive : Group : All Groups

From: Bernie Draht <draht@...>
Date: Tue, 20 Oct 1998 16:18:45 -0700
Hello all,
    I've been having trouble with converting several sound roughtines from C to
FB. I've looked far and wide for the purpose of "FIXDIV", but i have no idea what
it is. The reason i need it is because i'm writing a short program that changes
the rate of sound. Sort of a party hack. Anyway, if anyone could tell me how
"freqcmd" works, i'd also be very happy.
C
newrate(long integer) = fixdiv(oldrate,$00080000)
I've been pretty bent on translating this. Thanx to anyone who bothers to take the
time to answer/read this
    eric draht