[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:hardware:soundblaster-live-5.1 [2014/03/19 07:57 (UTC)] – [Playing MIDI] wisedraco | howtos:hardware:soundblaster-live-5.1 [2014/03/19 08:26 (UTC)] – [Problems with SoundFonts] wisedraco | ||
---|---|---|---|
Line 114: | Line 114: | ||
<code bash> | <code bash> | ||
| | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | To play another types of files ( .wav .flac .mp3 and so on) you can use " | ||
+ | in default it use default sound card for output. | ||
+ | <code bash> | ||
+ | |||
+ | play loona.mp3 | ||
+ | |||
+ | loona.mp3: | ||
+ | |||
+ | File Size: 3.44M Bit Rate: 112k | ||
+ | Encoding: MPEG audio | ||
+ | Channels: 2 @ 16-bit | ||
+ | Samplerate: 44100Hz | ||
+ | Replaygain: off | ||
+ | Duration: 00: | ||
+ | |||
+ | </ | ||
+ | |||
+ | You also can use mixer for change volume: | ||
+ | <code bash> | ||
+ | alsamixer | ||
</ | </ | ||
Line 158: | Line 182: | ||
==== Make a right soundcard as first (default) ==== | ==== Make a right soundcard as first (default) ==== | ||
+ | Firstly, make a file called sound.conf under / | ||
+ | <code bash> | ||
+ | ##alias char-major-116 snd | ||
+ | options snd cards_limit=2 slots=snd-emu10k1, | ||
+ | # LHB6.mOmgEN0gox0: | ||
+ | alias snd-card-0 snd-emu10k1 | ||
+ | alias sound-slot-0 snd-emu10k1 | ||
+ | # W60f.x8s5HMdIibD: | ||
+ | alias snd-card-1 snd-hda-intel | ||
+ | alias sound-slot-1 snd-hda-intel | ||
+ | |||
+ | ##options snd-emu10k1 enable=1 index=0 max_buffer_size=756 | ||
+ | options snd-emu10k1 enable=1 index=0 max_buffer_size=1750 | ||
+ | |||
+ | options snd-hda-intel enable=1 index=1 | ||
+ | |||
+ | </ | ||
Line 164: | 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 |
'' | '' | ||
- | other is more usable - change kernel source files and recompile kernel: | + | Other is more usable - change kernel source files and recompile kernel: |
+ | |||
+ | go to / | ||
arch/ | arch/ | ||
Line 225: | Line 274: | ||
</ | </ | ||
| | ||
- | after that you can use up to 2 Gb RAm for soundfonts loading. | + | |
+ | |||
+ | write in file / | ||
+ | <code bash> | ||
+ | |||
+ | options snd-emu10k1 | ||
+ | |||
+ | </ | ||
+ | |||
+ | where max_buffer_size reffers to amount of RAM dedicated to soundfonts, in megabytes. in that case its about 1.7 Gb. | ||
+ | |||
+ | |||
+ | <note tip> | ||
+ | </ | ||
| | ||
====== Useful Links: ====== | ====== Useful Links: ====== | ||
Line 236: | Line 298: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[http:// | ||
====== Sources ====== | ====== Sources ====== | ||
Originally written by --- // | Originally written by --- // | ||
+ | |||
+ | Rewrited with used materials from " | ||
Edited by --- // | Edited by --- // |