错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Employing Python Programming to Synthesize Digital Audio with Pulse Code Modulation

  • Harry David D. Menguito,
  • Jessica Chriselle S. Basa,
  • Louisa Marie L. Orijuela,
  • Natalia Yemena Gavilan,
  • Julius Nicolai T. Navatilan,
  • Ryan Josef S. Corpuz,
  • Sean Daniel M. Lu,
  • Jo-Ann Magsumbol

摘要

This paper focuses on the Python-based synthesis of digital audio using pulse code modulation (PCM). Certain Python modules were imported to make mathematical computations, digital instructions, and the overall synthesis of digital audio possible. The code was written carefully to perform PCM properly, considering various parameters such as the bit depth and sampling rate. With this, the corresponding frequencies and durations of each musical note were applied in the script to cover the song. Repetitive runs were done to ensure that there would be no erroneous factors present in the code. Lastly, the frequency spectrogram of the data was utilized to identify any inconsistencies in the generated music.