How to set independent delays L/R channels
|
08-31-2012, 03:50 AM
(This post was last modified: 09-01-2012 03:35 AM by delima.)
Post: #1
|
|||
|
|||
How to set independent delays L/R channels
Hi, first sorry my bad english
in my program, i must to set different delays for left and right channels. how can I do this? thanks |
|||
09-16-2012, 07:24 AM
Post: #2
|
|||
|
|||
RE: How to set independent delays L/R channels
anyone ???
|
|||
09-16-2012, 10:36 AM
Post: #3
|
|||
|
|||
RE: How to set independent delays L/R channels
Hi, try 2 seperate delays.
Regards, Dave |
|||
09-18-2012, 12:29 AM
(This post was last modified: 09-18-2012 12:31 AM by delima.)
Post: #4
|
|||
|
|||
RE: How to set independent delays L/R channels
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 |
|||
09-18-2012, 01:05 AM
Post: #5
|
|||
|
|||
RE: How to set independent delays L/R channels
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 |
|||
09-18-2012, 05:04 AM
Post: #6
|
|||
|
|||
RE: How to set independent delays L/R channels
i'm a beginner programmer
any example of delay code for this generic filter? again very very thank you |
|||
09-18-2012, 05:53 AM
Post: #7
|
|||
|
|||
RE: How to set independent delays L/R channels
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
Post: #8
|
|||
|
|||
RE: How to set independent delays L/R channels
ok, thank you anyway
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)