找回密码
 注册
搜索
[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
查看: 21176|回复: 3

[系统相关] 批处理怎样实现录音?

[复制链接]
发表于 2011-1-5 18:22:32 | 显示全部楼层 |阅读模式
能不能用批处理实现录音,每隔半小时保存一次,重新开始录。
发表于 2011-1-5 19:18:45 | 显示全部楼层
使用第三方 mixmp3 ,下载:http://mixmp3.tpv.ru/mixmp3alpha.zip
语法:
mixmp3 [options] [outfile]
参数:    [-b bitrate] [-f buffer] [-s level] [-a] [-ms|j|m] [-ql|h|v] [-d frequency] [-x filename] [-split1|2|3|4] [-fhg] [-dc] [-abr | -vbr n] [-hide] [-play] [-devlist] [-pdev n] [-rdev n] [-dr] [-fl freq] [-fh freq]
        -b - bitrate, maybe 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 192, 224, 256, 320 kbit/s, default - 128 kbps in vbr mode specify minimum allowed bitrate, default - 64 kbps
        -d - working samplerate, maybe 8, 11, 12, 16, 22, 24, 32, 44, 48, 64 or 96 kHz, default 44 kHz; if used samplerate exceed 48 kHz, then downsampled it to 48 kHz
        -t - limitation of coding on time, in minutes, by default - no limit
        -f - size of working buffer, in kbytes, starting with 512 kb, default - 5%% of physical RAM (for mono - 2.5%%)
        -s - cut of pauses on the indicated level, in dB, default - -50 dB
        -a - to place the increased priority of execution of an encoder, by default on Windows 9x, -a- disable this mode
        -x - sets a filename of a flag on which appearance the program completes operation, the file - flag thus is deleted
        -dc - prohibits deleting a constant component of a signal
        -ms - to use stereo mode (by default for bitrates >= 192)
        -mj - to use j-stereo mode (by default for bitrates < 192)
        -mm - to use mono mode
        -ql - to encode with low quality
        -qh - to encode with high quality (normal - by default)
        -qv - to encode with maximum quality
        -dr - don't allow samplerate convertion with encoder
        -fl - use lowpass filter
        -fh - use highpass filter
        -abr - enable average bitrate mode <ABR>
        -fhg - force using fhg mp3 acm codec (if installed) - very beta feature
        -vbr n - to use variable bitrate (VBR), when n - vbr quality (0..9)
        -hide - don't show program window, use stopmp3.flg file to exit
        -play - auto decode and play mp3-stream
        -devlist - display the list of record/playback devices
        -pdev - use device n for playback
        -rdev - use device n for recording
        -split1 - to divide into files duration 1 hour, daily cycle
        -split2 - to divide into files duration 1 hour, weekly cycle
        -split3 - to divide into files duration 1 hour, monthly cycle
        -split4 - to divide into files on pauses, see as a option -s
        outfile -resulting mp3 filename, by default - MMDDHHMMSS.mp3

[ 本帖最后由 hanyeguxing 于 2011-1-5 19:20 编辑 ]
 楼主| 发表于 2011-1-6 21:04:11 | 显示全部楼层
一个小时一个小时分的啊,太长了。
-s参数,是50分贝的声音取消吗?很多声音可能就50dB
这分起来怎么分呢?
有点风吹草动还不都录进去了,然后生成一个超大的文件?
今天试了一下就一个split1参数,感觉录音声音很小,没有其他软件大。

[ 本帖最后由 jshuanya 于 2011-1-7 15:02 编辑 ]
 楼主| 发表于 2011-12-19 16:27:19 | 显示全部楼层
回复 2# hanyeguxing


    输出的文件名只是小时
第二天的又全都覆盖掉了,怎么设置文件名?
我看说明好像默认年月日命名的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|批处理之家 ( 渝ICP备10000708号 )

GMT+8, 2026-3-18 14:18 , Processed in 0.017246 second(s), 8 queries , File On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表