This is an all in one solution for playing sound files in a batch program while keeping everything hidden, with the innate capacity to stop the music when the cmd window is closed.
![clementine music player freezes during song play back clementine music player freezes during song play back](https://user-images.githubusercontent.com/7315034/54054683-8fe6a480-41c9-11e9-9bab-2497df6d520a.jpeg)
Įcho Set Sound = CreateObject("WMPlayer.OCX"^)Įcho do while = 0Įcho wscript.sleep (int(^)+1^)*1000 Set vbsfile=%temp%\David_Guetta_Miami.vbsĮcho %x% Please Wait for a while.
#CLEMENTINE MUSIC PLAYER FREEZES DURING SONG PLAY BACK CODE#
Options are documented in previous questions (just the first)Įxpanding one of the alternatives, if you have access to some CĬompiler (tested with mingw) this code will generate a console tool Instancing the wmplayer ocx, sound recorder, powershell.
![clementine music player freezes during song play back clementine music player freezes during song play back](https://www.sidify.com/images/guide/apple-music-to-clementine/check.jpg)
![clementine music player freezes during song play back clementine music player freezes during song play back](https://miro.medium.com/max/1400/1*v3LfHlDMDkox41N_ymVzYA.png)
The usual tools are vlc, wmplayer, a vbs file This is a copy/paste from another answer (also by me), that included this as a possible answer to one of the points (playing a wav file without a visible application) of the question.įor the play sound part, as far as i know, there is not way ofĭirectly playing a custom wav from command line without spawningĪnother process.