Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry:pi_ogg_player [2016/12/11 11:49]
admin [USB Sound]
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 for the Raspberry Pi Tablet made with pygame for Raspbian Jessy.\\+ 
 +This is the workaround for a touch screen OGG PLayer based on a Raspberry Pi with the Raspberry Pi Touch Display. 10 of these players were used in the exhibition [[https://www.iwalewahaus.uni-bayreuth.de/de/program/archive/2017/20161104_Stolen-Moments/index.html|Stolen Moments]] at the IWALEWAHAUS in Bayreuth 2017.\\ 
 + 
 +The OGG file player was made with pygame for Raspbian Jessy.\\
 [[http://www.pygame.org/hifi.html]]\\ [[http://www.pygame.org/hifi.html]]\\
 [[http://www.pygame.org/docs/index.html]]\\ [[http://www.pygame.org/docs/index.html]]\\
  
-Links & Knowledge:\\+Other Links & Knowledge:\\
 [[http://www.nerdparadise.com/tech/python/pygame/basics/]]\\ [[http://www.nerdparadise.com/tech/python/pygame/basics/]]\\
 [[https://www.raspberrypi.org/magpi/issues/essentials-games-vol1/]]\\ [[https://www.raspberrypi.org/magpi/issues/essentials-games-vol1/]]\\
Line 21: Line 24:
   $ sudo apt-get install zip, htop   $ sudo apt-get install zip, htop
   $ sudo apt-get install python3, python3-pygame, python3-pyqt5, python3-pip, idle   $ sudo apt-get install python3, python3-pygame, python3-pyqt5, python3-pip, idle
 +
 ---- ----
 ==== Rotate the Display ==== ==== Rotate the Display ====
Line 79: Line 83:
      
 in:\\ in:\\
-  $ sudo nano /etc/asound.conf+<del>  $ sudo nano /etc/asound.conf</del> 
 +  $ sudo nano ~/.asoundrc
 write (with your card number):\\ write (with your card number):\\
   pcm.!default {   pcm.!default {
-  type hw card 1+    type hw 
 +    card 1
   }   }
   ctl.!default {   ctl.!default {
-  type hw card 1+    type hw 
 +    card 1
   }   }
 +
 +and in:\\
 +  $ sudo nano /usr/share/alsa/alsa.conf
 +change:\\ 
 +  defaults.ctl.card 0
 +  defaults.pcm.card 0
 +to (depends on your number):\\
 +  defaults.ctl.card 1
 +  defaults.pcm.card 1
  
 ---- ----