[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:hardware:soundblaster-live-5.1 [2014/03/19 08:13 (UTC)] – [Problems with SoundFonts] wisedracohowtos:hardware:soundblaster-live-5.1 [2014/03/19 12:07 (UTC)] – [Problems with SoundFonts] wisedraco
Line 82: Line 82:
 ===== Play files from CLI ===== ===== Play files from CLI =====
  
-For playing MIDI (.mid) files under Command Line Interface, you can use a aplaymidi command from slackware, or download and install pmidi from http://slackbuilds.org .+For playing MIDI (.mid) files under Command Line Interface, you can use a **aplaymidi** command from slackware, or download and install pmidi from http://slackbuilds.org .
 The both programms is very similar in use and syntax. The both programms is very similar in use and syntax.
 To play MIDI via aplaymidi: To play MIDI via aplaymidi:
Line 205: Line 205:
  
 SB Live! And Audigy Rx use similar DSP - emu10k based, and looks like have similar problems. SB Live! And Audigy Rx use similar DSP - emu10k based, and looks like have similar problems.
 +
 As i read, problem root is in that fact, a DSP use 31 bit in memory address instead of 32 bits - and it causes problem on linux x64 systems with more than 2 (3?) Gb RAM. As i read, problem root is in that fact, a DSP use 31 bit in memory address instead of 32 bits - and it causes problem on linux x64 systems with more than 2 (3?) Gb RAM.
 +
 I encounter that with 4 Gb RAM on Slackware64 14.1 - the symptoms is that, you cannot load soundfont larger than 16 Mb - asfxload on trying that writes: I encounter that with 4 Gb RAM on Slackware64 14.1 - the symptoms is that, you cannot load soundfont larger than 16 Mb - asfxload on trying that writes:
 +
 sfxload: no memory left sfxload: no memory left
 +
 while asfxload -M gives something like this: while asfxload -M gives something like this:
 +
 DRAM memory left = 115576 kB DRAM memory left = 115576 kB
-it means - about 100+ megabytes free ram. but you really cannot load even 30 Mb soundbank.+ 
 +it means - about 100+ megabytes free ram. But you really cannot load even 30 Mb soundbank.
  
 Ok, what is workaround? Ok, what is workaround?
-there is two: decrease memory size used by system at boot stage to 2 Gb  - use at lilo kernel parameter +There is two: decrease memory size used by system at boot stage to 2 Gb  - use at lilo kernel parameter 
  
 ''memmap=2048M\\$6144M'' ''memmap=2048M\\$6144M''
  
-other is more usable - change kernel source files and recompile kernel:+Other is more usable - change kernel source files and recompile kernel: 
 + 
 +go to /usr/src/~linux  - that is your linux source. 
  
 arch/x86/include/asm/dma.h arch/x86/include/asm/dma.h
Line 239: Line 247:
          
      after that need to recompile kernel. after that you get usable 1 Gb RAM for SB Live /Audigy Rx soundfonts.      after that need to recompile kernel. after that you get usable 1 Gb RAM for SB Live /Audigy Rx soundfonts.
-     if you want more - you need edit also +     
 +<note> if you want more - you need edit also</note> 
            
      sound/pci/emu10k1/emu10k1.c      sound/pci/emu10k1/emu10k1.c
Line 266: Line 275:
 </code>  </code> 
                  
-        And then there is one else thing: default memory size for soundfonts is 128 Mb. If you want to increase it, you must create a +        And then there is one else thing: default memory size for soundfonts is 128 Mb. If you want to increase it, you must create a sound.conf file in /etc/modprobe.d/  
-        sound.conf file in /etc/modprobe.d/ + 
-        +write in file /etc/modprobe.d/sound.conf :        
 <code bash> <code bash>
  
Line 290: Line 299:
   * [[https://bugs.launchpad.net/ubuntu/+source/awesfx/+bug/183456]]   * [[https://bugs.launchpad.net/ubuntu/+source/awesfx/+bug/183456]]
   * [[https://github.com/koppi/renoise-refcards/wiki/HOWTO-setup-EMU10k-soundfont-DSP-on-Ubuntu-11.10]]   * [[https://github.com/koppi/renoise-refcards/wiki/HOWTO-setup-EMU10k-soundfont-DSP-on-Ubuntu-11.10]]
 +  * [[http://www.linuxquestions.org/questions/slackware-14/sound-problems-in-slackware64-14-1-xfce-4175497387/]]
  
 ====== Sources ====== ====== Sources ======
 Originally written by  --- //[[wiki:user:wisedraco|John Ciemgals]] 2013/02/07 04:50// Originally written by  --- //[[wiki:user:wisedraco|John Ciemgals]] 2013/02/07 04:50//
 +
 +Rewrited with used materials from "Links" and LinuxQuestions.org Slackware forum, especially user Drakeo help --- //[[wiki:user:wisedraco|John Ciemgals]] 2014/03/19 01:15//
  
 Edited by  --- //[[wiki:user:mfillpot|mfillpot]] Edited by  --- //[[wiki:user:mfillpot|mfillpot]]
 howtos:hardware:soundblaster-live-5.1 ()