Python中的吉他弦代码? [英] Guitar string code in Python?

查看:154
本文介绍了Python中的吉他弦代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Python的新手,但对编写可模拟吉他弦的代码非常感兴趣.我将如何去做呢?或者至少我将如何开始这样做?感谢您的帮助!

I'm very new at Python but really interested in making a code that could simulate guitar strings. How would I go about doing this? Or at least how would I begin to do this? Any help is appreciated!

谢谢!

我想在弹奏不同的琴弦,音符等时看到声波. 我还对演奏两个不同琴弦时的声波以及当它们发出谐音和辅音时的声音变化感兴趣. 我感兴趣的另一件事是,当不拔弦时,弦有时会振动(共鸣).

I would like to see the sound waves when playing different strings, notes, etc. I am also interested in the sound waves when two different strings are being played, and how that changes when they are dissonant and consonant notes. Another thing I'm interested in is how sometimes strings vibrate when they are not being plucked (resonance).

感谢您的帮助,谢谢!!!

Any help is appreciated, thank you!!!

推荐答案

这确实是声音合成的问题,没有简单的答案.有很多可能的方法-这是整个研究领域. J.O的物理音频信号处理.史密斯(Smith)是一个很好的起点,米勒(Miller)的电子音乐的理论和技术帕克特.对于吉他,您可能特别对 Karpus-Strong方法感兴趣.也许您应该搜索它的Python实现.对于音乐技术专业的学生来说,这是一个共同的项目.我敢肯定有很多.

This is really a question of sound synthesis, and there's no simple answer. There are a whole bunch of possible approaches--it's an entire field of study. Physical Audio Signal Processing by J.O. Smith is a good starting point, as is The Theory and Technique of Electronic Music by Miller Puckette. For guitar, you might particularly be interested in the Karpus-Strong method. Perhaps you should search for a Python implementation of it. It's a common project for students in music technology programs; I'm sure there are many.

这篇关于Python中的吉他弦代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