You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to run this simple code, positioning audio to the left but it still sounds the same. What am i doing wrong?I expected to hear the audio in my right ear but it sounds normal.
from openal import *
import time
# open our wave file
source = oalOpen(f)
source.set_position((0,0,0))
x=oalGetListener()
x.set_position=((-5,0,0))
# and start playback
source.play()
check if the file is still playing
while source.get_state() == AL_PLAYING:
# wait until the file is done playing
time.sleep(1)
oalQuit()
The text was updated successfully, but these errors were encountered:
A possible source of the problem might be the audio file you are using.
Positional audio playback only works with files that only have one audio channel (mono).
Im trying to run this simple code, positioning audio to the left but it still sounds the same. What am i doing wrong?I expected to hear the audio in my right ear but it sounds normal.
The text was updated successfully, but these errors were encountered: