Python Help

Hello, ive been tasked with converting a .arf document into the python language. i have no knowledge of python and i need help doing so. is there anyone who can help me with this?? I am willing to send the file out to anyone who can help.

Someone is misunderstanding something (it may well be me). ARF (as far as I know) is an audio recording format. Python is a programming language. It doesn’t make sense to convert one into the other. Did you mean something other than ARF?

i meant advanced recording format(arf). i know it sounds weird but i have an arf that i need converted into a text document i think then opened in python. it needs to be converted to make a program that realizes the peaks and lows in the arf. All to make a scientists job easier

If you need help writing things in python, then you should probably take a class or do some independent learning.

As far as reading and writing arf in python, there’s a library to do so: arf · PyPI

Ok, just to get the terminology straight, you’re not “converting an arf file to python”, you’re “writing a python program to process an arf file”. The “text document” part sounds like a red herring; you don’t need to convert the arf file to text, you can just process it from the python file directly using the library that Snarky_Kong linked to.

Well, that’s nifty. I haven’t had to use ARF files but we do often get time history acoustic data in CSV files, and for high frequency content for long durations those can be quite large and contain no metadata.

As for the o.p., I think you need to find someone locally that knows the basics of Python/NumPy/SciPy to do what you want. Python is very popular and if nothing else you can check in with a Python Local User Group and explain what you are trying to do and for what end purpose so they can write a script or application that actually gives you what you need. If all you are really doing is just converting an ARF file into a graphical representation that should be trivial but I’m guessing there is a next step in which someone wants to take this data and run some kind of frequency domain analysis to look for patterns which is going to require someone who understands digital signal processing.

Stranger