When it comes down to the .mp3 audio it works normally, but when it's a .wav audio, it's low, but when I hear a runtime error. If I go to the directory where the .wav audio is, I can hear it normally, the problem is really only when it is low. Downloading code
$filename = $arquivo;
$path = storage_path('app/ligacoes_snep/'.$filename);
return Response::make(file_get_contents($path), 200, [
'Content-Type' => 'audio/wav',
'Content-Disposition' => 'inline; filename="'.$filename.'"']);
In Content-Type already tried audio / vnd.wave, audio / wav, audio / wave, audio / x-wav.