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

Add sound icons #601

Merged
merged 10 commits into from
May 2, 2021
Merged

Add sound icons #601

merged 10 commits into from
May 2, 2021

Conversation

ashutoshgngwr
Copy link
Member

@ashutoshgngwr ashutoshgngwr commented Apr 22, 2021

Changes

  • Update sound library UI
  • Add two demo icons

Testing

  • Tested on a physical device
  • Added or modified unit test cases

Others

How to add new icons

  • Icons will be placed as end-aligned backgrounds in list items, so consider the following.
    • Icon height can be up to 126dp. There's no restriction on width, but the icon shouldn't be too wide.
    • Keep your icons monochrome.
    • Background container has horizontal padding set by default but there's no vertical padding. See the howling wolf icon in the preview. Add vertical padding to your icons, horizontal padding is optional.
  • Create a vector drawable of the icon using Android Studio.
  • Add icon and its credits to the Sound class.
  • See commit 18e7b37 for reference.
  • Create new PRs against branch feat/sound-icons so we can merge your changes to this pull request.

Preview

1 2

@codecov
Copy link

codecov bot commented Apr 22, 2021

Codecov Report

Merging #601 (32db74a) into master (04d9583) will increase coverage by 0.35%.
The diff coverage is 94.94%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #601      +/-   ##
============================================
+ Coverage     82.65%   83.00%   +0.35%     
  Complexity        3        3              
============================================
  Files            37       37              
  Lines          1954     2042      +88     
  Branches        281      283       +2     
============================================
+ Hits           1615     1695      +80     
- Misses          142      149       +7     
- Partials        197      198       +1     
Flag Coverage Δ Complexity Δ
android 82.19% <94.94%> (+0.41%) 3.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...hub/ashutoshgngwr/noice/fragment/DialogFragment.kt 67.02% <64.00%> (-0.59%) 0.00 <0.00> (ø)
...hutoshgngwr/noice/fragment/SoundLibraryFragment.kt 84.05% <91.83%> (+0.59%) 0.00 <0.00> (ø)
...hutoshgngwr/noice/fragment/RandomPresetFragment.kt 71.42% <100.00%> (+6.72%) 0.00 <0.00> (ø)
...java/com/github/ashutoshgngwr/noice/model/Sound.kt 99.66% <100.00%> (+0.07%) 0.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04d9583...32db74a. Read the comment docs.

@Watson15683
Copy link
Contributor

The Design looks quite promising. I tried to match your style and also made two Images, in Inkscape. One for "River" and one for "Ship".

grafik
grafik

I know these are not Vector Graphics, but GitHub does not accept the "svg" format, so i converted them. If you want the svg, i would be happy to send them to you, if you tell me how.
Unfortunately i am not as technically gifted as to implement the Images myself.

Questions

Are the Images generally acceptable? If not how to improve.
Is it ok if i just send you the ".svg" Images?
Do you want me to make more Images? (I could make approximately two per week, since I am quit busy due to school)

@ashutoshgngwr
Copy link
Member Author

Hey @Watson15683 Thanks for the quick reply!

Are the Images generally acceptable?

This is great work really. Much better than anything I could find on The Noun Project.

If not how to improve.

  • It'd be easier to import these images if they were tinted black.
  • I also think that wider images would look better, but I am not entirely sure. While implementing the UI, I had a 16:9 aspect ratio in consideration.

Is it ok if i just send you the ".svg" Images?

Yes, that's perfectly fine. I can import them to the Android project myself.

Do you want me to make more Images? (I could make approximately two per week, since I am quit busy due to school)

If you could speed it up a little, that'd be much better. We have 35 sounds in total and that'd take you 17 weeks at your current speed, which is a little too much. If drawing is too much work and you think you won't be able to do it any faster, just let me know and I can always fall back to The Noun Project.

As for attaching files, GitHub luckily supports zip. :)

@Watson15683
Copy link
Contributor

Watson15683 commented Apr 23, 2021

Proposal for the Icons

I made a few more Images. I think it is a good Idea that you choose the ones you like and the ones that work with the Design of the app and substitute the ones you do not like and the missing ones with Images form the TheNounProject or an other source.

To Do

I did not figure out how the padding thing works, so please add padding manually to the Images.

Summary:

Missing:
Electric car, Moving train, crickets, Screeching seagulls, Purring cat, Quiet conversation

