Hi Paul
It sounds like you are doing everything correctly. Use the instructions/patch from the mpd_oled directory to configure Moode to set up the copy of the audion. In the mpd_oled_oled directory (mpd_oled_oled was meant to be mpd_oled_old!) just step back through the commit numbers, and when you find one that works set up your options and run the install.sh script. Your next test will be
Code:
cd mpd_oled_oled
make clean
git checkout 2eed63d
PLAYER=MOODE make
I think though, that if this version (the last before I introduced command line options for SPI) doesn't work you then may be out of luck, as I can't think of any recent-ish changes before this that affect your display. (Also, if you go back beyond the release date of Moode 6 then the mpd_oled build will probably not complete.)
Adrian.
Hello Adrian
Thank you for the additional info. Unfortunately that didn't work either. I had had a beer or two when i was doing it so might have done it incorrectly. I'll have to retry it with a more clear head.
In my first post i said that i'd made a backup and left it in work. It turns out I didn't save the backup to the work server but to the computer i've been sent home with. Happy days!
I restored the backup, extracted the mpd_oled directory and copied it to a fresh install of Moode. After installing Cava and doing the pipe bits, it works!!
The backup is from the 270220 and was from a fresh install of moode + mpd_oled on that day.
So maybe the checkout - d964414 is the one to use?
I'll have more of a play with github and see if it works but right now i'm loving watching the GE bouncing around and the track info scrolling.
Thank you
Paul
Hi Paul
Good that you have something working! You can find out the commit number (the start of this gives the number listed at github) of the working version by changing to the mpd_oled directory of the working version and running
Adrian.
Hello Adrian
Looks like that is the checkout I should use.
Code:
git log | head -n 1
commit d9644140ac99f76e1ebb87530e8cf117f5aa4e77
Thank you for your help with this.
Paul
used this code from Adrian to ceate asound.conf
added /etc/modules loop command... and restart mpd...
loopback works great, cava is working also with stream airplay/spotify ect.. but no more audio output on 3.5 jack RPi board...
maybe need DAC board on i2s ??
Code:
pcm.!hw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_PCM_DEVICE
]
default {
@func refer
name defaults.pcm.device
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.pcm.subdevice
}
}
type plug
slave.pcm {
type multi
slaves {
a { channels 2 pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
} # the real device
b { channels 2 pcm "plughw:Loopback,0" } # loopback driver
}
bindings {
0 { slave a channel 0 }
1 { slave a channel 1 }
2 { slave b channel 0 }
3 { slave b channel 1 }
}
}
ttable [
[ 1 0 1 0 ] # left -> a.left, b.left
[ 0 1 0 1 ] # right -> a.right, b.right
]
hint {
show {
@func refer
name defaults.namehint.extended
}
description "Direct hardware device without any conversions"
}
}
added "options snd-aloop index=1" into file /etc/modprobe.d/alsa-base.conf
now MPD have selectable "onboard audio device" but still no audio output and no more spectrum by cava.
Did you select the onboard audio device and reboot? If you still have no sound then post the output of 'aplay -l'.