MATLAB: How to control a speaker through matlab

analog outputni-daqsound

Hi, guys. I want to use a speaker to output sound in certain frequency with certain sampling rate. Now I have a NI DAQ device which can give an analog output, but how can I process the sine wave sound signal to analog voltage signal? Is there some other devices I need to fulfill the function I want?
Related Question