>> I'm looking for the best way to make various "clicking" sounds. Not any
>> old sound, I can make tones I specifically need a click.
[quoted text clipped - 3 lines]
> quick change in amplitude in the waveform, or a suddenly quick change in
> slope of the waveform.
>>> I'm looking for the best way to make various "clicking" sounds. Not any
>>> old sound, I can make tones I specifically need a click.
[quoted text clipped - 6 lines]
> I know this is going to sound rude but how does that constitute the "best
> way"?
I am not a sound engineer, but perhaps a quick change in the amplitude
or slope is the "best" way because it is the "only" way. Again, I'm not sure
what API you have access to, but if you're just setting amplitudes at
various points in time, setting the amplitude is probably "easier" (in that
it doesn't involved calculus), but depending on the values chosen, you may
get "pops" instead of "clicks". I haven't played around with sudden slope
changes much, so I don't know, assuming a uniformly random distribution of
all possible slope changes, whether the probability of getting a "click"
instead of a "pop" (or any other sound) is better than a sudden change in
amplitude.
> I see another reply that reports that J2ME doesn't support tone
> generation and it only supports playing existing sound files... that of
> course comes as a shock to the developers of J2ME I'm certain. I even
> wrote "I can make tones" so that would hardly seem to be the case right?
Perhaps your tone generating API is an vendor specific extension, and
not actually part of the J2ME standard? Again, just speculating here,
because I'm not familiar with that portion of the J2ME spec.
> Where are the real answers posted? :-)
If you can generate tones, and you specifically want to generate this
click sound (and not use existing sound files), it seems like your question
is not nescessarily Java-specific. You just want equations for waveforms
describing clicking sounds, right? So maybe this is the wrong newsgroup to
ask this question in.
- Oliver
Tom Leylan - 13 Jan 2006 01:53 GMT
"Oliver Wong" <owong@castortech.com> wrote...
Oliver let me say "it's a pleasure to converse with you" since you didn't
just assume I meant to be rude :-)
> I am not a sound engineer, but perhaps a quick change in the amplitude
> or slope is the "best" way because it is the "only" way.
You could be right but then the "opportunity for fame and fortune" bell must
ring since in all likelihood lots of people want to beep the speaker without
resorting to prerecorded files of various formats. If it couldn't click it
I'd hardly write an app, I'd write an extension for this :incredible missing
ability" and retire on the profits :-)
> Perhaps your tone generating API is an vendor specific extension, and
> not actually part of the J2ME standard? Again, just speculating here,
> because I'm not familiar with that portion of the J2ME spec.
It seems possible that the tone generator isn't supported on some branded
phones. That would be something I would expect could be tested through
software but hey I can be wrong too. Motorola says it works for them I've
now asked them if Cingular could have messed it up. :-)
>> Where are the real answers posted? :-)
>
[quoted text clipped - 3 lines]
> waveforms describing clicking sounds, right? So maybe this is the wrong
> newsgroup to ask this question in.
Not exactly. It is J2ME specific since the spec says it can generate tones
and I generate tones using J2ME. I'm trying to get a specific "frequency of
tone" (FOT) :-) that wouldn't be a beep but would generally be accepted as a
click sound. My basic working theory is if it can generate (by any means)
voice and music then click has got to be in there somewhere. Nobody
accomplishes voice without first accomplishing click. :-) A 440 cycle per
second "A above middle C" is (as you know) just clicking at a particular
rate of speed.
In any case I'll find it, thanks again for your understanding.
Tom
> Where are the real answers posted? :-)
My answers are based on real-world development experience with the MIDP
(since 1999) and knowledge of the APIs.

Signature
Darryl L. Pierce <mcpierce@gmail.com>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart
Darryl L. Pierce - 12 Jan 2006 17:52 GMT
>> Where are the real answers posted? :-)
>
> My answers are based on real-world development experience with the MIDP
> (since 1999) and knowledge of the APIs.
[Open mouth, insert foot]
Damn. The MMAPI API provides the ToneControl class which generates
tones. Completely forgot about that since I've never used it...

Signature
Darryl L. Pierce <mcpierce@gmail.com>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart
Tom Leylan - 13 Jan 2006 01:55 GMT
No problem Darryl... thanks for your fessing up. The online world isn't as
doomed as it sometimes seems :-)
>>> Where are the real answers posted? :-)
>>
[quoted text clipped - 5 lines]
> Damn. The MMAPI API provides the ToneControl class which generates tones.
> Completely forgot about that since I've never used it...