https://www.hifiberry.com/shop/boards/hifiberry-amp2/
and is aimed at being powered by old laptop supplies as it can now cope with the higher voltage PSU’s
It configures as a HiFiBerry DAC+ . . .
First observation. If you select HDMI in the config and fire it up without an HDMI monitor (or worse yet a non working monitor… RIP the monitor in the previous pictures) Then zynthian doesn’t start.
Could we have an Remote hdmi option in the display settings so you can do the equivalent of a ssh -X
and
python3 /zynthian/zynthuan/ui/zynthian-ui.py
?
The hifiberry amp2 seems to like being device 2 . . .
root@zynthian-amp2:/zynthian/zynthian-data/audio# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 2: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
so:
after culling zynthian and jack services
systemctl stop zynthian
systemctl stop jack2
aplay -D hw:2,0 zynthian_signed_16_PCM.wav
Does.
(I built a small wav file for /zynthian/zynthian-data/ which helps with this sort of thing … )
So from the hifiberry site ( Which is getting less and less informative as they get bigger and bigger … Configuring Linux 4.x or higher | HiFiBerry)
We add /etc/asound.conf
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}
so aplay -L reveals the villian, because the small MPK keyboard had decided it wanted to be the alsa default …
So presumably devicetree is doing something a bit arbitry with audio also device start up, and alsa is being it’s normally friendly self
So Don’t leave your USB midi connections connected upon initializing a machine for the first time…
We have piano from a 60W hifiberry amp2 zynthian . . . .
Now let’s see if we can get the encoders working. . .
So loading up the encoder parameters for the hifi berry amp encoders (wyleu passim… )
Zynthian Wiring Config
export ZYNTHIAN_WIRING_LAYOUT=“CUSTOM”
export ZYNTHIAN_WIRING_ENCODER_A=“25,26,4,0”
export ZYNTHIAN_WIRING_ENCODER_B=“27,21,3,7”
export ZYNTHIAN_WIRING_SWITCHES=“23,11,2,22”
we have a new member of the increasingly populated wyleu collection of zynthians . . .
zynthian-amp2 which is a 60W machine using a pi3, and an old encode set.
Seems to work.
All praise to them that did …