Skip to content

raspberry pi half and hour play corresponding time voice file

Notifications You must be signed in to change notification settings

i-sync/timeaudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timeaudio

raspberry pi half and hour play corresponding time voice file

script code

#!/bin/bash

filePath=/home/pi/timeaudio
#time=`date | awk -F \  {'print $4'} | awk -F : {'print $1'}`
time=`date +%H%M`
audioFile="$filePath/$time.mp3"
echo $audioFile
player=/usr/bin/mplayer

$player $audioFile
#$player >> /tmp/1.log
#echo $audioFile >> /tmp/1.log

About

raspberry pi half and hour play corresponding time voice file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages