経済学

データを適切な形で解釈する力を身につけたい人→中室・津川「原因と結果の経済学」 データを適切に解釈した経済学おもしろ話が読みたい人→レヴィット「ヤバい経済学」 データを扱わない範囲で世の中の背景にある仕組みを経済学で解明してみたい人→松島「ゲーム理論はアート」

Raspberry pi (raspbian stretch) + USB speaker

pi@raspberrypi:~ $ dpkg -l | grep gmedia

ii  gmediarender                                                0.0.7~git20160329+repack-1                  armhf        Small headless UPnP media renderer

 

pi@raspberrypi:~ $ cat /etc/default/gmediarender

# Configuration for gmediarender

 

#Start daemon automatically? (1= yes, all other valures are "not enabled")

# defaults to "not enabled"

ENABLED=1

 

# User and group the daemon will be running as.

#DAEMON_USER="nobody:audio"

DAEMON_USER="root:root"

 

# Device name as it will be advertised to and shown in the UPnP controller UI.

# Some string that helps you recognize the player, e.g. "Livingroom Player"

UPNP_DEVICE_NAME="gmediarender on $(hostname)"

 

# Initial volume in decibel. 0.0 is 'full volume', -10 correspondents to '75' on

# the exported volume scale (Note, this does not change the ALSA volume, only

# internal to gmrender. So make sure to leave the ALSA volume always to 100%).

INITIAL_VOLUME_DB=-10

 

# If you explicitly choose a specific ALSA device here (find them with 'aplay -L'), then

# gmediarenderer will use that ALSA device to play audio.

# Otherwise, whatever default is configured for gstreamer for the '$DAEMON_USER' is

# used.

#ALSA_DEVICE="sysdefault"

ALSA_DEVICE="hw:1,0"

#ALSA_DEVICE="iec958"

 

# You can pass extra arguments to the daemon

# For example, you can specify a logfile with this line

# (though you need to ensure correct permissions for a log file yourself.)

DAEMON_EXTRA_ARGS="--logfile /var/log/gmediarender.log"