Generating musical note from given frequency

26 vues (au cours des 30 derniers jours)
Petros Tsitouras
Petros Tsitouras le 16 Juil 2019
Modifié(e) : the cyclist le 16 Juil 2019
Hello everyone, I would like to generate artificial notes, given a specific frequency. I have consulted the following tutorial but the pitch generated I believe was a bit too high, with a less "warm" sound.
Thank you very much in advance!

Réponses (1)

the cyclist
the cyclist le 16 Juil 2019
There is of course a lot that goes into what a note sounds like, beyond just the frequency.
I expect MATLAB is generating the correct frequency, though. You could check this using an online tuner (e.g. like this one).
  2 commentaires
Petros Tsitouras
Petros Tsitouras le 16 Juil 2019
Modifié(e) : Petros Tsitouras le 16 Juil 2019
Thanks very much for the answer, it was really helpful. In general the hertz were precise, but the cents were a bit off, with the highest deviation being -12.1 from the expected note, while at the same time being the most precise frequency. I am a bit unfamiliar with music terminology so I can not comprehend the value/affect of this.
the cyclist
the cyclist le 16 Juil 2019
Modifié(e) : the cyclist le 16 Juil 2019
Happy to help. The best form of thanks is upvoting and/or accepting an answer. This rewards the contributor, and points future users to helpful answers.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by