play_one: Play one random track

Description Usage Arguments Value Author(s) Examples

View source: R/play_one.R

Description

Select one random track from the MP3 library and play it. The function uses the shell command "afplay". Once started, playing cannot be interrupted.

Usage

1

Arguments

No arguments

Value

The function does not return a value, but it shows the row number in the library of the piece that was played.

Author(s)

Joost van de Weijer

Examples

1

vdweijer/mp3 documentation built on Jan. 23, 2022, 12:17 a.m.