1var fd = new FormData();
2fd.append('fname', 'test.wav');
3fd.append('data', soundBlob);
4$.ajax({
5 type: 'POST',
6 url: '/upload.php',
7 data: fd,
8 processData: false,
9 contentType: false
10}).done(function(data) {
11 console.log(data);
12});
13