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
2
votes
1 answer

Mixer module won't initiate

I've been trying to get into pygame, and I want to play a sound. I try to initiate the mixer module like this: import pygame import time pygame.init() pygame.mixer.init() When I run it, it gives this error: Traceback (moce recent call last): …
carbonice
  • 25
  • 2
2
votes
0 answers

When to use Release method?

I'm creating a "mixer" application that controls volumes of audio sessions and endpoints. My question is, does calling Release method on IMMDevice invalidate previously acquired IAudioEndpointVolume reference? In my program it looks something like…
2
votes
3 answers

How to set a slider's volume from the audio mixers's volume in Unity?

I have audioMixerGroup.audioMixer.GetFloat("AllVolume", out tmp); tmp will have volume in db. I vant to convert db (-80, 0) to slider's value (0, 1). in short, I need to do How to set a Mixer's volume to a slider's volume in Unity? just the other…
grouptout
  • 46
  • 1
  • 8
2
votes
1 answer

How to display the last (n) of streams (links) from a user using the Mixer Api

TLTR: From this (https://mixer.com/api/v1/channels/44877492/recordings) api endpoint I receive this value: id: 302772586 (for example) but the value that I need is this one: https://mixer.com/CalypsoVibes?vod=2ArYJv4YfEaJezssnJR15Q Where…
user6818018
2
votes
1 answer

Check If A PyGame Mixer Channel Is Playing A Sound

I am looking for a way to see if a pygame.mixer.Channel is currently playing a sound. So for example do something only after the sound played in a specific channel has finished. Here is my current code to just play the sound: import…
Mihkel
  • 689
  • 7
  • 34
2
votes
2 answers

How to open and close a music file properly for pygame mixer without hanging/freezing Python?

I'm developing a music player in Python 2.7 and I have a problem I can not solve. Sometimes it's necessary to unmount the SD card I'm playing from. Since pygame still keeps the last played file open after pygame.mixer.stop() and…
Andralin
  • 21
  • 3
2
votes
1 answer

Skipping sound track (pygame.mixer.music)

I am making a snake game with pygame and I want to know something about pygame.mixer.music(). Code: snakebodypos.insert(0, list(snakepos)) if snakepos[0] == foodpos[0] and snakepos[1] == foodpos[1]: pygame.mixer.music.stop() …
waleyeldeen
  • 41
  • 1
  • 7
2
votes
0 answers

play multiple wav files simultaneously using alsa c api

I want to implement a specific functionality to my project which includes continuously playing a sample-default.wav in the background and play a sample-specific.wav file when some specific condition matches. What I really want is that, when…
iamNitin16
  • 56
  • 4
2
votes
1 answer

Volume Mixer — Get applications name, and their process ID

Is there any way to get applications name and their process ID from Volume Mixer? And if it's not possible to get their Process ID, is it possible to manipulate their volume level?
Kiran
  • 33
  • 4
2
votes
2 answers

Mp3 audio sequencer and mixer in C#

I want to create a very simple audio sequencer in C# that would work mostly with MP3 files or optionally any other compressed format, like Ogg or FLAC. Not just WAV. User arranges audio files into a grid with multiple channels/tracks (i.e. multiple…
Zdeněk Gromnica
  • 854
  • 2
  • 14
  • 31
2
votes
1 answer

iPhone SDK Audio Mixer

What I need to do is be able to mix 4 channels of audio (not from a live source, just prerecorded audio files in the app bundle), and change their volumes individually, in real time, preferably with MP3s. What's the best/correct road for me to…
GoinAum
  • 801
  • 6
  • 14
2
votes
0 answers

pygame music plays but sound objects don't

i have been trying to use pyGame to play sounds whilst at the same time looping music in the background - i've tested it using Horts Jens' demo code import pygame import os pygame.mixer.pre_init(44100, -16, 2, 2048) # setup mixer to avoid sound…
scuffster
  • 51
  • 1
2
votes
2 answers

get current volume output in java

How can I get the current volume output using Java? I've searched and found lots of examples that get only the volume setting. For example on windows 7, I can set the volume to 100% but when music plays, there'll be a green bar in volume mixer…
Dan
  • 21
  • 2
2
votes
1 answer

Working with audio in Java

I went over Java's tutorial on sounds but somehow it is way too complex for a beginner. It is here My aim is this: Detect all the audio input and output devices let the user select a audio input device capture what the user says output it to…
An SO User
  • 24,612
  • 35
  • 133
  • 221
2
votes
0 answers

How do I use the synchronize function from mixer

I'm creating a program which mathematically generates byte arrays that are interpreted into sound, and to make them all play at the same rate and begin on the same sample, I need to use the Mixer interface from java.sound.sampled, and more…
Anaun Emous
  • 96
  • 1
  • 5