08-31-2012, 03:50 AM
09-16-2012, 07:24 AM
anyone ???
Dave
09-16-2012, 10:36 AM
Hi, try 2 seperate delays.
Regards,
Dave
Regards,
Dave
09-18-2012, 12:29 AM
Hi Dave, thank you for answer
i tried for a long time use this:
DSAudioPlayer1 | --> DelayLine1 --> DSAudioOut1
.....................|--> DelayLine2 --> DSAudioOut2
DSAudioOut1.balance= -10000 and DSAudioOut2.balance= 10000
but didn´t work, the channels play out of synchronism
so i tried a new configuration and works fine
DSAudioPlayer1 --> ChannelSplitter1| --> DelayLine1 --> | ChannelMerger1| --> DSAudioOut1
.................................................|--> DelayLine2 --> |
however i have another problem, the delay of DelayLine componente don´t allow decimal value (it´s long type)
i need to work with smaller values than milisecond, ideally 1/100 milisecond to set the different distances of listener to speakers in centimeters
it´s possible?
thanks
i tried for a long time use this:
DSAudioPlayer1 | --> DelayLine1 --> DSAudioOut1
.....................|--> DelayLine2 --> DSAudioOut2
DSAudioOut1.balance= -10000 and DSAudioOut2.balance= 10000
but didn´t work, the channels play out of synchronism
so i tried a new configuration and works fine
DSAudioPlayer1 --> ChannelSplitter1| --> DelayLine1 --> | ChannelMerger1| --> DSAudioOut1
.................................................|--> DelayLine2 --> |
however i have another problem, the delay of DelayLine componente don´t allow decimal value (it´s long type)
i need to work with smaller values than milisecond, ideally 1/100 milisecond to set the different distances of listener to speakers in centimeters
it´s possible?
thanks
Dave
09-18-2012, 01:05 AM
Indeed it's an integer value. Depending on your samplerate you could try setting the DelayValue->Mode to dmSamples and use a very high samplerate and small buffersize but...
in your case, because of the very short delay, you'd probably be better off using an ALGenericFilter and write the delay yourself.
Regards,
Dave
in your case, because of the very short delay, you'd probably be better off using an ALGenericFilter and write the delay yourself.
Regards,
Dave
09-18-2012, 05:04 AM
i'm a beginner programmer
any example of delay code for this generic filter?
again very very thank you
any example of delay code for this generic filter?
again very very thank you
Dave
09-18-2012, 05:53 AM
Sorry no samplecode and i was just throwing ideas but you can have a look at various demos that use GenericFilters, understanding a VLGenericFilter might help you on your way; they are very similar in operation.
09-18-2012, 09:40 AM
ok, thank you anyway