VOGONS

Common searches


First post, by Mark_81

User metadata
Rank Newbie
Rank
Newbie

Is DosBox a good way to recording Audio?
At the moment,I'm capturing Audio with DosBox..
I get .WAV file at 1411 kbs 44. khz sample rate
I heard about OBS, but is too complicated for me compared to Dosbox
here's a scan of the audio spectrometer

scans.jpg

Reply 4 of 12, by CrossBow777

User metadata
Rank Member
Rank
Member

Not sure the specifics of what you are trying to do, but what I do is just use the old Wave Recorder Studio with my SBZx I have installed and record specifically from the Line in if using one of my external midi modules, or just the default speaker selection if I want the actual sound coming through it. If I need both the sound that DOSBox is emulating for SB sounds in a DOS game along with an external module, then I use the mixer selection of What I hear so that everything coming through the line out off my sound card is then recorded.

I then either use Wave Studio or Audacity to edit further if needed.

g883j7-2.png
Midi Modules: MT-32 (OLD), MT-200, MT-300, MT-90S, MT-90U, SD-20

Reply 6 of 12, by JessicaJones

User metadata
Rank Newbie
Rank
Newbie

You can also save the opl command using ctrl shift F7.

Playing this file with a player that uses adplug (foobar2000, audacious for windows, andplug for android) allows you'to choose the sample rate.
AdPlug uses dosbox opl emulator so it sounds exactly the same.

DRO files only require some 10s of KB of space.

I used to record to wav too but switched to DRO.

MS-DOS music addict - DOSBox/AdPlug enthusiast

Reply 7 of 12, by JessicaJones

User metadata
Rank Newbie
Rank
Newbie

In addition: you can edit the DRO files using DRO trimmer.

Audacious can record DRO playback to wav if you later want wav files of it too

So you can use the DRO files a bit as the 'source'

MS-DOS music addict - DOSBox/AdPlug enthusiast

Reply 8 of 12, by cyclone3d

User metadata
Rank l33t++
Rank
l33t++

Why are there two threads about this?
AdLib vs Game Blaster

Yamaha modified setupds and drivers
Yamaha XG repository
YMF7x4 Guide
Aopen AW744L II SB-LINK

Reply 9 of 12, by JessicaJones

User metadata
Rank Newbie
Rank
Newbie

For getting highest quality of the wav, set sound blaster to 49716, because this is the value used by real hardware. (dosbox.conf)

Also set mixer to this value!

For editing the wav I recommend https://www.audacityteam.org/

You can compress the wav lossless using https://xiph.org/flac/

A good player for flac and DRO is https://audacious-media-player.org/

MS-DOS music addict - DOSBox/AdPlug enthusiast

Reply 10 of 12, by Mark_81

User metadata
Rank Newbie
Rank
Newbie

Hi jessica,thank you very much
I have audacity and I use it for cutting track audio e add effect like fading
I got .wav

I set DOSBOX in this way

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=49716
oplmode=opl3
oplemu=fast
oplrate=49716

I'd like to try Nuked OPL3...What I have to do for Installing?

Reply 11 of 12, by JessicaJones

User metadata
Rank Newbie
Rank
Newbie

Also set rate=49716 in [mixer] because the mixer decides which the final sampling rate will be

I don't know anything about Nuked OPL3 and never used it

MS-DOS music addict - DOSBox/AdPlug enthusiast

Reply 12 of 12, by JessicaJones

User metadata
Rank Newbie
Rank
Newbie

For recording level music of for example Heretic, Hexen, ... (or any FPS) DRO has the advantage over WAV because DRO only captures the OPL commands, so it will only capture the level music.
If you record to WAV you record everything including the sound of the enemies, ...

So an easy way to record level music (if you want it to be WAV format):

- record using DRO
- export the DRO to WAV by using for example https://audacious-media-player.org/
(use the filewriter to export to WAV)

Recording it directly to WAV in dosbox would be much more difficult. You have to disable the sounds in the game (if even possible) of the enemies, ...

MS-DOS music addict - DOSBox/AdPlug enthusiast