Taudioplayer problem?

Please discuss general Delphi programming topics here.

Taudioplayer problem?

Postby marcosd5 » August 21st, 2011, 2:40 am

Hi,

I´m trying to use TAudioPlayer with two buttons (songs/sounds).
With ASync = true, clicking to the second button(song) again, it waits finish to start again.
I´d like to play sounds at same time, n times without wait finish and the sound not truncated.
I´m using delphi5 with xp sp3.

May you help me? :?:
marcosd5
Member
Member
 
Posts: 1
Joined: August 21st, 2011, 2:25 am

Re: Taudioplayer problem?

Postby Kambiz » August 23rd, 2011, 7:08 pm

Some Audio Cards does cannot output more than one audio at time. This could be the reason of your problem.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Rango de Valores para Pitch y PlayBackRate +Taudioplayer?

Postby genyus00 » September 27th, 2011, 2:44 pm

Hola Kambis, desde que salio la primera version de Taudioplayer siempre lo he tenido instalado en mis versiones delphi, desde la 7 hasta la XE, el dia de hoy buscando, encontre que la version fue actualizada :D .. mi pregunta es referente.. a que rango de valores acepta el componente TaudioPlayer en sus propiedades. Pitch y PlayBackRate. de antemano gracias tu ayuda y colaboracion.
genyus00
Member
Member
 
Posts: 4
Joined: June 30th, 2011, 5:06 am

Re: Taudioplayer problem?

Postby Kambiz » September 28th, 2011, 7:22 am

Hello,

Value for both Pitch and PlayBackRate represents a multiplier. It can be any positive real value.
For example, a Pitch value of 1.0 means no pitch change, and a value of 1.5 specifies a multiplier of 1.5.

The hardware must support Pitch and PlayBackRate changes, otherwise changing the property has no effect.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron