Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds white, pink and brownian noise to the sound library #125

Merged
merged 3 commits into from
Apr 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added app/src/main/assets/brownian_noise.mp3
Binary file not shown.
Binary file added app/src/main/assets/pink_noise.mp3
Binary file not shown.
Binary file added app/src/main/assets/white_noise.mp3
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Sound private constructor(
val LIBRARY = mapOf(
"birds" to Sound("birds", R.string.birds),
"bonfire" to Sound("bonfire", R.string.bonfire),
"brownian_noise" to Sound("brownian_noise", R.string.brownian_noise),
"coffee_shop" to Sound("coffee_shop", R.string.coffee_shop),
"distant_thunder" to Sound("distant_thunder", R.string.distant_thunder, false),
"heavy_rain" to Sound("heavy_rain", R.string.heavy_rain),
Expand All @@ -35,12 +36,14 @@ class Sound private constructor(
"moving_train" to Sound("moving_train", R.string.moving_train),
"night" to Sound("night", R.string.night),
"office" to Sound("office", R.string.office),
"pink_noise" to Sound("pink_noise", R.string.pink_noise),
"rolling_thunder" to Sound("rolling_thunder", R.string.rolling_thunder, false),
"seaside" to Sound("seaside", R.string.seaside),
"soft_wind" to Sound("soft_wind", R.string.soft_wind),
"thunder_crack" to Sound("thunder_crack", R.string.thunder_crack, false),
"train_horn" to Sound("train_horn", R.string.train_horn, false),
"water_stream" to Sound("water_stream", R.string.water_stream),
"white_noise" to Sound("white_noise", R.string.white_noise),
"wind_chimes_of_shells" to Sound("wind_chimes_of_shells", R.string.wind_in_chimes_of_shells),
"wind_in_palm_trees" to Sound("wind_in_palm_trees", R.string.wind_in_palm_trees)
)
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<string name="stop">बंद करे</string>
<string name="birds">पक्षी</string>
<string name="bonfire">होलिका</string>
<string name="brownian_noise">ब्राउनियन नॉइज़</string>
<string name="coffee_shop">काफी की दूकान</string>
<string name="distant_thunder">दूरी पर गड़गड़ाहट</string>
<string name="heavy_rain">भारी वर्षा</string>
Expand All @@ -24,12 +25,14 @@
<string name="moving_train">चलती ट्रेन</string>
<string name="night">रात</string>
<string name="office">कार्यालय</string>
<string name="pink_noise">पिंक नॉइज़</string>
<string name="rolling_thunder">घूमती गड़गड़ाहट</string>
<string name="seaside">समुंदर के किनारे</string>
<string name="soft_wind">शीतल हवा</string>
<string name="thunder_crack">बिजली के कड़कने की आवाज़</string>
<string name="train_horn">ट्रेन हॉर्न</string>
<string name="water_stream">पानी की धारा</string>
<string name="white_noise">वाइट नॉइज़</string>
<string name="wind_in_palm_trees">खजूर के पेड़ में पवन</string>
<string name="wind_in_chimes_of_shells">गोले की झंकार में हवा</string>
<string name="app_description">कम से कम पृष्ठभूमि शोर के साथ, उत्पादकता और विश्राम को बढ़ावा दे।</string>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<string name="stop">Stop</string>
<string name="birds">Birds</string>
<string name="bonfire">Bonfire</string>
<string name="brownian_noise">Brownian Noise</string>
<string name="coffee_shop">Coffee shop</string>
<string name="distant_thunder">Distant thunder</string>
<string name="heavy_rain">Heavy rain</string>
Expand All @@ -25,12 +26,14 @@
<string name="moving_train">Moving train</string>
<string name="night">Night</string>
<string name="office">Office</string>
<string name="pink_noise">Pink Noise</string>
<string name="rolling_thunder">Rolling thunder</string>
<string name="seaside">Seaside</string>
<string name="soft_wind">Soft wind</string>
<string name="thunder_crack">Thunder crack</string>
<string name="train_horn">Train horn</string>
<string name="water_stream">Water stream</string>
<string name="white_noise">White noise</string>
<string name="wind_in_palm_trees">Wind in Palm trees</string>
<string name="wind_in_chimes_of_shells">Wind in chimes of shells</string>
<string name="app_description">Relax and boost productivity with minimal background noise</string>
Expand Down