Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macworld: Java is alive and well on the Mac



Well then Mr Michael Hopkins. How did u pull it off. I have tried:

int freqValue = 96;
int[] freq = new int [numbands];
freq[0] = 250;

for (int k = 1; k < numbands; k++) {
freq[k] = freq[k-1] + 500;
}

for (int j = 0; j < numbands; j++) {
eqb.setFrequency (j, freq[j]);
}

The above is from the Demos in the SDK. And it just don9t look write to me.
Things just max out to soon (to 255).

for(int x = 0;x < numbands; x++){
int frequency = (int)Math.pow(1.2d, (double)(freqValue + 250) / 10.0);
//int frequency = (int)Math.pow(2, 6+(x/8) ); another way
freqValue = freqValue + 2;
eqb.setFrequency(x, frequency);
}

The above here is more of a music way of doing things. But this just maxs to
soon also. So I guessed it didn9t work.. So I post a bug report like a good
boy and wait.

:) then its working cool at macworld. How come. I is running the seed build
and all that.. Come on geeza what's the trick?

aNt


>> Oh well who demoed it at macworld? I can try giving them some hassle.
>> Only
>> been after this info for months :) oh well.... I thought it was bust.
>
> "After surveying the audience, Michael Hopkins, an Apple QuickTime for
> Java (QTJ) engineer, realized he had to provide more of an introduction
> to QTJ than he had planned."
>
> Michael Hopkins, your fifteen minutes begins now... ;-)


References: 
 >Re: Macworld: Java is alive and well on the Mac (From: dean perry <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.