Questions tagged [mixer]

Anything related to audio mixers, i.e. hardware or software (virtual) devices used to mix the signals of independent audio sources together in order to produce a single audio signal out of them. Appropriate for questions about the software audio mixing applications commonly found on computers and smartphones.

Anything related to audio mixers, i.e. hardware or software (virtual) devices used to mix the signals of independent audio sources together in order to produce a single audio signal out of them. Appropriate for questions about the software audio mixing applications commonly found on computers and smartphones.

See related Wikipedia article.

197 questions
1
vote
1 answer

Pause function in pygame mixer is not working

I am currently making a GUI with Tkinter that plays music. The program is able to correctly play the songs, and I am trying to implement a pause button. This is the code I have, does anyone know why this might not be working? I know the button is…
Devon Lai
  • 23
  • 1
  • 4
1
vote
0 answers

How to make pygame play next sound and enable to stop?

I'm working on a code that is supposed to be a generator of random noises and has 3 main functions - playing noises infinitely, stop and exit. The problem begins when it comes to play next sound. I tried to use pygame.mixer.music.queue() , but it…
xysiek
  • 11
  • 1
1
vote
1 answer

pygame.mixer.music plays audio fine but pygame.mixer.Sound gives error 'Unable to open file'

I have a simple code in which i want to play an audio file using pygame's mixer class. When I do: import pygame dir_path = os.path.dirname(os.path.realpath(__file__)) path = os.path.join(dir_path, "mp3s",…
muliku
  • 416
  • 3
  • 17
1
vote
1 answer

Pygame - can I make music have an introduction and then a loop point?

I'm currently working on a game in Pygame, and I've been trying to think of a way to have a music track that loops at a point that isn't the beginning of the track. So essentially, it plays an introduction, then moves onto another section that…
MrLog
  • 45
  • 1
  • 6
1
vote
0 answers

form method clean_field not working properly during testing

I have a little project where users can make posts. Posts are not published by default (e.g. status is 'pre-moderation'), but if a user is in a specific group, their post status will be automatically changed to 'published' in the form below. This…
Johnny Doe
  • 11
  • 2
1
vote
0 answers

Windows: How to acquire the list of all applications currently making sounds?

The Windows volume mixer can show a list of applications that make sounds and control their volumes separately. What APIs must I use to achieve the same feature?
kakyo
  • 10,460
  • 14
  • 76
  • 140
1
vote
2 answers

Sound effects do not play for a few seconds after being pressed for 4 consecutive times?

Pygame sound effects do not play for a few seconds if the corresponding buttons (to play the sound effect) is pressed for four consecutive times. I'm currently trying to experiment with different keys of the piano. I've tried removing the pygame…
Tay
  • 27
  • 2
1
vote
1 answer

Pygame mixer not looping

from pygame import mixer mixer.init() mixer.music.load("music/Recording.mp3") mixer.music.play(100) is what I'm using right at the start of game code (not in a loop). i have looked it up and cant find why it wont work
Glitchd
  • 361
  • 2
  • 12
1
vote
1 answer

How to merge input and output audio to send another conferencer

I have changed my question message... I have two streams with audio in Java. What I want is to combine these two audios into one OutputStream. I've being searching and it seems that if you have both streams with the same audio format, and using PCM,…
poly82
  • 39
  • 7
1
vote
2 answers

Unity - Background Music through scenes with UI slider

I created a game in Unity with 4 different scenes (start, login, options, game itself). With an empty game object (in the start scene) and the DontDestroyOnLoad function I have managed to have the music played throughout all scenes without…
vitoscal
  • 41
  • 7
1
vote
0 answers

How to get two media stream from one File (for Custom Mixer)

There is one file with two video stream. I want to mix these two stream to make one output stream.(using media session) I think we can write the topology as shown…
pevrizz
  • 31
  • 3
1
vote
4 answers

Using Istio to block incoming connections from ANY to a service

Trying to find the best way for blocking any connection from the internet to a k8s service using Istio. What would be the best choice from Istio's policies? Mixer - denials or lists Pilot - route-rules - such as injecting abort fault (400) OR…
Zvika
  • 83
  • 8
1
vote
1 answer

python pygame mixer cant open wav file error on mac and pygame is not defined

I'm using mixer to open file but I get a error. I'm using mac os x.this is my code: mixer.init() mixer.pre_init(44100, 16, 2, 4096) mixer.music.load('Warning.wav') mixer.music.play() and I get error: Couldn't open 'Warning.wav'. And also when I…
민성우
  • 19
  • 2
1
vote
1 answer

Pygame Playlist without while True loop

Here is a short snippet from my code: import pygame class Player(): playlist= ["track1.mp3","track2.mp3",...] def __init__(self): pygame.init() pygame.mixer.music.load(self.playlist[0]) pygame.mixer.music.play() def…
Veit Starost
  • 11
  • 1
  • 4
1
vote
0 answers

C++ mixerGetLineInfo returns MMSYSERR_ERROR (Windows 8)

I'm trying to run this code (VS2015, MFC, Windows 8): int _nNumMixers = mixerGetNumDevs(); //returns 3 HMIXER hMixer = NULL; //NOERROR if (mixerOpen(&hMixer, 0, 0, NULL, MIXER_OBJECTF_MIXER) != MMSYSERR_NOERROR) { return…
Nika_Rika
  • 613
  • 2
  • 6
  • 29