From: Paul Brossier Date: Fri, 3 Feb 2017 10:29:38 +0000 (+0100) Subject: test.js: remove trailing spaces X-Git-Tag: v0.0.2~14 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=29af6583aea82c5e0b7ca2f810e15d8dcda70c6b;p=node-aubio.git test.js: remove trailing spaces --- diff --git a/test.js b/test.js index e4f779e..9b2f86e 100644 --- a/test.js +++ b/test.js @@ -15,7 +15,7 @@ var get_features = function(path, params) { var samplerate = aubio.aubio_source_get_samplerate(source); console.log('samplerate: ' + samplerate); var total_frames = 0; - var tmp_read = ref.alloc('int'); + var tmp_read = ref.alloc('int'); // create tempo var tempo = aubio.new_aubio_tempo('default', params.win_s, params.hop_s, params.samplerate); @@ -51,7 +51,7 @@ var get_features = function(path, params) { var read = tmp_read.deref(); total_frames += read; if(read != params.hop_s) { break; } - } + } var cur_time = total_frames / samplerate; console.log('total time : %d seconds (%d frames)', cur_time, total_frames); console.log('found %d beats total', beats.length);