AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

suoni

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Blood
Guest





PostPosted: Fri Apr 23, 2004 7:52 pm    Post subject: suoni Reply with quote



Ho fatto un programmino che simula un metronomo (per chi non lo sapesse è
un'aggeggio che serve per tenere un certo tempo.Viene usato dai musicisti).
Il mio problema è come fare a far in modo che venga suonato il tic-tac del
metronomo in base al tempo che scelgo.
Se scelgo per esempio velocità 80, il mio suono dovrà essere continuativo
alla velocità di 80, ecc....spero di essere stato chiaro.

Blood


Back to top
Luciano
Guest





PostPosted: Mon Apr 26, 2004 12:02 am    Post subject: Re: suoni Reply with quote




Quote:
Ho fatto un programmino che simula un metronomo (per chi non lo sapesse è
un'aggeggio che serve per tenere un certo tempo.Viene usato dai
musicisti).
Il mio problema è come fare a far in modo che venga suonato il tic-tac del
metronomo in base al tempo che scelgo.
Se scelgo per esempio velocità 80, il mio suono dovrà essere continuativo
alla velocità di 80, ecc....spero di essere stato chiaro.

Penso tu abbia usato Timer.
vedi l'api java.sound (contiene anche alcune demo) ti basta la gestione
dell'evento e nel metodo
gli metti un bel wave "tic" e magari fai un altro wave per l'accento e gli
metti un bel "taaaac" ...




Back to top
Blood
Guest





PostPosted: Mon Apr 26, 2004 12:29 pm    Post subject: Re: suoni Reply with quote



Quote:
Penso tu abbia usato Timer.
Veramente no!Smile

Ho iniziato a guardarla oggi ma non capisco bene il funzionamento.....anche
guardando il Tutorial..

Quote:
vedi l'api java.sound (contiene anche alcune demo) ti basta la gestione
dell'evento e nel metodo
gli metti un bel wave "tic" e magari fai un altro wave per l'accento e
gli
metti un bel "taaaac" ...
Proverò a vedere qualcosa.

Grazie.

Blood



Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.