Posts by thedx8

    I figured out how to get this done. These were helpful:
    https://www.tinkerboy.xyz/raspberry-pi-d…o-sound-output/

    Bromor
    August 18, 2018 at 10:29 AM

    1) added to the bottom of /flash/config.txt, and rebooted.

    dtparam=audio=on

    2) was able to see the card:

    # aplay -l

    **** List of PLAYBACK Hardware Devices ****

    card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]

    3) created the ALSA config in /storage/.config/asound.conf:

    pcm.monocard{

    slave.pcm "hw:0"

    slave.channels 2

    type route

    ttable {

    # Copy both input channels to output channel 0 (Left).

    0.0 1

    1.0 1

    # Send nothing to output channel 1 (Right).

    0.1 0

    1.1 0

    }

    }

    pcm.!default monocard

    4) created /storage/.config/autostart.sh:

    pactl load-module module-alsa-sink device="default"

    I have a Pi3 connected to a CRT TV via camcorder cable - 3.5mm to composite video and audio. Everything works. Does anyone know how to configure the audio to downmix everything to a single channel? My TV only has one speaker.

    LibreELEC (official): 9.2.8 (RPi2.arm)

    Hardware : BCM2835

    Revision : a22082

    Serial : 00000000f6317fe1

    Model : Raspberry Pi 3 Model B Rev 1.2


    pacmd list-cards

    0 card(s) available.

    pacmd list-sinks

    1 sink(s) available.

    * index: 0

    name: <auto_null>

    driver: <module-null-sink.c>

    flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY

    state: SUSPENDED

    suspend cause: IDLE

    priority: 1000

    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB

    balance 0.00

    base volume: 65536 / 100% / 0.00 dB

    volume steps: 65537

    muted: no

    current latency: 0.00 ms

    max request: 344 KiB

    max rewind: 344 KiB

    monitor source: 0

    sample spec: s16le 2ch 44100Hz

    channel map: front-left,front-right

    Stereo

    used by: 0

    linked by: 0

    configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms

    module: 6

    properties:

    device.description = "Dummy Output"

    device.class = "abstract"

    device.icon_name = "audio-card"