Skip to content

Commit 18b70de

Browse files
committed
update README
1 parent f40fab7 commit 18b70de

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

README.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
===========================================
3+
PiPlayer : audio sample player for the Rpi
4+
===========================================
5+
6+
a gstreamer based media sample player for the Raspberry Pi trigerred by GPIO or OSC callbacks.
7+
8+
9+
Usage
10+
======
11+
```
12+
sudo piplayer DIR
13+
```
14+
15+
Example
16+
==========
17+
```
18+
sudo piplayer /path/to/dir/
19+
```
20+
21+
OSC
22+
====
23+
24+
* port : 12345
25+
* play address : /play/1
26+
27+
GPIO
28+
=====
29+
30+
* play channel : 22
31+
* play method : PUD_DOWN between PIN 1 (3.3V Power) and PIN 15 (GPIO 22)
32+
* stop channel : 24
33+
* stop method : PUD_DOWN between PIN 1 (3.3V Power) and PIN 18 (GPIO 24)
34+
35+
DAEMON
36+
=======
37+
38+
See etc/

scripts/piplayer

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2222
# Boston, MA 02111-1307, USA.
2323

24+
import sys
2425

2526
from piplayer.player import PiPlayer
2627

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
version = '0.2',
2424
install_requires = [
2525
'setuptools',
26-
'liblo',
26+
'pyliblo',
2727
'RPi.GPIO',
2828
],
2929
platforms=['OS Independent'],

0 commit comments

Comments
 (0)