Gentoo Forums
Gentoo Forums
Quick Search: in
no sound in dosbox[SOLVED]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
doubleagent
Guru
Guru


Joined: 14 Apr 2005
Posts: 370
Location: 127.0.0.1

PostPosted: Sun Oct 07, 2007 2:04 pm    Post subject: no sound in dosbox[SOLVED] Reply with quote

Trying to get Alone in the Dark to work, but Dosbox is giving me sound errors:
Code:
~/Alone in the Dark $ dosbox alone.exe
CONFIG: Using default settings. Create a configfile to change them
ALSA:Can't subscribe to MIDI port (65:0)
MIDI:Opened device:none
I looked around but couldn't find any solution to this. Has anyone else experienced the problem?
_________________
Wolfram wrote:
There’s only so many linear feet of reference books that exist in the world....


Last edited by doubleagent on Sat Oct 13, 2007 11:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
doubleagent
Guru
Guru


Joined: 14 Apr 2005
Posts: 370
Location: 127.0.0.1

PostPosted: Sun Oct 07, 2007 2:54 pm    Post subject: Reply with quote

Aha! I don't have it configured in Alsa.
Code:
~ $ aplaymidi -l
 Port    Client name                      Port name
Three questions. Say I add USE="midi" to my make.conf, and then run through the Alsa configuration doc again. Then, finally, I get to the section on setting up midi support and it says I need to copy over my soundfonts - three questions:
1. Is there a way I can be sure how I have alsa currently set up?
Code:
# emerge -av alsa-driver

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-sound/alsa-driver-1.0.14_rc2-r1 [1.0.10-r2] USE="midi%* oss -debug (-doc%)" ALSA_CARDS="ali5451%* als4000%* atiixp%* atiixp-modem%* bt87x%* ca0106%* cmipci%* emu10k1%* emu10k1x%* ens1370%* ens1371%* es1938%* es1968%* fm801%* hda-intel%* intel8x0%* intel8x0m%* maestro3%* trident%* usb-audio%* via82xx%* via82xx-modem%* ymfpci%* -ad1816a% -ad1848% -ad1848-lib% -ad1889% -adlib% -als100% -als300% (-aoa) (-aoa-fabric-layout) (-aoa-onyx) (-aoa-soundbus) (-aoa-soundbus-i2s) (-aoa-tas) (-aoa-toonie) (-armaaci) -asihpi% (-at91-soc) (-at91-soc-eti-b1-wm8731) (-au1x00) -au8810% -au8820% -au8830% -azt2320% -azt3328% -cmi8330% -cs4231% -cs4231-lib% -cs4232% -cs4236% -cs4281% -cs46xx% -cs5535audio% -darla20% -darla24% -dt019x% -dummy% -echo3g% -es1688% -es18xx% -es968% -fm801-tea575x% -gina20% -gina24% -gusclassic% -gusextreme% -gusmax% (-harmony) -hdsp% -hdspm% -ice1712% -ice1724% -indigo% -indigodj% -indigoio% -interwave% -interwave-stb% -korg1212% -layla20% -layla24% -loopback% -mia% -miro% -mixart% -mona% -mpu401% -msnd-pinnacle% -mtpav% -mts64% -nm256% -opl3sa2% -opti92x-ad1848% -opti92x-cs4231% -opti93x% -pc98-cs4232% -pcsp% -pcxhr% -pdaudiocf% -pdplus% -portman2x4% (-powermac) (-pxa2xx-i2sound) (-pxa2xx-soc) (-pxa2xx-soc-corgi) (-pxa2xx-soc-poodle) (-pxa2xx-soc-spitz) (-pxa2xx-soc-tosa) -riptide% -rme32% -rme96% -rme9652% -s3c2410% -sa11xx-uda1341% -sb16% -sb8% -sbawe% -seq-dummy% -serial-u16550% -sgalaxy% -soc% -sonicvibes% -sscape% (-sun-amd7930) (-sun-cs4231) (-sun-dbri) -usb-usx2y% -virmidi% -vx222% -vxpocket% -wavefront%" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] No

Quitting.
Code:
 Linux Kernel v2.6.17-gentoo-r8 Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌─────────────────── Advanced Linux Sound Architecture ───────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │ 
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │ 
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │ 
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │ 
  │ ┌─────────────────────────────────────────────────────────────────────┐ │ 
  │ │<M> Advanced Linux Sound Architecture                                │ │ 
  │ │<M>   Sequencer support                                              │ │ 
  │ │< >     Sequencer dummy client                                       │ │ 
  │ │<M>   OSS Mixer API                                                  │ │ 
  │ │<M>   OSS PCM (digital audio) API                                    │ │ 
  │ │[*]     OSS PCM (digital audio) API - Include plugin system          │ │ 
  │ │[*]   OSS Sequencer API                                              │ │ 
  │ │<M>   RTC Timer support                                              │ │ 
  │ │[*]     Use RTC as default sequencer timer                           │ │ 
  │ │[ ]   Dynamic device file minor numbers (EXPERIMENTAL)               │ │ 
  │ │[ ]   Support old ALSA API                                           │ │ 
  │ │[*]   Verbose procfs contents                                        │ │ 
  │ │[ ]   Verbose printk                                                 │ │ 
  │ │[ ]   Debug                                                          │ │ 
  │ │      Generic devices  --->                                          │ │ 
  │ │      PCI devices  --->                                              │ │ 
  │ │      USB devices  --->                                              │ │ 
  │ │      PCMCIA devices  --->                                           │ │ 
2.If it is the kernel, what am I to do about:
Code:
Device Drivers--->Sound--->Advanced Linux Sound Architecture--->Generic Devices--->< >Virtual MIDI Sound Card

3.Where exactly do I get my soundfonts? I don't have a disc for my soundcard (I don't think....).
_________________
Wolfram wrote:
There’s only so many linear feet of reference books that exist in the world....
Back to top
View user's profile Send private message
doubleagent
Guru
Guru


Joined: 14 Apr 2005
Posts: 370
Location: 127.0.0.1

PostPosted: Sat Oct 13, 2007 11:54 pm    Post subject: Reply with quote

Nevermind. I realized that I probably don't have an onboard synthesizer and installed timidity.

everything works great now...including dosbox, though I had to change the config file.
_________________
Wolfram wrote:
There’s only so many linear feet of reference books that exist in the world....
Back to top
View user's profile Send private message
mate00
n00b
n00b


Joined: 03 Dec 2007
Posts: 24
Location: Lodz

PostPosted: Wed Dec 19, 2007 6:31 pm    Post subject: Reply with quote

Could you show me your dosbox.conf file please? I also have problems with configuring midi sound in DOSBox.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum