Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread James Courtier-Dutton
William wrote:
James Courtier-Dutton wrote:
Audigy LS driver is now ready for inclusion into alsa-driver.
Get it from http://www.superbug.demon.co.uk/alsa

Are you going to work on any other Audigy-series drivers, e.g. Audigy 2 ZS?
I'm finding the emu10k1 driver in alsa-driver-1.0.5a has serious problems
with random intermittent distortion of the soundfont samples while they are
being played on the soundcard's MIDI synthesiser, e.g. using aplaymidi -p 65:0.
Random intermittent distortion means, e.g. the sound during MIDI playback
becomes muffled for a minute or two and then returns to normal sound quality,
or the sound wrongly becomes mono for a few seconds, and then
returns to stereo.
Also, it seems emu10k1 does not load soundfonts correctly,
especially if you ever use any really large 25MB soundfonts.
William

I don't have an Audigy 2 ZS, so unless someone donates one, I can't help 
you there.

Can you post to a web site your soundfonts file, and instructions on how 
to use them with the creative cards, I might be able to help.

I have a cheepo Audigy 2 (old version) that I might be able to reproduce 
your problems on.

I don't work with MIDI much, which is why I have not added MIDI support 
to the Audigy LS driver at the moment.

Cheers
James
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread William
James Courtier-Dutton wrote:
 William wrote:
 James Courtier-Dutton wrote:
 
Audigy LS driver is now ready for inclusion into alsa-driver.
Get it from http://www.superbug.demon.co.uk/alsa
 
 Are you going to work on any other Audigy-series drivers, e.g. Audigy 2 ZS?
 I'm finding the emu10k1 driver in alsa-driver-1.0.5a has serious problems
 with random intermittent distortion of the soundfont samples while they are
 being played on the soundcard's MIDI synthesiser, e.g. using aplaymidi -p 65:0.
 Random intermittent distortion means, e.g. the sound during MIDI playback
 becomes muffled for a minute or two and then returns to normal sound
 quality, or the sound wrongly becomes mono for a few seconds, and then
 returns to stereo.
 Also, it seems emu10k1 does not load soundfonts correctly,
 especially if you ever use any really large 25MB soundfonts.
 
 I don't have an Audigy 2 ZS, so unless someone donates one, I can't help 
 you there.

At the moment I also have an Audigy LS (5.1) which seems to have
similar problems to the Audigy 2 ZS.

 Can you post to a web site your soundfonts file, and instructions on how 
 to use them with the creative cards, I might be able to help.

The 25MB piano soundfont is here:
http://www.wstco.com/pianosounds/freesoundfont.htm
Please note the author Warren has told me his soundfont is not re-distributable.

ALSA soundfont loading:  asfxload WST25FStein_00Aug14.SF2
ALSA OSS-mode soundfont loading:  sfxload WST25FStein_00Aug14.SF2

Sample MIDI files for piano: http://members.aol.com/sdrodrian/

 $ aplaymidi -l
  PortClient name  Port name
  62:0Midi Through Midi Through Port-0
  64:0Audigy MPU-401 (UART) - Rawmidi  Audigy MPU-401 (UART)
  64:32   Audigy MPU-401 (UART) - Rawmidi  Audigy MPU-401 #2
  65:0Emu10k1 WaveTableEmu10k1 Port 0
  65:1Emu10k1 WaveTableEmu10k1 Port 1
  65:2Emu10k1 WaveTableEmu10k1 Port 2
  65:3Emu10k1 WaveTableEmu10k1 Port 3
  72:0Virtual Raw MIDI 1-0 VirMIDI 1-0
  73:0Virtual Raw MIDI 1-1 VirMIDI 1-1
  74:0Virtual Raw MIDI 1-2 VirMIDI 1-2
  75:0Virtual Raw MIDI 1-3 VirMIDI 1-3

 $ aplaymidi -p 65:0 midi_music_file.mid

An even better test would be to do some experiments on an Audigy using
Rosegarden 4 0.9.8 for MIDI playback, JACK audio, etc
http://www.rosegardenmusic.com/

 I have a cheepo Audigy 2 (old version) that I might be able to reproduce 
 your problems on.
 
 I don't work with MIDI much, which is why I have not added MIDI support 
 to the Audigy LS driver at the moment.

