Skip to content

Support line-in #14

Description

@rj200

If you try to DJ from an external device via an analogue line-in input device instead of a microphone, the audio sounds terrible. The reason is that browsers do lots of processing on the audio to improve the clarity of voice from builtin laptop/phone microphones. This processing destroys music.

The solution is to disable processing via constrains when you open the audio device:
constraints = {
audio: {
echoCancellation: false,
noiseSuppression: false,
autoGainControl: false,
}
};

Obviously you don't want to turn all these off if actually using a microphone, so you'd need an option in the GUI. Ideally, one could have a microphone input and line-in input and you could use both at once. I'm not sure if browsers support two inputs at a time, if not then an option to configure the single input to be microphone or line-in.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions