audio icon indicating copy to clipboard operation
audio copied to clipboard

README.md

Open stevebanik opened this issue 11 years ago • 2 comments

s/wavefrom/waveform/g

stevebanik avatar Aug 07 '15 21:08 stevebanik

Hi , I am facing small issue , Can you pls help me out

Fatal error: Uncaught exception 'Exception' with message 'soxi command failed. 'soxi' is not recognized as an internal or external command, operable program or batch file.' in C:\xampp\htdocs\audio-master\src\Jasny\Audio\Track.php:330 Stack trace: #0 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Track.php(281): Jasny\Audio\Track::exec('soxi', Array ) #1 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Track.php(140): Jasny\Audio\Track->soxi('-D') #2 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Track.php(185): Jasny\Audio\Track->getStat('length' , '-D', 'float') #3 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Waveform.php(110): Jasny\Audio\Track->getLength()

#4 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Waveform.php(200): Jasny\Audio\Waveform->calc() #5 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Waveform.php(305): Jasny\Audio\Waveform->getLength () #6 C:\xampp\htdocs\audio-master\src\Jasny\Audio\Waveform.php(282): Jasny\Audio\Waveform->outputJson () #7 C:\xampp\htdocs\audio-master\demo\waveform.php(12): Jasny\Audio\Waveform->o in C:\xampp\htdocs \audio-master\src\Jasny\Audio\Track.php on line 330

jhaanji035 avatar Aug 04 '16 09:08 jhaanji035

You need to set the path to sox, soxi and ffmeg/avconv.

https://github.com/jasny/audio/blob/master/src/Jasny/Audio/Track.php#L13

Note that I'm not 100% sure sox and/or ffmeg/avconv run on Windows.

jasny avatar Sep 28 '16 19:09 jasny