vicquick

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Leet linux preset #2027
    vicquick
    Participant

    Hi Johan,

    thanks for your reply! Indeed, the GPIO error came from the soundcard I have installed as a pi-hat, changed the code, wiring and all good now.

    What you mention about GPIO buttons for volume and menu navigation sounds really interesting! Any info/details I can find on that? Controlling the volume by buttons would be awesome

    cheers

    in reply to: Leet linux preset #1923
    vicquick
    Participant

    Everything is working now, after realising I actually needed to load some presets – hence the empty presets earlier.

    I still only use two out of the six tact switches, but will probably discover their function sooner or later. Thanks for publishing such a nice project!

    in reply to: Leet linux preset #1922
    vicquick
    Participant

    48000 should also work

    in reply to: Leet linux preset #1921
    vicquick
    Participant

    Update for anyone interested:

    I added a line in  /etc/asound.conf to reduce the sample rate to 16000hz:

    pcm.array {
    type dsnoop
    slave {
    pcm “hw:wm8960soundcard”
    channels 2
                   rate 16000
    }
    ipc_key 666666
    }

     

    No more error messages for now at least. Only two out of the six buttons work, and I still have to find a way how to get my first sample played but will see how that works out.

    in reply to: Leet linux preset #1920
    vicquick
    Participant

    Due to my soundcard already using GPIO 20,21 I could circumvent the error message by simply wiring the two switches to GPIO 16, 26. However, I still get an error message, now saying that the sound device is invalid.

    Expression ‘parameters->channelCount <= maxChans’ failed in ‘src/hostapi/alsa/pa _linux_alsa.c’, line: 1514
    Expression ‘ValidateParameters( outputParameters, hostApi, StreamDirection_Out ) ‘ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2825
    Invalid audio device #1

     

    Any clue on this?

Viewing 5 posts - 1 through 5 (of 5 total)