r - Set up default sound player -
by using r packages tuner , seewave generated sounds want play software not windows media player don't know how set up. command
setwavplayer("mplay32")
is thing works (and wmp). when try this
setwavplayer("c:/program files/foobar2000/foobar2000.exe")
the synth or play command gives error when try playback sound
'c:/program' not recognized internal or external command, operable program or batch file.
any hints?
here's works me under osx: assuming i've installed app called 'play.app' ,
setwavplayer('/applications/play')
in case appear somewhere along line path string's space (in "program[space]files" ) causing string split up. error message pretty coming commandprompt or similar shell. need quote string using shquote
space handled properly:
setwavplayer(shquote("c:/program files/foobar2000/foobar2000.exe"))
Comments
Post a Comment