A non-transitory computer-readable storage medium having stored therein a sound processing program which, when executed, causes a computer of an information processing apparatus to at least:
- dispose at least one virtual sound source in a virtual space captured by a virtual camera;
- calculate a sound volume parameter based on a first distance between (i) the virtual sound source and (ii) a sound volume reference line extending from the virtual camera to a position of an object in the virtual space;
- calculate a sound quality parameter based on a second distance between the virtual sound source and the position of the object;
- and
- output a sound associated with the virtual sound source, with a sound volume based on the sound volume parameter and a sound quality based on the sound quality parameter.