Working with one soundcard


Introduction

BpmDj is originally made to be used with an external mixing desk. This allows its use in professional environments with external effect boxes and all kinds of other fancy hardware. Until version 2.5 this feature also formed also the achilles heel of the program. Non professional users were unable to use it on single soundcard laptops, or had difficulties in using it with two soundcards without an external mixing desk. In order to approach this problem from version 2.6 on, the program also contains an internal mixing desk. From version 3.6 on however I removed this feature again since it was too difficult to maintain and not spectacular useful. If you want to use the program with a single soundcard Pierre Marc Dumuid <pierre.dumuid@adelaide.edu.au> suggests the following:
Attached is a .asoundrc file that create's two virtual alsa sinks.. one for the left channel and the other for the right. (i.e. I perform: Program->Preferences->Player0:: Configure ->[Setup Tab]->[Alsa Tab]->ALSA device to use: [leftc] Program->Preferences->Player0:: Configure ->[Setup Tab]->[Alsa Tab]->ALSA device to use: [rightc] and this seems to do the trick nicely..) I can then use kmix, split channels on the wav device, and control left & right independently..

Given that you dropped bpmmix, (From the Changelog :: removed bpmmix, which was a nice idea but in the end not the goal of bpmdj) maybe adding this .asoundrc as an example to the manual to help people work around this problem...

Pierre

.asoundrc

pcm.!default {
  type plug
  slave.pcm "swmixer"
}

pcm.swmixer {
  type dmix
  ipc_key 1234
  slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
  }
}

pcm.leftc {
  type route
  slave.pcm swmixer
  slave.channels 2
  ttable.0.0 0.5
  ttable.1.0 0.5
}

pcm.rightc {
  type route
  slave.pcm swmixer
  slave.channels 2
  ttable.0.1 0.5
  ttable.1.1 0.5
}


Copyright (c) Werner Van Belle 2001-2007
e-mail: werner@yellowcouch.org
http://bpmdj.yellowcouch.org/