UNPKG

@mindconnect/mindconnect-nodejs

Version:

MindConnect Library for NodeJS (community based)

18 lines 595 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.spectralAnalysisTemplate = (file, filename = "file.wav", windowType = "FLATTOP", mimeType = "audio/wave") => ` ----mindsphere\r\n\ Content-Disposition: form-data; name="file"; filename="${filename}"\ \r\n\ Content-Type: ${mimeType}\ \r\n\r\n${file.toString("ascii")}\r\n ----mindsphere\r\n\ Content-Disposition: form-data; name="fftProperties"\ \r\n\ Content-Type: ${"application/json"}\ \r\n\ { windowType: "${windowType}" } \r\n----mindsphere--`; //# sourceMappingURL=spectrum-analysis-template.js.map