mix

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: GPL-3.0, GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package mix is used to combine two distinct sound sources into either a mono or stereo signal.

The mono mix is created according to the information in the document, "TIA Sounding Off In The Digital Domain", by Chris Brenner.

https://atariage.com/forums/topic/249865-tia-sounding-off-in-the-digital-domain/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mono

func Mono(channel0 uint8, channel1 uint8) int16

Mono returns a single volume value.

func Stereo

func Stereo(channel0 uint8, channel1 uint8, separation int) (int16, int16)

Stereo return a pair of volume values.

A sensible range for the Separation value is 0 to 3. A value of 0 is the more-or-less the same as Mono().

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL