Forum Replies Created
-
AuthorPosts
-
vicquickParticipant
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
vicquickParticipantEverything 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!
vicquickParticipant48000 should also work
vicquickParticipantUpdate 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.
vicquickParticipantDue 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 #1Any clue on this?
-
AuthorPosts