I hope you will add MIDI support; I think it would be a great improvement. 

William


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread James Courtier-Dutton
William wrote:
James Courtier-Dutton wrote:
William wrote:
James Courtier-Dutton wrote:

Audigy LS driver is now ready for inclusion into alsa-driver.
Get it from http://www.superbug.demon.co.uk/alsa
Are you going to work on any other Audigy-series drivers, e.g. Audigy 2 ZS?
I'm finding the emu10k1 driver in alsa-driver-1.0.5a has serious problems
with random intermittent distortion of the soundfont samples while they are
being played on the soundcard's MIDI synthesiser, e.g. using aplaymidi -p 65:0.
Random intermittent distortion means, e.g. the sound during MIDI playback
becomes muffled for a minute or two and then returns to normal sound
quality, or the sound wrongly becomes mono for a few seconds, and then
returns to stereo.
Also, it seems emu10k1 does not load soundfonts correctly,
especially if you ever use any really large 25MB soundfonts.
I don't have an Audigy 2 ZS, so unless someone donates one, I can't help 
you there.

At the moment I also have an Audigy LS (5.1) which seems to have
similar problems to the Audigy 2 ZS.

Can you post to a web site your soundfonts file, and instructions on how 
to use them with the creative cards, I might be able to help.

The 25MB piano soundfont is here:
http://www.wstco.com/pianosounds/freesoundfont.htm
Please note the author Warren has told me his soundfont is not re-distributable.
ALSA soundfont loading:  asfxload WST25FStein_00Aug14.SF2
ALSA OSS-mode soundfont loading:  sfxload WST25FStein_00Aug14.SF2
Sample MIDI files for piano: http://members.aol.com/sdrodrian/
 $ aplaymidi -l
  PortClient name  Port name
  62:0Midi Through Midi Through Port-0
  64:0Audigy MPU-401 (UART) - Rawmidi  Audigy MPU-401 (UART)
  64:32   Audigy MPU-401 (UART) - Rawmidi  Audigy MPU-401 #2
  65:0Emu10k1 WaveTableEmu10k1 Port 0
  65:1Emu10k1 WaveTableEmu10k1 Port 1
  65:2Emu10k1 WaveTableEmu10k1 Port 2
  65:3Emu10k1 WaveTableEmu10k1 Port 3
  72:0Virtual Raw MIDI 1-0 VirMIDI 1-0
  73:0Virtual Raw MIDI 1-1 VirMIDI 1-1
  74:0Virtual Raw MIDI 1-2 VirMIDI 1-2
  75:0Virtual Raw MIDI 1-3 VirMIDI 1-3
 $ aplaymidi -p 65:0 midi_music_file.mid
An even better test would be to do some experiments on an Audigy using
Rosegarden 4 0.9.8 for MIDI playback, JACK audio, etc
http://www.rosegardenmusic.com/

I have a cheepo Audigy 2 (old version) that I might be able to reproduce 
your problems on.

I don't work with MIDI much, which is why I have not added MIDI support 
to the Audigy LS driver at the moment.

I hope you will add MIDI support; I think it would be a great improvement. 

William

I have played some .mid files now, but I have not noticed any problems 
with my Audigy 2.

When I downloaded the fonts file, mine had a different name to yours.
Yours: WST25FStein_00Aug14.SF2
Mine: WST25FStein_00Sep22.SF2
Can you provide me with a .mid file that shows the problems and is easy 
to reproduce the problems?

Cheers
James
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread William
James Courtier-Dutton wrote:
 I have played some .mid files now, but I have not noticed any problems 
 with my Audigy 2.
 
 When I downloaded the fonts file, mine had a different name to yours.
 Yours: WST25FStein_00Aug14.SF2
 Mine: WST25FStein_00Sep22.SF2

It makes no difference which of these two soundfonts is used.

 Can you provide me with a .mid file that shows the problems and is easy 
 to reproduce the problems?

As I said in my original email, the sound distortion problem is intermittent.
I haven't found a way to reproduce it.  However, if I use emu10k1 for MIDI
I usually encounter the sound distortion problem at least once every hour or so.
It seems to be a driver problem; it's not dependent on a particular MIDI file.

Steve Conrad was the first to mention an emu10k1 problem with soundfonts:
https://sourceforge.net/mailarchive/message.php?msg_id=7897993
The soundfont problem seems to occur whenever I first load the 25MB piano
soundfont and then later load the manufacturer's synthgm.sbk
soundfont (http://christian.datzko.ch/computer/synthgm.sbk).
Many but not all instruments are silent (piano usually works).

William


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread Takashi Iwai
At Tue, 1 Jun 2004 14:58:38 +0100,
William wrote:
 
 James Courtier-Dutton wrote:
  William wrote:
  James Courtier-Dutton wrote:
  
 Audigy LS driver is now ready for inclusion into alsa-driver.
 Get it from http://www.superbug.demon.co.uk/alsa
  
  Are you going to work on any other Audigy-series drivers, e.g. Audigy 2 ZS?
  I'm finding the emu10k1 driver in alsa-driver-1.0.5a has serious problems
  with random intermittent distortion of the soundfont samples while they are
  being played on the soundcard's MIDI synthesiser, e.g. using aplaymidi -p 65:0.
  Random intermittent distortion means, e.g. the sound during MIDI playback
  becomes muffled for a minute or two and then returns to normal sound
  quality, or the sound wrongly becomes mono for a few seconds, and then
  returns to stereo.
  Also, it seems emu10k1 does not load soundfonts correctly,
  especially if you ever use any really large 25MB soundfonts.
  
  I don't have an Audigy 2 ZS, so unless someone donates one, I can't help 
  you there.
 
 At the moment I also have an Audigy LS (5.1) which seems to have
 similar problems to the Audigy 2 ZS.
 
  Can you post to a web site your soundfonts file, and instructions on how 
  to use them with the creative cards, I might be able to help.
 
 The 25MB piano soundfont is here:
 http://www.wstco.com/pianosounds/freesoundfont.htm
 Please note the author Warren has told me his soundfont is not re-distributable.
 
 ALSA soundfont loading:  asfxload WST25FStein_00Aug14.SF2
 ALSA OSS-mode soundfont loading:  sfxload WST25FStein_00Aug14.SF2

check /proc/asound/card0/wavetableD* file whether all instruments are
loaded.  you can see there the memory usage,  number of instruments,
etc.


Takashi


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread William
Takashi Iwai wrote:
 William wrote:
 Random intermittent distortion means, e.g. the sound during MIDI playback
 becomes muffled for a minute or two and then returns to normal sound
 quality, or the sound wrongly becomes mono for a few seconds, and then
 returns to stereo.
 Also, it seems emu10k1 does not load soundfonts correctly,
 especially if you ever use any really large 25MB soundfonts.
 
 The 25MB piano soundfont is here:
 http://www.wstco.com/pianosounds/freesoundfont.htm
 Please note the author Warren has told me his soundfont is not re-distributable.
 
 ALSA soundfont loading:  asfxload WST25FStein_00Aug14.SF2
 ALSA OSS-mode soundfont loading:  sfxload WST25FStein_00Aug14.SF2
 
 check /proc/asound/card0/wavetableD* file whether all instruments are
 loaded.  you can see there the memory usage,  number of instruments,
 etc.

Experiment 1:
-

Load the 25MB piano soundfont file:
 $ asfxload /tmp/WST25FStein_00Aug14.SF2 
 $ cat /proc/asound/card0/wavetableD*
Device: Emu10k1
Ports: 4
Addresses: 65:0 65:1 65:2 65:3
Use Counter: 0
Max Voices: 64
Allocated Voices: 0
Memory Size: 134217728
Memory Available: 108226960
Allocated Blocks: 45
SoundFonts: 1
Instruments: 4078
Samples: 44
Locked Instruments: 4078
Locked Samples: 44
 $ wget http://members.aol.com/myworks/r-c-no02.mid
 $ aplaymidi -p 65:0 r-c-no02.mid
In this case, you can hear music from the Audigy 2 ZS.

Experiment 2:
-

Load the manufacturer's Standard GM Midi file:
 $ asfxload /etc/synthgm.sbk 
 $ cat /proc/asound/card0/wavetableD*
Device: Emu10k1
Ports: 4
Addresses: 65:0 65:1 65:2 65:3
Use Counter: 0
Max Voices: 64
Allocated Voices: 0
Memory Size: 134217728
Memory Available: 134213632
Allocated Blocks: 1
SoundFonts: 1
Instruments: 569
Samples: 152
Locked Instruments: 569
Locked Samples: 152

 $ wget http://members.aol.com/myworks/r-c-no02.mid
 $ aplaymidi -p 65:0 r-c-no02.mid

In this case, there is total silence from the Audigy 2 ZS.

William


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread Takashi Iwai
At Tue, 1 Jun 2004 16:46:45 +0100,
William wrote:
 
 Experiment 2:
 -
 
 Load the manufacturer's Standard GM Midi file:
  $ asfxload /etc/synthgm.sbk 
  $ cat /proc/asound/card0/wavetableD*
 Device: Emu10k1
 Ports: 4
 Addresses: 65:0 65:1 65:2 65:3
 Use Counter: 0
 Max Voices: 64
 Allocated Voices: 0
 Memory Size: 134217728
 Memory Available: 134213632

only 4096 bytes (= 1 page) allocated.  i guess this file is for ROM
soundfonts on SB AWE boards, not for SB Live/Audigy?


Takashi


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread William
Takashi Iwai wrote:
 William wrote:
 
 Experiment 2:
 -
 
 Load the manufacturer's Standard GM Midi file:
  $ asfxload /etc/synthgm.sbk 
  $ cat /proc/asound/card0/wavetableD*
 Device: Emu10k1
 Ports: 4
 Addresses: 65:0 65:1 65:2 65:3
 Use Counter: 0
 Max Voices: 64
 Allocated Voices: 0
 Memory Size: 134217728
 Memory Available: 134213632
 
 only 4096 bytes (= 1 page) allocated.  i guess this file is for ROM
 soundfonts on SB AWE boards, not for SB Live/Audigy?

That's odd because the file is 34832 bytes long
(see http://christian.datzko.ch/computer/synthgm.sbk)

Why is asfxload not loading the file properly?

William


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread Takashi Iwai
At Tue, 1 Jun 2004 17:43:08 +0100,
William wrote:
 
 Takashi Iwai wrote:
  William wrote:
  
  Experiment 2:
  -
  
  Load the manufacturer's Standard GM Midi file:
   $ asfxload /etc/synthgm.sbk 
   $ cat /proc/asound/card0/wavetableD*
  Device: Emu10k1
  Ports: 4
  Addresses: 65:0 65:1 65:2 65:3
  Use Counter: 0
  Max Voices: 64
  Allocated Voices: 0
  Memory Size: 134217728
  Memory Available: 134213632
  
  only 4096 bytes (= 1 page) allocated.  i guess this file is for ROM
  soundfonts on SB AWE boards, not for SB Live/Audigy?
 
 That's odd because the file is 34832 bytes long
 (see http://christian.datzko.ch/computer/synthgm.sbk)

a soundfonts file includes not only the wave data but also the
instrument layer meta data.  in the case of ROM fonts, it includes
only meta data.

 Why is asfxload not loading the file properly?

it does :)


Takashi


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] [PATCH] Audigy LS driver ready for inclusion into alsa-driver.

2004-06-01 Thread William
Takashi Iwai wrote:
 William wrote:
 Takashi Iwai wrote:
  
  only 4096 bytes (= 1 page) allocated.  i guess this file is for ROM
  soundfonts on SB AWE boards, not for SB Live/Audigy?
 
 That's odd because the file is 34832 bytes long
 (see http://christian.datzko.ch/computer/synthgm.sbk)
 
 a soundfonts file includes not only the wave data but also the
 instrument layer meta data.  in the case of ROM fonts, it includes
 only meta data.

So, the problem is that synthgm.sbk has meta data but not wave data.
I can't see any option in asfxload to check whether a soundfont file
has meta data only or both wave data and meta data.
It would be useful.  alsa-utils / alsa-tools also don't seem to have
anything for checking this.

 Why is asfxload not loading the file properly?
 
 it does :)

It would be nicer if asfxload gave a warning when the soundfont only
has meta data and the soundcard does not have any ROM soundfont.

William


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel