Nsound

0.9.4 Beta

A library to help you with your write shape waveforms easily and afterward, conveniently integrate them into plots or write them to disk

Nsound is a C++ library and Python module designed for audio synthesis featuring dynamic digital filters. The main role of the package is to help you create shape waveforms which you can write to disk or plot using other third-party tools.
Considering that the audio data represented within the library is available as a floating point number between -1.0 and 1.0, it makes it easier for you to scale the data. To put it simply, you can just adjust the volume by multiplying the data by a number between 0.0 and 1.0.
As previously mentioned, the waveforms can be written to disk. However, you should bear in mind that the audio data is only converted to 8-bit, 16-bit, 24-bit, 32-bit or 64-bit with the Wavefile class.
Nevertheless, you can generate audio, shape the waveform and mix it all together. For instance, thanks to the generators, you can produce oscillations of the waveform. The oscillations can either be a small variation of the original waveform or, depending on your project, you can dynamically change the frequency. You can achieve the latter by drawing a line that you set as frequency and then pass it into the generator.

System requirements