81 lines · 1.3 KB · Text
RawDownload
@echo off rem     Test script for sox under DOS derived from tests.sh. This shouldrem     run without core-dumping or printing any error messages. set file=monkey rem verbose options rem set noise=-V del out.rawdel out2.rawdel in.rawcls echo on.\sox %noise% %file%.wav ub.raw.\sox %noise% -t raw -r 8196 -u -1 -c 1 ub.raw -r 8196 -s -1 sb.raw.\sox %noise% -t raw -r 8196 -s -1 -c 1 sb.raw -r 8196 -u -1 ub2.raw.\sox %noise% -r 8196 -u -1 -c 1 ub2.raw -r 8196 ub2.wav@echo off echo.dir ub.rawdir ub2.rawecho.echo The two filesizes above should be the same.pauseecho.echo. echo Skip checksum and rate byte. DOS isn't good at this, so just use aecho rough test. echo.dir %file%.wavdir ub2.wavecho.echo The two filesizes above should be the same.pausecls del ub.rawdel sb.rawdel ub2.rawdel ub2.wav echo on.\sox %noise% %file%.au -u -r 8192 -u -1 ub.raw.\sox %noise% -r 8192 -u -1 ub.raw -U -1 ub.au.\sox %noise% ub.au -u ub2.raw.\sox %noise% ub.au -2 ub2.sf@echo off del ub.rawdel ub.audel ub2.rawrem del ub.sf echo on.\sox %noise% ub2.sf ub2.aif.\sox %noise% ub2.aif ub3.sf@echo off echo Skip comment field containing different filenames. Again, DOS sucks. echo.dir ub2.sfdir ub3.sfecho.echo The two filesizes above should be the same.pausecls del ub2.sfdel ub2.aifdel ub3.sf set file=set noise=

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t