Example Code

LabMUSplayer - Decode and Play doom WAD music in windows

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW 2014

    Operating System

  • Windows

Code and Documents

Attachment

Description

Demonstrates playing MUS data in id Tech 1 WAD by intrinsic windows dll function.    

 

While study the doom engine, I came cross Sylvain's LABVAD.

I found it don't display some WAD data well and can't play BGM.

I have fixed these two issues, and this part is for MUS play.    

 

 

How to Use

How to use:

  1. Open front panel of top level vi in LLB
  2. Choose a pre-loaded MUS data in combobox, eg: E1M1
  3. Run the code
  4. Press stop button to stop the player

Only 4 MUS data is pre-loaded in the demo.

Download other WADs and use LVWAD to get more sound tracks

Related Links

Support resource

LABWAD - LLB to open WAD files from Doom & Doom2

Sylvain-Deposit / LabWad

 

File for older version Lv

Proj for Labview 8.6

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Sylvain_
Member
Member
on

Hey, well done! I'm Sylvain, the creator of Labwad. Could you contact me on Github? We can see how to add your part to LabWad.

Contributors