I have a range of mono audio samples and have worked out how to play them at specific time offsets but would like to give some indication of 'where the sound is coming from' I have the x and y centers of each sound source in the frame, is it sufficient to use a slight bias in the pan filter? Or is some element of delay in one channel needed too?

My best guess is passing each of the samples through this:


where {panpos} is a value -1 = 1 representing the x position.

and them later amerge over them all.

1 Answer 1


This is something that we can't really give an absolute answer because we don't have your inputs and what is "best" will be fairly subjective.

You could just try using the pan filter with a bigger gain factor for one side. Something like:


Depending on your inputs adding adelay may make it sound less flat:


You can use stereotools filter if you prefer as it has many options (I completely forgot about this filter...can't keep up).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.