you can achieve this using libraries such as NumPy and SciPy. Below is a sample code to generate the sound of a major second interval
Memol66/a-major-second-interval
you can achieve this using libraries such as NumPy and SciPy. Below is a sample code to generate the sound of a major second interval