{"id":23111728,"url":"https://github.com/bouiboui/linear16","last_synced_at":"2025-08-16T19:30:50.013Z","repository":{"id":17479497,"uuid":"82067372","full_name":"bouiboui/linear16","owner":"bouiboui","description":"Converts an audio file to LINEAR16 Google-speech compatible file.","archived":false,"fork":false,"pushed_at":"2023-07-12T03:14:39.000Z","size":86,"stargazers_count":14,"open_issues_count":6,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T21:05:55.994Z","etag":null,"topics":["audio","convert","ffmpeg","google","linear16","speech"],"latest_commit_sha":null,"homepage":"https://medium.com/cod3/convert-speech-from-an-audio-file-to-text-using-google-speech-api-b951f4032a64","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bouiboui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-15T14:08:40.000Z","updated_at":"2023-03-22T19:17:28.000Z","dependencies_parsed_at":"2024-06-19T09:53:48.337Z","dependency_job_id":"518aa0b5-08c9-4134-84cb-60723e8ba95b","html_url":"https://github.com/bouiboui/linear16","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouiboui%2Flinear16","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouiboui%2Flinear16/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouiboui%2Flinear16/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bouiboui%2Flinear16/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bouiboui","download_url":"https://codeload.github.com/bouiboui/linear16/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229881194,"owners_count":18138642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","convert","ffmpeg","google","linear16","speech"],"created_at":"2024-12-17T02:10:11.398Z","updated_at":"2024-12-17T02:10:11.822Z","avatar_url":"https://github.com/bouiboui.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Converts an audio file to LINEAR16 Google-speech compatible file.**\n\nThis project has only been tested with m4a but should be compatible with all supported audio formats supported by ffmpeg.\n\nInstallation\n--\n```node\n// with yarn\nyarn add linear16\n\n// with npm\nnpm i --save linear16\n```\n\nUsage\n--\n\n**With *async/await***\n```js\nconst linear16 = require('linear16');\n\n(async () =\u003e {\n\nconst outPath = await linear16('./input.m4a', './output.wav');\nconsole.log(outPath); // Returns the output path, ex: ./output.wav\n\n})();\n\n```\n\n\n**With named parameters**\n```js\nconst linear16 = require('linear16');\n\n(async () =\u003e {\n\nconst outPath = await linear16({\ninPath:  './input.m4a',\noutPath: './output.wav'\n});\nconsole.log(outPath); // Returns the output path, ex: ./output.wav\n\n})();\n\n```\n\n**With *then***\n```js\nconst linear16 = require('linear16');\n\nlinear16('./input.m4a', './output.wav')\n.then(outPath =\u003e console.log(outPath)); // Returns the output path, ex: ./output.wav\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouiboui%2Flinear16","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbouiboui%2Flinear16","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouiboui%2Flinear16/lists"}