试图服务与nodejs的MP3?

我正在尝试使用nodejs提供mp3文件。 我使用的浏览器是Google Chrome。 提供文本的工作,但当我改变了内容标题,以表明我想提供MP3,它显示播放button,不播放。

这是curl -v给我的信息的开始:

  * About to connect() to localhost port 2222 (#0) * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 2222 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.29.0 > Host: localhost:2222 > Accept: */* > < HTTP/1.1 200 OK < X-Powered-By: Express < Content-Type: audio/mpeg < Content-Length: 14180 < ETag: "336505275" < Date: Mon, 02 Dec 2013 10:20:03 GMT < Connection: keep-alive <   8  R $s PFP  0m(X       ep 8   Bg*&dXȯ  " 2.   c  7 f    G    * About to connect() to localhost port 2222 (#0) * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 2222 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.29.0 > Host: localhost:2222 > Accept: */* > < HTTP/1.1 200 OK < X-Powered-By: Express < Content-Type: audio/mpeg < Content-Length: 14180 < ETag: "336505275" < Date: Mon, 02 Dec 2013 10:20:03 GMT < Connection: keep-alive <   8  R $s PFP  0m(X       ep 8   Bg*&dXȯ  " 2.   c  7 f    G  

有没有人有任何想法,我想失去,使我所服务的audio播放谷歌浏览器?

这里是服务器代码的相关部分:

  express = require('express'); var app = express(); app.get('/', function (request, response) { var exec = require('child_process').exec, child; child = exec('espeak -v mb-fr1 -q --pho -a 15 -p 50 -s 130 "donc ceci démontre que ça fonctionne bien" | mbrola /usr/share/mbrola/fr1/fr1 - - | lame -r -mm -b 24 -s 16 - - ',function (error, stdout, stderr) { response.setHeader('Content-Type', 'audio/mpeg'); //response.setHeader('Transfer-Encoding', 'chunked'); response.send(stdout); }); }); module.exports = app;