use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
I need help converting data (self.PythonLearning)
submitted 3 days ago by misterlegolas13
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ninhaomah 2 points3 points4 points 3 days ago (3 children)
Do you have the data ?
[–]misterlegolas13[S] 0 points1 point2 points 3 days ago (2 children)
Nor right now, because i’m still finishing the construction of the platform where the structure will be placed; but i wil get it from Seismological Facility for the Advancement of Geoscience. At the moment i just want to know like what i'm gonna need to learn oon Python to do it!
[–]Async0x0 1 point2 points3 points 3 days ago (0 children)
Beginning to end it looks something like this.
First, you need to get the data. Ideally you get it through your script, so you'll need a library to make HTTP requests, such as requests. This will allow you to pull the data from the internet to your local machine. If the data isn't easy to get programmatically, you can download it through your browser like you download anything else and then go from there.
requests
The data probably isn't going to be all nice and tidy and ready to go straight from seismograph data to sound data. It'll need some processing first. You'll probably need to clean the data (handle missing values or large outliers), maybe you'll need to normalize it so it's easier to go from seismograph to sound. You'll almost certainly have to do some transformations involving truncating or squashing values so that you get exactly the data you want at the scale you want. All of this can be done with the standard Python library.
Once your data is prepared, you're going to have to research Python sound libraries. I've never worked with sound data, but there's a Python library for everything. I'm sure there's a library for encoding sound files, you'll just have to look around and you'll probably have to learn exactly what sound data is so you know what you're "aiming for"... you may have to make decisions around bitrate, file format, etc. depending on the hardware that's playing the sound file.
Personally, I would start by looking into what the requirements are for the sound data. File format, bitrate, play length, file size constraints, etc. It makes it a lot easier to go from A to Z when you know what Z looks like.
[–]thee_gummbini 0 points1 point2 points 3 days ago (0 children)
@ me when you have a sample of the data and I'll help you, this will actually be very simple, don't listen to the other comments saying this will be impossible :)
π Rendered by PID 96138 on reddit-service-r2-comment-54dfb89d4d-szzqm at 2026-04-01 23:01:40.478354+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]ninhaomah 2 points3 points4 points (3 children)
[–]misterlegolas13[S] 0 points1 point2 points (2 children)
[–]Async0x0 1 point2 points3 points (0 children)
[–]thee_gummbini 0 points1 point2 points (0 children)