This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

audio autocorrelation python
I'm making this post because I'm having issues with a python script I'm trying to create using phyphox. I would like to use the audio autocorellation experiment on my phone and for my python script to find what note is beind detected. I think the name of the value next to musical note is called "semitonesRound". However my knowledge in python is limited and I do not know how to print the value found next to the musical note. Would anyone be so kind as to help me ?

My code so far:

PP_ADDRESS = "http://###.###"
PP_CHANNELS = ["semitonesRound"]

import requests

while True:
    url = PP_ADDRESS + "/get?" + ("&".join(PP_CHANNELS))
    data = requests.get(url=url).json()
The text itself is not shared by the REST interface. Technically, you have identified the right buffer, however, it is used to map to a predefined text, see

All these “[[musical_note_*]]” are taken from a translation list and “0” in “semitonesRound” corresponds to A440.

Forum Jump: