Ensoniq es1371 sound



Keywords: ensoniq es1371 sound
Description: The Ensoniq AudioPCI is a low-cost PCI sound card that notably used software to emulate a MIDI synthesizer using a proprietary wave table format. It also supported up to 48kHz PCM input and output

The Ensoniq AudioPCI is a low-cost PCI sound card that notably used software to emulate a MIDI synthesizer using a proprietary wave table format. It also supported up to 48kHz PCM input and output and up to 4 channels in some configurations. It is also the only sound card model currently supported in VMWare virtual machines.

  • Ensure that the PCI Bus Master flag is enabled for the device by setting bit 2 on the PCI Command register (0x04).
  • Reset the controller by writing 0x20 to the Status register (0x04). This flag will automatically reset back to 0 when the reset is complete.
  • Reset the CODEC by writing 0xff to the Codec register (0x14). This only applies to the 1371 AC 97 model and later.
  • Program the Sample Rate Converter to the appropriate sample rate using register 0x10. The specific values needed here must be calculated. See below.
  • Set the Master Volume and PCM Out Volume levels on the CODEC. These are muted by default.
  • Set the Memory Page register (0x0c) to 0x0c. This is the only page needed for audio playback.
  • Set the Playback 2 Buffer Address register (0x38) to the physical address of your audio buffer.
  • Set the Playback 2 Buffer Definition register (0x3c) to the size of the audio buffer, in DWORDS, minus one. This gives a maximum buffer size of 256K.
  • Set the Playback 2 Frame Count register (0x28) to the number of frames to play, minus one. After the last frame is played, an IRQ will be raised.
  • Set the Serial Interface register (0x20) to 0x0020020C to enable 16-bit stereo, interrupts and looped mode on Playback 2.
  • Set the Control register (0x00) to 0x00000020 to enable the Playback 2 DAC.

At this point, the audio should begin playing. You will receive an IRQ when the last requested frame is played. However, in looped mode, the audio will continue playing, and will loop around to the start of the audio buffer when the end of the buffer is reached. By setting the Frame Count register to play half of the audio buffer, you will receive an interrupt when the first half of the buffer has been played. This will allow you to fill the first half of the buffer while the second half is being played, and vice versa. After receiving an interrupt and filling the audio buffer, you must re-enable interrupts by clearing the interrupt enable flag in the Serial Interface register, and then setting it again.

The steps above use the Playback 2 channel to play PCM audio. The Playback 1 channel should work in a similar fashion. However, according to the documentation, it was designed to be used as a software MIDI synthesizer channel.

The Sample Rate Converter allows audio data to be converted to 48 kHz on the fly, and must be programmed with the proper values to perform the conversion from lower sample rates (8, 22, 44.1 kHz, etc.). This process is not well documented in the Ensoniq spec sheets. However, the formulas used to calculate the proper values can be found in various open source drivers for Linux and Windows CE.

The Sample Rate Converter is programmed using the Sample Rate Controller register (0x10). This single 32-bit I/O register is used to both read and write values in several registers located in the Sample Rate Converter's memory on the AudioPCI card.




Photogallery Ensoniq es1371 sound:


Buy Ensoniq Audio PCI 5000 Creative ES1371 audio sound card for ...


Buy Ensoniq Audio PCI 5000 Creative ES1371 audio sound card for ...


Creative audio es1371 es1373 driver - Creative audiopci es1371 ...


Historia de la Creative Sound Blaster - Taringa!


OSDev.org  View topic - Ensoniq AudioPCI 97 (VMWare) Problems


Sound Blaster Audio Pci 64V Drivers, Integrate Driver To Windows ...


Sound Blaster - Wikipedia, the free encyclopedia


Creative 1373 sound driver / Tons of files


ensoniq isa sound cards


VOGONS  View topic - Sound Blaster 16 Clones


Ensoniq PCI Sound Card (SJH/JGD)


maxresdefault.jpg


Historia de la Creative Sound Blaster - Taringa!


Ensoniq PCI Sound Card (SJH/JGD)


Post your Rig's! | PC Systems, Consoles, and Gaming | Crownvic.net


Post your Rig's! | PC Systems, Consoles, and Gaming | Crownvic.net


VOGONS  View topic - Drivers for Dell Sound Blaster Live 5.1 ...


Sound Blaster - Wikipedia, the free encyclopedia