Questions tagged [audio-panning]

Audio panning is used in an audio mixer to reduce or reverse the stereo width of a stereo signal. For instance, the left and right channels of a stereo source can be panned 'straight up', that is sent equally to both the left output and the right output of the mixer, creating a dual mono signal. Please post your questions on https://superuser.com or https://sound.stackexchange.com for non-programmatic use.

12 questions
4
votes
2 answers

SoundTransform panning not working on a rtmp stream with ActionScript 3.0

I'm having a strange problem, I'm using the SoundTransform function to play the sound of an RTMP stream from red5 server only on the left speaker and to lower it's volume with stream.soundTransform = new SoundTransform (0.5,-1.0); on Actionscript…
4
votes
3 answers

Gradually Change Web Audio API Panner

I'm trying to use a simple HTML range input to control the panning of my Web Audio API audio but I can only get 3 "positions" for my audio output: -Center -100% to the left -100% to the right. I would like to have something in between does…
Oliver Drummond
  • 680
  • 1
  • 6
  • 19
3
votes
1 answer

How to adjust audio panning with RtAudio

I use Rtaudio library and I would like to implement an audio program where I can control the panning (e.g. shifting the sound from the left channel to the right channel). In my specific case, I use a duplex mode (you can find an example here: duplex…
3
votes
1 answer

OpenAL 3d Positioning and Panning Center

Using OpenAL, one can set the distance model: alDistanceModel(AL_LINEAR_DISTANCE_CLAMPED); And the position of a sound effect: float globalRefDistance = 125.0f; float globalMaxDistance = 1250.0f; ALfloat alPos[] = {pos.x, pos.y, 0.0f};…
Nathanael Weiss
  • 737
  • 1
  • 10
  • 23
1
vote
3 answers

DSP / Manual mixing and pan law

I am mixing four buffers and applying panning. However, when I trigger a change of pan I hear a clip. Can any body see what is potentially wrong with the following code:- for (int i = 0 ; i < numFrames; i++) { //Convert buffer to float float…
Carl
  • 209
  • 1
  • 3
  • 13
1
vote
1 answer

Web audio api stereo panner for multiple audio

I have added the feature to control panning of sounds but I cannot get all sound into a single buffer channel. Now I found a project on github https://mdn.github.io/webaudio-examples/stereo-panner-node/ . The main problem int this github project is…
1
vote
1 answer

Panning Law amplitude interpolation with Octave

I am working on a project that uses the tangent law to localize a phantom source in the typical stereo setup (two loudspeakers at 60º angle). Since the tangent law shows a relation between the angle of the phantom image and the gain of the…
anon
1
vote
1 answer

OpenAL 2d panning C++

I'm trying to figure out how to get openAL to pan in 2D (by manipulating the 3D positioning). Ideally I want to achieve panning such that the Left or Right channel can be fully engaged with the other channel completely silent. It seems that Open AL…
1
vote
2 answers

Looking for a way to control sound volume and panning

I've been creating a Java project where I'd like to have multiple sounds playing at once, and how to control each sound's volume and panning. I've Googled around and read about 3 different ways; the thing is, I can't seem to find any tutorials or…
user2403876
  • 239
  • 2
  • 4
  • 16
0
votes
1 answer

WebAudio panning not working with WebRTC

I'm trying to make sound panning work with audio got through WebRTC, but with the code below it's not outputting any sound at all. But when I do the same thing with my local audio MediaStream it works. What could be the problem? var AudioContext =…
gerhard
  • 427
  • 1
  • 4
  • 12
0
votes
1 answer

Web Audio API Panner Node - how do I cut of sound on 100% pan?

I am looking at the web audio API spec and I use the panner node. It uses three values to create a 3D spectrum for sound. When I pan 100% Left, I can still hear some sound on the right side(and vice-versa. Can anyone help with settings so that…
user3350887
  • 161
  • 2
  • 11
0
votes
1 answer

iPhone SDK: Panning audio at different levels

I am trying to control the channel (left/right) and its volume from which the audio file is played. It will be great if someone can explain how this can be done or point me to some document or tutorial which explains this.
Mithin
  • 961
  • 1
  • 11
  • 37