Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry:pi_ogg_player [2016/10/28 10:49] admin [Pi-OGG-Player] |
raspberry:pi_ogg_player [2020/03/05 17:37] (current) admin [Pi-OGG-Player] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Pi-OGG-Player ===== | ===== Pi-OGG-Player ===== | ||
- | An OGG file player | + | |
+ | This is the workaround | ||
+ | |||
+ | The OGG file player was made with pygame for Raspbian Jessy.\\ | ||
[[http:// | [[http:// | ||
[[http:// | [[http:// | ||
- | Links & Knowledge: | + | Other Links & Knowledge: |
[[http:// | [[http:// | ||
[[https:// | [[https:// | ||
Line 21: | Line 24: | ||
$ sudo apt-get install zip, htop | $ sudo apt-get install zip, htop | ||
$ sudo apt-get install python3, python3-pygame, | $ sudo apt-get install python3, python3-pygame, | ||
+ | |||
---- | ---- | ||
==== Rotate the Display ==== | ==== Rotate the Display ==== | ||
Line 72: | Line 76: | ||
---- | ---- | ||
==== USB Sound ==== | ==== USB Sound ==== | ||
- | $ lsusb | + | |
- | | + | $ alsamixer |
- | $ amixer | + | |
- | + | find the soundcard number:\\ | |
- | in: | + | $ aplay -l |
- | | + | |
| | ||
+ | in:\\ | ||
+ | < | ||
+ | $ sudo nano ~/.asoundrc | ||
+ | write (with your card number):\\ | ||
pcm.!default { | pcm.!default { | ||
- | | + | |
+ | | ||
} | } | ||
ctl.!default { | ctl.!default { | ||
- | | + | |
+ | | ||
} | } | ||
+ | and in:\\ | ||
+ | $ sudo nano / | ||
+ | change: | ||
+ | defaults.ctl.card 0 | ||
+ | defaults.pcm.card 0 | ||
+ | to (depends on your number):\\ | ||
+ | defaults.ctl.card 1 | ||
+ | defaults.pcm.card 1 | ||
---- | ---- |