Done by Watson15683:
Airplane in-flight, Airplane seat-belt beeps, Creaking ship, Train horn, Walking through the snow, Human heartbeat, Thunder crack, Distant thunder, Light rain, Moderate rain, Rolling thunder, Heavy rain, Morning in a village , Night, Seaside, Water stream, Water hose, Soft wind, Wind in chimes of shells, Wind in palm trees, Office, Bonfire, Coffee shop, Public library, Brownian noise, Pink noise, white_noise

Done by ashutoshgngwr:
Howling wolf, Birds

Here are the files:
Github.tar.gz

@ashutoshgngwr
Copy link
Member Author

Hi @Watson15683 I am importing these icons as I write this.

I think it is a good Idea that you choose the ones you like

I think overall consistency of icon style outweighs individual icons. I'd prefer all of them to be in the same style.

I did not figure out how the padding thing works, so please add padding manually to the Images.

That's alright.

Missing:
Electric car, Moving train, crickets, Screeching seagulls, Purring cat, Quiet conversation

Please draw these as well.

Done by ashutoshgngwr:
Howling wolf, Birds

I wish. 😅

Perhaps you can draw these as well to match the style of other icons..?

Here are the files:
Github.tar.gz

Thank you so much!!

@Watson15683
Copy link
Contributor

Hey :-)

I will try to do the missing Images in the following week.

And before i forget, i realised that the letters i put on the "Noise Generators" are not true Vektors but Fonts, and therefore depend on the fonts that are installed on the device. So they might look diffrent from one device to another.
Maybe the font can somehow be converted to a true Vector.

@ashutoshgngwr
Copy link
Member Author

@Watson15683 Yeah, I converted it to a path on my machine. Don't know what font you originally used, but it looks good.

On a side note, perhaps you can edit the shape of the cloud in rain icons? It doesn't look, IMO.

@Watson15683
Copy link
Contributor

I will put it on my list. I am actually not happy with the rain cloud as well :-)

@Watson15683
Copy link
Contributor

What is IMO? XD

@ashutoshgngwr
Copy link
Member Author

What is IMO? XD

...in my opinion. xD

@ashutoshgngwr
Copy link
Member Author

Is this the font you used?

1

@ashutoshgngwr
Copy link
Member Author

The icons in the monsoon section look a little cluttery. All other icons look good. A few icons are missing. Any suggestions?

@Watson15683 I have also optimised birds and howling wolf icons to match the current style so you don't need to draw them again.

1 2
3 4
5 6
7 8

@Watson15683
Copy link
Contributor

Hey :-)

First thank you for sharing all the screenshot, it rly helps to get a better idea of what we are talking about and how the images feel in the app.

The icons in the monsoon section look a little cluttery.

Suggestions that mabye could help unclutter the Monsoon Section:

  • make the geometry simple
  • make the cloud not a "solid" object, but add holes or sth like that, to reduce the overall gray area.
  • maybe make the images smaller or add more padding

All other icons look good.

I agree, mybe i will revisit the Coffe Mug in the Future, but for now i will focus on the missing items :-)

I have also optimised birds and howling wolf icons to match the current style so you don't need to draw them again.

Thank you :-)

to the "Noise Generators"

Is this the font you used?

Not even close.. xD

I made an updated version. (Things i changed marked in red) If you think the old letters work better in the design, please simly change them back :-)

grafik

Here are the updated files:
New Noise Genertators.tar.gz

@ashutoshgngwr
Copy link
Member Author

ashutoshgngwr commented Apr 25, 2021

@Watson15683 I had to increase the stroke width of most of these icons. I might have to do it again and it may end up looking the same. I'll replace it as soon as I can.


Edit:

I copy pasted the clouds in monsoon section. Don't know how would I do what I suggested.

@ashutoshgngwr
Copy link
Member Author

Updated icons
1

@Watson15683
Copy link
Contributor

Hey ashutoshgngwr :-)

I think i am finished now with the Images.

Please read the ReadMe files in the folders for further information.

Missing and Fixed Images.tar.gz

@ashutoshgngwr
Copy link
Member Author

ashutoshgngwr commented May 1, 2021

That's everything. Thanks @Watson15683

1 2
3 4
5 6
7 8
9

@ashutoshgngwr ashutoshgngwr marked this pull request as ready for review May 2, 2021 01:10
@ashutoshgngwr ashutoshgngwr merged commit da53714 into master May 2, 2021
@ashutoshgngwr ashutoshgngwr deleted the feat/sound-icons branch May 2, 2021 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Images for sounds
2 participants