This is a conceptual question about how a sound card converts digital data to analog.
To illustrate this let's say we have constructed a discrete data which represents a sinusoid with particular number of points per period.
For example, below discrete sinusoid stem plot is composed of 48 points per period of a sine:
Imagine now this digital data is fed to a sound card which has 48kHz sample rate.
Would we hear f = 1/[48 * 1/(48000)] = 1kHz vibration?
Actually I wanted to be sure about this. I want to try this by using a program like Python or MATLAB ect. Do you know how to send such digital data to sound card? Secondly the sine in my question has range -1 to +1. What is the relation between the volume and this amplitude for a 24 bit soundcard?