After I finished this project, I find an amazing example of using geolocation and data on 知乎 (Chinese Quora). It’s quite similar with my outcome but better than mine.
You can rotate the earth to hear the different sounds come from the different site around the world. And if you long press, it will locate the exact sound source.
Tools and Technical means：
threejs, glsl for building and rendering the sphere.
bump Map, specular Map for chartlet.
gui library in C++ for lighting
After the crit, Tobias advised me to delete some pages because my website only has one function which is to hear the ocean sound. I wanted to build it more professional before, but after that, I realised that simple is a good thing. I only did the UK part so there is no need to put anywhere else in the world. And the time could as the interface of my map page.
(click to play, click again to stop)
I create the icon myself. Looks like google marker and on the top of it looks like waves.
⬆️ calculating closest marker and play the sound automatically.
⬆️calculating closest time.
Time would be a good element for archiving “up-to-date”. So users can hear the sound at this moment. Also data files I downloaded contain the time, which is convenient for me doing this project. For more computer readable, I change the format of time. For example 0 means 00:00, 15 means 00:15, 30 means 00:30, etc.
I was thought to divided the sea level data into four part and play different sounds. And represent the difference value with flocking. the bigger the number, the bigger the mul value, the bigger noise.
Then I testing again and I found the biggest difference value is over 10. For example, at 16:00, sea level data at that moment is 2, but the difference value over there is 10. Then it would sound like baffling. So I decided to associate flocking sounds (0/0.1/0.25/0.5) with each synthetic sounds.
In order to emphasise the importance of time, showing this project is built on the time. I made a new homepage to represent the current time. Try to make it more professional.
World map which has landscape (national boundary lines) and ocean only, keeping the interface simple. There is a thumbnail on top right corner to show different countries’ location on the map. The little red stuff is UK.
Due to a large amount of working, I did the UK-based sound map at this phase.
Click [Locate] to jump to the UK map page.
UK map page:
I used styling wizard Google Maps to change the style of map, to emphasise the point of this project, which is the ocean. And makes it similar to the homepage. Uniform tones. But it looks like UK is a snow and ice land. Still working on it.
Writing 40 station coordinates manually and replace markers by my cute little houses. Then I did the first user testing. And my users pointed out that there is no obvious difference between every day’s sea level data. Why not I take the average data of a whole month and use that?
So I downloaded data of May 01 and recorded the minimum and maximum value and the difference value.
http://naturesoundsfor.me/ and Adobe Audition to generate ocean sounds.
http://flockingjs.org/ to embed the environmental noise (pink noise).
Audiences can hear the generative sound of waves/tides here by locating their position.
Audiences can click somewhere else to hear the sound closest to their friends’ location.
The one who curious about nature and climate and environment and weather and tides.
The one who loves to listen to the purl for getting peaceful and cured and relax.
The one who interested in the synthesising and visualisation by the program.
The technical problems have been solved:
§ Get the data: Sea level station monitoring facility, which provides sea level data. And if I replace the “output=tab” by “output=asc” in the URL, then will get a tab file. Then change the suffix .tab to .csv. Then text to column to separate. Finally I got the data.
§ Import sound in processing:
§ Geolocation and get current position.
§ World map
The technical problems to be solved：
Grab data up to date from over 50 html pages.
I decided to collect some data of tides and ocean waves. Lat/Lng coordinates, sea level temperature, wave height and speed of tides.
I sent emails to NOAA/Sea level monitoring asked them if I can get a copy of data. But NOAA replied me that they only have data for the USA and sent me some other link which might be useful. National Oceanography Centre reply me patiently how to download their temperature and wave height data.
OSCAR (Ocean Surface Current Analyses Real-time) of Earth & Space Research
The best place to access OSCAR data is through the NASA Physical Oceanography Data Center, the PO.DAAC: podaac.jpl.nasa.gov. The website also has an interactive data plotter which allows the user to overlay a variety of ocean properties on one map, including OSCAR. This is the State of the Ocean, providing a means to view ocean conditions over the last 30 days.
Open DAP from podaac:
all program stuff
Although they don’t have UK data, but I found the highest tides worldwide.
PSMSL (Permanent Service for Mean Sea Level)
Thousands of worldwide stations provide metadata of tide gauges, which I don’t understand.
SLSMF (SEA LEVEL STATION MONITORING FACILITY)
The most convince web I found. There are 72/hundurds UK station and each of them has very comprehensive data of sea level and tide gauges, which I think would be my main data source of this project.
It would be nice if I do a different direction. Firstly I was focusing on data visualisation. But that’s all observation stations do. If you want to see the trend of water flow, you absolutely don’t need to watch these on my website. So I was wondering that if I can do something about sound. All relax/meditation website I researched are using pre-recorded audio. What I want to do is synthesising waves sound by myself, using data of sea level, temp, etc. But until now I still have no idea how to make it. I am trying to learn Processing and it has a library.