To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example makes use of the Sound Files VIs to read a .wav sound file and selectively play only one of the channels (by default, it is set up for a 2 channel source).
Description
Essentially, this is based on the 'Sound File to Sound Output' shipping example, but with the functionality to select either the Left or Right channel to be played at a time. This may be useful in applications where it is desired to test a multichannel speaker setup, or also as a starting point to send different sound output to each speaker.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
(22^2+222+2^2)/(222+2^2) it takes two to almost make pi
A few minutes of simple changes can dramatically increase the performance of your code, e.g. you can easily gain almost an order of magnitude in speed for "calculate N digits of pi". Significant further improvements are probably possible by digging a little bit deeper.
cool... let's make a competition:"who can create the fastest code (without using external libraries of course and with reliable results)?"