General discussion

Here you can discuss everything related to MOC which doesn't fit other subforum.

Problems with configuring volume control...

Hello.
I have some problems with configuring volume control in MOC 2.4.1 (I'am using Debian 4, stable and ALSA driver).
There is Creative Audigy 4 soundcard. MOC shows "PCM 0%" and I can't to control volume. Which strings I should write in config file? I have try something, but nothings happen...

P.S. Execuse me please for my poor english. I'am a russian student.

No volume control as user

When I run moc as root, I am able to control the volume with < and >. When I run moc as a user I can hear the sound, but I am not able to control the volume. (User is in the audio group and alsamixer _does_ work for the user). Is there a solution to this?

Here's a link to someone in the ubuntu forums who seems to be having the same problem, -http://ubuntuforums.org/showthread.php?t=802069

I am using arch linux and moc-2.4.3-3.

./configure issue

could it please, please print errors if pkgconfig is not available?
it took me half an hour to find out what the problem was, as i didn't know anything of pkgconfig. at the moment, i'm trying to figure out why musepack won't be listed in the "decoder plugins" line printed out at the end of ./configure, although i have libmpcdec installed and configure.log seems to be satisfied about presence and usability of it... and obviously musepack support is activated anyway.

all in all, configure should be a bit more communicative ;)

forum registration

maybe you should either make the captcha visible for people who have cookies deactivated or print a note that they should activate cookies... would have been quite useful :-)

Feature request: reverse playing

Hi, dear developers, I please a new feature of Moc: the reverse playing possibility! (The AlsaPlayer can this).

Thanks!

Simple but useful feature request

I'm still loving moc, so thanks first of all.

I recently got a USB headset (which is a separate soundcard, which is cool). The problem with this is that udev assigns numbers to the onboard & usb cards randomly, so referring to devices as hw:0 or hw:1 is no longer ideal.

According to the ALSA wiki, the best way to solve this is to allow reference of soundcards by the device name, e.g. VT82xx or Headset - see http://alsa.opensrc.org/index.php/MultipleCards

It would be great if you could add this feature, it would make this the perfect player once more.

Nick

Crossfade between tracks

Hi,

I'm looking for a CLI player that can cross fade between two tracks. Is this possible with MOC? The docs, change logs and --help appear to contradict each other on this.

I know the -x switch toggles the mixer channel, but I haven't been able to figure out how to get MOC to mix multiple inputs (or if it can). Happy to dust off my c skills, if it's relatively trivial, but otherwise I may as well use mpg123 as that can run multiple instances and I should be able to script a fade between the them.

thx

asp

Channel number conversion

Hi Daper,

I would like to ask, what does it mean this code convering mono->stereo.


/* Double the channels from */
static char *mono_to_stereo (const char *mono, const size_t size,
const long format)
{
int Bps = sfmt_Bps (format);
size_t i;
char *stereo;

stereo = (char *)xmalloc (size * 2);

for (i = 0; i < size; i += Bps) {
memcpy (stereo + (i * 2), mono + i, Bps);
memcpy (stereo + (i * 2 + Bps), mono + i, Bps);
}
return stereo;
}

I'm playing with pulseaudio and made this function duplicating stereo to 4 channel sound. But it seems very silly to me. Why is Bps added to second channel in mono_to_stereo? How would you construct general stereo to n-channels function? Do I have to split the stereo into separate channels and duplicate them?

Like stereo-> ch1,ch2
Quad-> f_left ch1, r_left ch1
Quad-> f_right ch2, r_right ch2


/* Quad the channels from */
static char *stereo_to_quad (const char *stereo, const size_t size,
const long format)
{
int Bps = sfmt_Bps (format);
size_t i;
char *quad;

quad = (char *)xmalloc (size * 2);

for (i = 0; i < size; i += Bps) {
memcpy (quad + (i * 2), stereo + i, Bps);
memcpy (quad + (i * 2 + Bps), stereo + i, Bps);
}
return quad;
}

Thanks

Pages

Subscribe to RSS - General discussion