overwrite
All checks were successful
NPM Audit Check / Check NPM audit (push) Successful in -2m18s
Unit tests / Unit tests (push) Successful in -2m6s

This commit is contained in:
2025-08-30 11:28:18 -05:00
parent ea50cf5f77
commit 16d5e834a5
4 changed files with 10 additions and 7 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "morning-report", "name": "morning-report",
"version": "0.0.1", "version": "0.0.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "morning-report", "name": "morning-report",
"version": "0.0.1", "version": "0.0.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"json5": "2.2.3", "json5": "2.2.3",

View File

@@ -1,6 +1,6 @@
{ {
"name": "morning-report", "name": "morning-report",
"version": "0.0.1", "version": "0.0.2",
"description": "Procedurally generates a radio weather report", "description": "Procedurally generates a radio weather report",
"keywords": [ "keywords": [
"weather", "weather",

View File

@@ -26,7 +26,7 @@ async function Stitcher(files: string[]) {
const args: string[] = []; const args: string[] = [];
files.forEach(f => args.push('-i', f)); files.forEach(f => args.push('-i', f));
args.push('-filter_complex', `[0:a][1:a][2:a]concat=n=${files.length}:v=0:a=1[out]`); args.push('-filter_complex', `[0:a][1:a][2:a]concat=n=${files.length}:v=0:a=1[out]`);
args.push('-map', '[out]', '-ar', '44100', '-ac', '2', '-c:a', 'pcm_s16le', 'output.wav'); args.push('-map', '[out]', '-ar', '44100', '-ac', '2', '-c:a', 'pcm_s16le', 'output.wav', '-y');
await ffmpeg(args, files.length); await ffmpeg(args, files.length);
} }

View File

@@ -41,7 +41,8 @@ describe('stitcher', () => {
'2', '2',
'-c:a', '-c:a',
'pcm_s16le', 'pcm_s16le',
'output.wav' 'output.wav',
'-y'
]); ]);
}); });
@@ -62,7 +63,8 @@ describe('stitcher', () => {
'2', '2',
'-c:a', '-c:a',
'pcm_s16le', 'pcm_s16le',
'output.wav' 'output.wav',
'-y'
]); ]);
}); });
@@ -81,7 +83,8 @@ describe('stitcher', () => {
'2', '2',
'-c:a', '-c:a',
'pcm_s16le', 'pcm_s16le',
'output.wav' 'output.wav',
'-y'
]); ]);
}); });
}); });