diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..23de6e2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,88 @@
+# Built application files
+*.apk
+*.aar
+*.ap_
+*.aab
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+*.class
+
+# Generated files
+bin/
+gen/
+out/
+# Uncomment the following line in case you need and you don't have the release build type files in your app
+# release/
+
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+*.log
+
+# Android Studio Navigation editor temp files
+.navigation/
+
+# Android Studio captures folder
+captures/
+
+# IntelliJ
+*.iml
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/gradle.xml
+.idea/assetWizardSettings.xml
+.idea/dictionaries
+.idea/libraries
+# Android Studio 3 in .gitignore file.
+.idea/caches
+.idea/modules.xml
+# Comment next line if keeping position of elements in Navigation Editor is relevant for you
+.idea/navEditor.xml
+
+# Keystore files
+# Uncomment the following lines if you do not want to check your keystore files in.
+#*.jks
+#*.keystore
+
+# External native build folder generated in Android Studio 2.2 and later
+.externalNativeBuild
+.cxx/
+
+# Google Services (e.g. APIs or Firebase)
+# google-services.json
+
+# Freeline
+freeline.py
+freeline/
+freeline_project_description.json
+
+# fastlane
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
+fastlane/test_output
+fastlane/readme.md
+
+# Version control
+vcs.xml
+
+# lint
+lint/intermediates/
+lint/generated/
+lint/outputs/
+lint/tmp/
+# lint/reports/
+
+# Android Profiling
+*.hprof
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..ac6c671
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+Tuner
\ No newline at end of file
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..3cc336b
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..79ee123
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..61a9130
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..0605686
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..d5d35ec
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000..e497da9
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..f288702
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/README.md b/README.md
index 3cdd995..8ca7842 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,78 @@
-# tunerly
+[](https://www.gnu.org/licenses/gpl-3.0)
-Instrument Pitch Tuner for Android
\ No newline at end of file
+# Tunerly
+
+
+
+
+
+
+
+Tunerly is suited for tuning your Guitar, Bass or Ukulele to various different tunings. It also includes a chromatic tuner.
+Currently supported languages are: English, Finnish, German, Russian and Basque.
+
+## Screenshots
+
+
+
+## Supported Instrument Tunings
+
+ * Guitar:
+
+ * Standard
+
+ * 7 String
+
+ * 8 String
+
+ * E-Flat
+
+ * Drop D
+
+ * Drop Db
+
+ * Double Drop D
+
+ * DADGAD
+
+ * Open D
+
+ * Open A
+
+ * Open E
+
+ * Open G
+
+ * Open B
+
+ * Bass
+
+ * 4 String
+
+ * 5 String
+
+ * 6 String
+
+ * Drop D
+
+ * D Standard
+
+ * Drop C
+
+ * Ukulele
+
+ * C (Standard)
+
+ * D (Traditional)
+
+ * Baritone
+
+ * Bass
+
+## Dependencies
+
+ * [TarsosDSP](https://github.com/JorenSix/TarsosDSP) - A Real-Time Audio Processing Framework in Java
+
+ * [Localization](https://github.com/akexorcist/Localization) - [Android] In-app language changing library
diff --git a/app/.gitignore b/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
new file mode 100644
index 0000000..228cb51
--- /dev/null
+++ b/app/build.gradle
@@ -0,0 +1,45 @@
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+
+android {
+ compileSdkVersion 32
+
+ defaultConfig {
+ android.defaultConfig.vectorDrawables.useSupportLibrary = true
+ applicationId "com.tunerly"
+ minSdkVersion 16
+ targetSdkVersion 32
+ versionCode 8
+ versionName "1.0.7"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+
+ buildFeatures {
+ viewBinding true
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: "libs", include: ["*.jar"])
+ implementation 'androidx.core:core-ktx:1.7.0'
+ implementation 'androidx.appcompat:appcompat:1.4.1'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
+ implementation 'androidx.cardview:cardview:1.0.0'
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+ implementation 'androidx.preference:preference-ktx:1.2.0'
+ implementation 'com.akexorcist:localization:1.2.9'
+ implementation files('libs/TarsosDSP-2.4.jar')
+ implementation 'androidx.preference:preference-ktx:1.2.0'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
+ implementation("org.jetbrains.kotlin:kotlin-reflect:1.5.0")
+}
\ No newline at end of file
diff --git a/app/libs/TarsosDSP-2.4.jar b/app/libs/TarsosDSP-2.4.jar
new file mode 100644
index 0000000..7471eac
Binary files /dev/null and b/app/libs/TarsosDSP-2.4.jar differ
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/app/src/androidTest/java/com/example/tuner/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/example/tuner/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..67a0002
--- /dev/null
+++ b/app/src/androidTest/java/com/example/tuner/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
+package com.example.tuner
+
+import androidx.test.platform.app.InstrumentationRegistry
+import androidx.test.ext.junit.runners.AndroidJUnit4
+
+import org.junit.Test
+import org.junit.runner.RunWith
+
+import org.junit.Assert.*
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+@RunWith(AndroidJUnit4::class)
+class ExampleInstrumentedTest {
+ @Test
+ fun useAppContext() {
+ // Context of the app under test.
+ val appContext = InstrumentationRegistry.getInstrumentation().targetContext
+ assertEquals("com.example.tuner", appContext.packageName)
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..35eefb3
--- /dev/null
+++ b/app/src/main/AndroidManifest.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/AboutActivity.kt b/app/src/main/java/com/tunerly/AboutActivity.kt
new file mode 100644
index 0000000..344543e
--- /dev/null
+++ b/app/src/main/java/com/tunerly/AboutActivity.kt
@@ -0,0 +1,36 @@
+package com.tunerly
+
+import android.os.Bundle
+import android.view.MenuItem
+import com.akexorcist.localizationactivity.ui.LocalizationActivity
+import com.example.tuner.R
+import com.example.tuner.databinding.ActivityAboutBinding
+
+
+class AboutActivity : LocalizationActivity() {
+ private lateinit var binding: ActivityAboutBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ binding = ActivityAboutBinding.inflate(layoutInflater)
+ val view = binding.root
+ setContentView(view)
+
+ setSupportActionBar(binding.toolbar)
+ supportActionBar?.title = getString(R.string.about)
+ supportActionBar?.setDisplayHomeAsUpEnabled(true)
+
+ val versionName: String = packageManager.getPackageInfo(packageName, 0).versionName
+ binding.versionTextView.text = versionName
+ }
+
+ override fun onOptionsItemSelected(item: MenuItem): Boolean {
+ when (item.itemId) {
+ android.R.id.home -> {
+ onBackPressed()
+ return true
+ }
+ }
+ return super.onOptionsItemSelected(item)
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/Dialog.kt b/app/src/main/java/com/tunerly/Dialog.kt
new file mode 100644
index 0000000..1f6dd49
--- /dev/null
+++ b/app/src/main/java/com/tunerly/Dialog.kt
@@ -0,0 +1,34 @@
+package com.tunerly
+
+import android.app.AlertDialog
+import android.app.Dialog
+import android.os.Build
+import android.os.Bundle
+import android.text.Html
+import android.text.Spanned
+import androidx.core.text.HtmlCompat
+import androidx.fragment.app.DialogFragment
+import com.example.tuner.R
+
+class Dialog : DialogFragment() {
+ override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
+
+ val builder: AlertDialog.Builder = AlertDialog.Builder(activity)
+ val title: String = getString(R.string.popup_title)
+ val text: String = getString(R.string.popup)
+ val ok: String = getString(R.string.ok)
+ builder.setTitle(title)
+ builder.setMessage(getSpannedText(text))
+ builder.setPositiveButton(ok) { _, _ ->
+ }
+ return builder.create()
+ }
+
+ private fun getSpannedText(text: String): Spanned? {
+ return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
+ Html.fromHtml(text, Html.FROM_HTML_MODE_COMPACT)
+ } else {
+ HtmlCompat.fromHtml(text, HtmlCompat.FROM_HTML_MODE_LEGACY)
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/MainActivity.kt b/app/src/main/java/com/tunerly/MainActivity.kt
new file mode 100644
index 0000000..d08923e
--- /dev/null
+++ b/app/src/main/java/com/tunerly/MainActivity.kt
@@ -0,0 +1,362 @@
+package com.tunerly
+
+import android.Manifest
+import android.content.Context
+import android.content.Intent
+import android.content.pm.PackageManager
+import android.os.Build
+import android.os.Bundle
+import android.util.Log
+import android.util.TypedValue
+import android.view.*
+import android.widget.AdapterView
+import android.widget.AdapterView.OnItemSelectedListener
+import android.widget.ArrayAdapter
+import android.widget.Spinner
+import android.widget.TextView
+import androidx.appcompat.app.AppCompatDelegate
+import androidx.core.app.ActivityCompat
+import androidx.core.content.ContextCompat
+import androidx.core.content.PermissionChecker
+import androidx.core.graphics.BlendModeColorFilterCompat
+import androidx.core.graphics.BlendModeCompat
+import androidx.core.graphics.drawable.DrawableCompat
+import androidx.fragment.app.DialogFragment
+import androidx.preference.PreferenceManager
+import be.tarsos.dsp.AudioDispatcher
+import be.tarsos.dsp.AudioProcessor
+import be.tarsos.dsp.io.android.AudioDispatcherFactory
+import be.tarsos.dsp.pitch.PitchDetectionHandler
+import be.tarsos.dsp.pitch.PitchProcessor
+import com.akexorcist.localizationactivity.core.LocalizationApplicationDelegate
+import com.akexorcist.localizationactivity.ui.LocalizationActivity
+import com.example.tuner.R
+import com.example.tuner.databinding.ActivityMainBinding
+import java.util.*
+import kotlin.math.min
+
+class MainActivity : LocalizationActivity(), MyCallback {
+ private lateinit var binding: ActivityMainBinding
+ private val prefLastInstrument = "last_instrument"
+ private val prefLastTuning = "last_tuning"
+ private val processing = PitchProcessing(this@MainActivity)
+ private val sampleRate = 44100
+ private val recordOverlaps = 3072
+ private val localizationDelegate = LocalizationApplicationDelegate()
+ private var bufferSize: Int = 4096
+ private lateinit var instrumentSpinner: Spinner
+ private lateinit var tuningSpinner: Spinner
+
+ object CurTuning {
+ internal lateinit var curTuning: String
+ }
+
+ object CurInstrument {
+ internal lateinit var curInstrument: String
+ }
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ // ask for microphone permissions
+ if (ContextCompat.checkSelfPermission(
+ this@MainActivity,
+ Manifest.permission.RECORD_AUDIO
+ )
+ != PackageManager.PERMISSION_GRANTED) {
+ ActivityCompat.requestPermissions(
+ this,
+ arrayOf(Manifest.permission.RECORD_AUDIO),
+ 1234
+ )
+ }
+
+ val preferences = PreferenceManager.getDefaultSharedPreferences(this)
+ // load current state of dark mode
+ val isNightMode: Boolean = preferences.getBoolean("dark_theme", false)
+ if (isNightMode) {
+ AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)
+ } else {
+ AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM)
+ }
+
+ super.onCreate(savedInstanceState)
+ binding = ActivityMainBinding.inflate(layoutInflater)
+ val view = binding.root
+ setTheme(R.style.AppTheme)
+ setContentView(view)
+
+ // keep screen on
+ window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
+
+ // initializing instrument spinner
+ instrumentSpinner = findViewById(R.id.instrument_spinner)
+ ArrayAdapter.createFromResource(
+ this,
+ R.array.instruments_array,
+ android.R.layout.simple_spinner_dropdown_item
+ ).also { adapter ->
+ adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
+ instrumentSpinner.adapter = adapter
+ }
+ instrumentSpinner.onItemSelectedListener = object : OnItemSelectedListener {
+ override fun onItemSelected(
+ parent: AdapterView<*>,
+ view: View?, pos: Int, id: Long
+ ) {
+ CurInstrument.curInstrument = instrumentSpinner.getItemAtPosition(pos).toString()
+ when (parent.getItemAtPosition(pos).toString()) {
+ getString(R.string.guitar) -> {
+ tuningSpinner.visibility = View.VISIBLE
+ ArrayAdapter.createFromResource(
+ this@MainActivity,
+ R.array.tuning_array_guitar,
+ android.R.layout.simple_spinner_dropdown_item
+ ).also { adapter ->
+ adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
+ tuningSpinner.adapter = adapter
+ }
+ }
+ getString(R.string.bass) -> {
+ tuningSpinner.visibility = View.VISIBLE
+ ArrayAdapter.createFromResource(
+ this@MainActivity,
+ R.array.tuning_array_bass,
+ android.R.layout.simple_spinner_dropdown_item
+ ).also { adapter ->
+ adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
+ tuningSpinner.adapter = adapter
+ }
+ }
+ getString(R.string.ukulele) -> {
+ tuningSpinner.visibility = View.VISIBLE
+ ArrayAdapter.createFromResource(
+ this@MainActivity,
+ R.array.tuning_array_ukulele,
+ android.R.layout.simple_spinner_dropdown_item
+ ).also { adapter ->
+ adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
+ tuningSpinner.adapter = adapter
+ }
+ }
+ getString(R.string.cuatro) -> {
+ tuningSpinner.visibility = View.VISIBLE
+ ArrayAdapter.createFromResource(
+ this@MainActivity,
+ R.array.tuning_array_cuatro,
+ android.R.layout.simple_spinner_dropdown_item
+ ).also { adapter ->
+ adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
+ tuningSpinner.adapter = adapter
+ }
+ }
+ getString(R.string.chromatic) -> tuningSpinner.visibility = View.GONE
+
+ }
+ }
+ override fun onNothingSelected(parent: AdapterView<*>?) {
+
+ }
+ }
+
+ // initializing tuning spinner
+ tuningSpinner = findViewById(R.id.tuning_spinner)
+ ArrayAdapter.createFromResource(
+ this,
+ R.array.tuning_array_guitar,
+ android.R.layout.simple_spinner_dropdown_item
+ ).also { adapter ->
+ adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
+ tuningSpinner.adapter = adapter
+ }
+ tuningSpinner.onItemSelectedListener = object : OnItemSelectedListener {
+ override fun onItemSelected(
+ parent: AdapterView<*>?,
+ view: View?, pos: Int, id: Long
+ ) {
+ CurTuning.curTuning = tuningSpinner.getItemAtPosition(pos).toString()
+ }
+
+ override fun onNothingSelected(parent: AdapterView<*>?) {
+ // Do nothing.
+ }
+ }
+
+ // menu
+ setSupportActionBar(binding.toolbar)
+ supportActionBar?.setDisplayShowTitleEnabled(false)
+
+ // annotation dialog
+ val annotation = findViewById(R.id.annotation) as TextView
+ annotation.setOnClickListener {
+ val dialog: DialogFragment = Dialog()
+ dialog.show(supportFragmentManager, "MyDialogFragmentTag")
+ }
+ val permission: Int = PermissionChecker.checkSelfPermission(
+ this,
+ Manifest.permission.RECORD_AUDIO
+ )
+ if (permission == PermissionChecker.PERMISSION_GRANTED) {
+ audioProcessing()
+ }
+
+ // load last state of the spinners
+ instrumentSpinner.setSelection(
+ min(preferences.getInt(prefLastInstrument, 0), instrumentSpinner.adapter.count - 1))
+ instrumentSpinner.post { // Give time to the instrumentSpinner to trigger its onItemSelected
+ tuningSpinner.post { // Give time to the to tuningSpinner to actually be updated
+ tuningSpinner.setSelection(
+ min(preferences.getInt(prefLastTuning, 0), tuningSpinner.adapter.count - 1))
+ }
+ }
+ }
+
+ private fun audioProcessing() {
+ // detecting frequencies through microphone
+ val dispatcher: AudioDispatcher =
+ AudioDispatcherFactory.fromDefaultMicrophone(sampleRate, bufferSize, recordOverlaps)
+ val pdh = PitchDetectionHandler { res, _ ->
+ val pitchInHz: Float = res.pitch
+ val probability: Float = res.probability
+ if (pitchInHz > -1) {
+ runOnUiThread { processing.tune(pitchInHz, probability)}
+ }
+ }
+ val pitchProcessor: AudioProcessor =
+ PitchProcessor(
+ PitchProcessor.PitchEstimationAlgorithm.FFT_YIN,
+ sampleRate.toFloat(), bufferSize, pdh
+ )
+ dispatcher.addAudioProcessor(pitchProcessor)
+
+ val audioThread = Thread(dispatcher, "Audio Thread")
+ audioThread.start()
+ }
+
+ // set language to default phone language
+ override fun attachBaseContext(newBase: Context) {
+ localizationDelegate.setDefaultLanguage(newBase, Locale.getDefault())
+ super.attachBaseContext(localizationDelegate.attachBaseContext(newBase))
+ }
+
+ // permission handling
+ override fun onRequestPermissionsResult(
+ requestCode: Int,
+ permissions: Array,
+ grantResults: IntArray
+ ) {
+ super.onRequestPermissionsResult(requestCode, permissions, grantResults)
+ when (requestCode) {
+ 1234 -> {
+ // If request is cancelled, the result arrays are empty.
+ if (grantResults.isNotEmpty()
+ && grantResults[0] == PackageManager.PERMISSION_GRANTED
+ ) {
+ audioProcessing()
+ } else {
+ Log.d("TAG", "permission denied by user")
+ }
+ return
+ }
+ }
+ }
+
+ override fun onCreateOptionsMenu(menu: Menu?): Boolean {
+ val inflater: MenuInflater = menuInflater
+ inflater.inflate(R.menu.menu, menu)
+ return true
+ }
+
+ override fun onStop() {
+ super.onStop()
+ PreferenceManager.getDefaultSharedPreferences(this).edit()
+ .putInt(prefLastInstrument, instrumentSpinner.selectedItemPosition)
+ .putInt(prefLastTuning, tuningSpinner.selectedItemPosition)
+ .apply()
+ }
+
+ // Items in menu
+ override fun onOptionsItemSelected(item: MenuItem): Boolean {
+ val id = item.itemId
+
+ if (id == R.id.settings) {
+ val myIntent = Intent(this@MainActivity, SettingsActivity::class.java)
+ this@MainActivity.startActivity(myIntent)
+ return true
+ }
+ if (id == R.id.about) {
+ val myIntent = Intent(this@MainActivity, AboutActivity::class.java)
+ this@MainActivity.startActivity(myIntent)
+ return true
+ }
+
+ return super.onOptionsItemSelected(item)
+ }
+
+ override fun colorTuned(tuningDirection: String) {
+ var colorTop = R.color.colorControlNormal
+ var colorBottom = R.color.colorControlNormal
+
+ when (tuningDirection) {
+ "none" -> {
+ colorTop = R.color.colorTuned
+ colorBottom = R.color.colorTuned
+ }
+ "up" -> {
+ colorTop = R.color.colorOutOfTune
+ colorBottom = R.color.colorControlNormal
+ }
+ "down" -> {
+ colorTop = R.color.colorControlNormal
+ colorBottom = R.color.colorOutOfTune
+ }
+ }
+
+ val drawableUp = DrawableCompat.wrap(
+ ContextCompat.getDrawable(
+ this,
+ R.drawable.ic_play_arrow
+ )!!
+ )
+ binding.up.setImageDrawable(drawableUp)
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) {
+ DrawableCompat.setTint(drawableUp, ContextCompat.getColor(this, colorTop))
+
+ } else {
+ drawableUp.mutate().colorFilter = BlendModeColorFilterCompat.createBlendModeColorFilterCompat(
+ colorTop,
+ BlendModeCompat.SRC_ATOP
+ )
+ }
+
+ val drawableDown = DrawableCompat.wrap(
+ ContextCompat.getDrawable(
+ this,
+ R.drawable.ic_play_arrow
+ )!!
+ )
+ binding.down.setImageDrawable(drawableDown)
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) {
+ DrawableCompat.setTint(drawableDown, ContextCompat.getColor(this, colorBottom))
+
+ } else {
+ drawableDown.mutate().colorFilter = BlendModeColorFilterCompat.createBlendModeColorFilterCompat(
+ colorBottom,
+ BlendModeCompat.SRC_ATOP
+ )
+ }
+ }
+
+ override fun updateNote(note: String?) {
+ binding.noteText.gravity = Gravity.CENTER
+ binding.noteText.text = note
+ }
+
+ // set size of note displayed
+ fun noteSize() {
+ if (binding.noteText.text in arrayOf(
+ "A", "A#", "Bb", "B", "C", "C#", "Db", "D",
+ "D#", "Eb", "E", "F", "F#", "Gb", "G", "G#", "Ab"
+ )) {
+ binding.noteText.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 280F)
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/MyCallback.kt b/app/src/main/java/com/tunerly/MyCallback.kt
new file mode 100644
index 0000000..5b28651
--- /dev/null
+++ b/app/src/main/java/com/tunerly/MyCallback.kt
@@ -0,0 +1,6 @@
+package com.tunerly
+
+interface MyCallback {
+ fun updateNote(note: String?)
+ fun colorTuned(tuningDirection: String)
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/PitchProcessing.kt b/app/src/main/java/com/tunerly/PitchProcessing.kt
new file mode 100644
index 0000000..cbfd174
--- /dev/null
+++ b/app/src/main/java/com/tunerly/PitchProcessing.kt
@@ -0,0 +1,241 @@
+package com.tunerly
+
+import com.example.tuner.R
+import kotlin.math.round
+import kotlin.math.log2
+import kotlin.math.abs
+import kotlin.math.pow
+
+class PitchProcessing(callback: MyCallback?) {
+ private var myCallback: MyCallback? = callback
+ private val allNotes = arrayOf("A", "A#", "B", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#")
+ private val pitchMap = mapOf(16.35F to "C", 17.32F to "C#", 18.35F to "D", 19.45F to "D#",
+ 20.60F to "E", 21.83F to "F", 23.12F to "F#", 24.50F to "G", 25.96F to "G#", 27.50F to "A",
+ 29.14F to "A#", 30.87F to "B", 32.70F to "C", 34.65F to "C#", 36.71F to "D", 38.90F to "D#",
+ 41.20F to "E", 43.65F to "F", 46.25F to "F#", 49.00F to "G", 51.91F to "G#", 55.00F to "A",
+ 58.27F to "A#", 61.74F to "B", 65.40F to "C", 69.30F to "Db", 73.42F to "D", 77.78F to "Eb",
+ 82.41F to "E", 87.31F to "F", 92.50F to "F#", 98.00F to "G", 103.83F to "Ab", 110.00F to "A",
+ 116.54F to "A#", 123.47F to "B", 130.81F to "C", 138.59F to "Db", 146.83F to "D",
+ 155.56F to "D#", 164.81F to "E", 174.61F to "F", 185.00F to "Gb", 196.00F to "G",
+ 207.65F to "G#", 220.00F to "A", 233.08F to "Bb", 246.94F to "B", 261.63F to "C",
+ 277.18F to "C#", 293.66F to "D", 311.13F to "Eb", 329.63F to "E", 349.23F to "F",
+ 370.00F to "Gb", 392.00F to "G", 415.30F to "G#", 440.00F to "A", 466.16F to "A#",
+ 493.88F to "B", 523.25F to "C", 554.37F to "C#", 587.33F to "D", 622.25F to "D#",
+ 659.26F to "E", 698.46F to "F", 739.99F to "F#", 784.00F to "G", 830.61F to "G#",
+ 880.00F to "A", 932.33F to "A#", 987.76F to "B", 1046.50F to "C", 1108.73F to "C#",
+ 1174.66F to "D", 1244.50F to "D#", 1318.51F to "E", 1396.91F to "F", 1479.98F to "F#",
+ 1567.98F to "G", 1661.22F to "G#", 1760.00F to "A", 1864.66F to "A#", 1975.53F to "B",
+ 2093.01F to "C", 2217.46F to "C#", 2349.32F to "D", 2489.02F to "D#", 2637.02F to "E",
+ 2793.83F to "F", 2959.96F to "F#", 3135.96F to "G", 3322.44F to "G#", 3520.00F to "A",
+ 3729.31F to "A#", 3951.07F to "B", 4186.01F to "C")
+
+ private val tuningMap = mapOf(
+ "Standard" to TuningData.GuitarStandard,
+ "Стандарт" to TuningData.GuitarStandard,
+ "Estandarra" to TuningData.GuitarStandard,
+ "Standardi" to TuningData.GuitarStandard,
+
+ "7 String" to TuningData.GuitarSeven,
+ "7 Saiten" to TuningData.GuitarSeven,
+ "7 струн" to TuningData.GuitarSeven,
+ "7 soka" to TuningData.GuitarSeven,
+ "7 Kielinen" to TuningData.GuitarSeven,
+ "7 cuerda" to TuningData.GuitarSeven,
+
+ "8 String" to TuningData.GuitarEight,
+ "8 Saiten" to TuningData.GuitarEight,
+ "8 струн" to TuningData.GuitarEight,
+ "8 soka" to TuningData.GuitarEight,
+ "8 Kielinen" to TuningData.GuitarEight,
+ "8 cuerda" to TuningData.GuitarEight,
+
+ "E-Flat" to TuningData.GuitarEFlat,
+ "Eb" to TuningData.GuitarEFlat,
+ "E-bemol" to TuningData.GuitarEFlat,
+
+ "Full step down" to TuningData.GuitarFullStepDown,
+ "Ganzton tiefer" to TuningData.GuitarFullStepDown,
+ "Koko sävy alempi" to TuningData.GuitarFullStepDown,
+ "На целый тон ниже" to TuningData.GuitarFullStepDown,
+ "Tonu osoa baxuagoa" to TuningData.GuitarFullStepDown,
+ "Todo el tono más bajo" to TuningData.GuitarFullStepDown,
+
+ "Drop D" to TuningData.GuitarDropD,
+
+ "Drop Db" to TuningData.GuitarDropDb,
+
+ "Double Drop D" to TuningData.GuitarDoubleDropD,
+ "Drop D bikoitza" to TuningData.GuitarDoubleDropD,
+
+ "DADGAD" to TuningData.GuitarDADGAD,
+
+ "Open D" to TuningData.GuitarOpenD,
+ "Avoin D" to TuningData.GuitarOpenD,
+ "D irekia" to TuningData.GuitarOpenD,
+
+ "Open A" to TuningData.GuitarOpenA,
+ "Avoin A" to TuningData.GuitarOpenA,
+ "A irekia" to TuningData.GuitarOpenA,
+
+ "Open E" to TuningData.GuitarOpenE,
+ "Avoin E" to TuningData.GuitarOpenE,
+ "E irekia" to TuningData.GuitarOpenE,
+
+ "Open G" to TuningData.GuitarOpenG,
+ "Avoin G" to TuningData.GuitarOpenG,
+ "G irekia" to TuningData.GuitarOpenG,
+
+ "Open B" to TuningData.GuitarOpenB,
+ "Avoin B" to TuningData.GuitarOpenB,
+ "B irekia" to TuningData.GuitarOpenB,
+
+ "4 String" to TuningData.BassStandard4,
+ "4 Saiten" to TuningData.BassStandard4,
+ "4 струн" to TuningData.BassStandard4,
+ "4 soka" to TuningData.BassStandard4,
+ "4 Kielinen" to TuningData.BassStandard4,
+ "4 cuerda" to TuningData.BassStandard4,
+
+ "5 String" to TuningData.BassStandard5,
+ "5 Saiten" to TuningData.BassStandard5,
+ "5 струн" to TuningData.BassStandard5,
+ "5 soka" to TuningData.BassStandard5,
+ "5 Kielinen" to TuningData.BassStandard5,
+ "5 cuerda" to TuningData.BassStandard5,
+
+ "6 String" to TuningData.BassStandard6,
+ "6 Saiten" to TuningData.BassStandard6,
+ "6 струн" to TuningData.BassStandard6,
+ "6 soka" to TuningData.BassStandard6,
+ "6 Kielinen" to TuningData.BassStandard6,
+ "6 cuerda" to TuningData.BassStandard6,
+
+ "Drop-D" to TuningData.BassDropD,
+
+ "D Standard" to TuningData.BassDStandard,
+ "D Стандарт" to TuningData.BassDStandard,
+ "D estandarra" to TuningData.BassDStandard,
+ "D Standardi" to TuningData.BassDStandard,
+
+ "Drop C" to TuningData.BassDropC,
+
+ "C (Standard)" to TuningData.UkuleleStandard,
+ "C (Стандарт)" to TuningData.UkuleleStandard,
+ "C (estandarra)" to TuningData.UkuleleStandard,
+ "C (Standardi)" to TuningData.UkuleleStandard,
+
+ "D (Traditional)" to TuningData.UkuleleTraditional,
+ "D (Traditionell)" to TuningData.UkuleleTraditional,
+ "D (Традиционный)" to TuningData.UkuleleTraditional,
+ "D (tradizionala)" to TuningData.UkuleleTraditional,
+ "D (Perinteinen)" to TuningData.UkuleleTraditional,
+ "D (Tradicional)" to TuningData.UkuleleTraditional,
+
+ "Baritone" to TuningData.UkuleleBaritone,
+ "Bariton" to TuningData.UkuleleBaritone,
+ "Баритон" to TuningData.UkuleleBaritone,
+ "Baritonoa" to TuningData.UkuleleBaritone,
+ "Baritoni" to TuningData.UkuleleBaritone,
+
+ "Bass" to TuningData.UkuleleBass,
+ "бас" to TuningData.UkuleleBass,
+ "Baxua" to TuningData.UkuleleBass,
+ "Basso" to TuningData.UkuleleBass,
+
+ "C-Standard" to TuningData.CuatroC,
+ "C-estandarra" to TuningData.CuatroC,
+ "C-Standardi" to TuningData.CuatroC,
+ "C-Стандарт" to TuningData.CuatroC,
+
+ "D-Standard" to TuningData.CuatroD,
+ "D-estandarra" to TuningData.CuatroD,
+ "D-Standardi" to TuningData.CuatroD,
+ "D-Стандарт" to TuningData.CuatroD
+ )
+
+ fun tune(pitchInHz: Float, probability: Float) {
+ if (MainActivity.CurInstrument.curInstrument == (myCallback as MainActivity).getString(R.string.chromatic)) {
+ if (probability > 0.92) {
+ myCallback?.updateNote(closestNote(pitchInHz))
+ tuningDirection(pitchInHz, closestPitch(pitchInHz))
+ }
+ } else {
+ // stores pitches in Hz of current selected tuning
+ val pitches = (tuningMap[MainActivity.CurTuning.curTuning] ?: error("")).frequencies
+ (myCallback as MainActivity).noteSize()
+ if (tuningMap.keys.contains(MainActivity.CurTuning.curTuning)) {
+ val stringPitch = closestString(pitchInHz, pitches)
+ if (probability > 0.92) {
+ myCallback?.updateNote(pitchMap.getValue(stringPitch))
+ tuningDirection(pitchInHz, stringPitch)
+ }
+ }
+ }
+ }
+
+ private fun tuningDirection(curPitch: Float, toPitch: Float) {
+ var tuneUp = true
+ var tuneDown = true
+ // calculate interval in cents from hz given
+ val cents : Float = 1200 * log2(toPitch / curPitch)
+ if (cents > 10 || cents < -10) {
+ if (cents > 10) {
+ tuneUp = true
+ tuneDown = false
+ }
+ else if (cents < -10) {
+ tuneUp = false
+ tuneDown = true
+ }
+ }
+ else {
+ tuneUp = false
+ tuneDown = false
+ }
+
+ if (!tuneUp && !tuneDown) {
+ myCallback?.colorTuned("none")
+ }
+ else if (tuneUp && !tuneDown) {
+ myCallback?.colorTuned("up")
+ }
+ else if (!tuneUp && tuneDown){
+ myCallback?.colorTuned("down")
+ }
+ }
+
+ /**
+ * determine which string current note is closest to
+ * @return Float (Frequency in Hz)
+ */
+ private fun closestString(pitchInHz: Float, tuning: FloatArray): Float {
+ var difference = abs(tuning[0] - pitchInHz)
+ var idx = 0
+ for (c in 1 until tuning.size) {
+ val cdifference = abs(tuning[c] - pitchInHz)
+ if (cdifference < difference) {
+ idx = c
+ difference = cdifference
+ }
+ }
+ return tuning[idx]
+ }
+
+ /** detects closest note in A = 440 with equal temperament formula:
+ * pitch(i) = pitch(0) * 2^(halfSteps/12)
+ * therefore formula to derive interval between two pitches:
+ * i = 12 * log2 * (pitch(i)/pitch(o))
+ */
+ private fun closestNote(pitchInHz: Float): String {
+ (myCallback as MainActivity).noteSize()
+ val i = (round(log2(pitchInHz / 440) * 12)).toInt()
+ // floorMod implementation to prevent ArrayIndexOutOfBoundException
+ return allNotes[(i % 12 + 12) % 12]
+ }
+
+ private fun closestPitch(pitchInHz: Float): Float {
+ val i = (round(log2(pitchInHz / 440) * 12)).toInt()
+ val closestPitch = 440 * 2.toDouble().pow(i.toDouble() / 12)
+ return closestPitch.toFloat()
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/SettingsActivity.kt b/app/src/main/java/com/tunerly/SettingsActivity.kt
new file mode 100644
index 0000000..14bb114
--- /dev/null
+++ b/app/src/main/java/com/tunerly/SettingsActivity.kt
@@ -0,0 +1,123 @@
+package com.tunerly
+
+import android.os.Bundle
+import android.view.MenuItem
+import androidx.appcompat.app.AppCompatDelegate
+import androidx.preference.ListPreference
+import androidx.preference.Preference
+import androidx.preference.PreferenceFragmentCompat
+import androidx.preference.SwitchPreferenceCompat
+import com.akexorcist.localizationactivity.ui.LocalizationActivity
+import com.example.tuner.R
+import com.example.tuner.databinding.ActivitySettingsBinding
+
+
+class SettingsActivity : LocalizationActivity() {
+ private lateinit var binding: ActivitySettingsBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ binding = ActivitySettingsBinding.inflate(layoutInflater)
+ val view = binding.root
+ setContentView(view)
+
+ if (savedInstanceState == null) {
+ supportFragmentManager
+ .beginTransaction()
+ .replace(R.id.settings, SettingsFragment())
+ .commit()
+ }
+ setSupportActionBar(binding.toolbar)
+ supportActionBar?.title = getString(R.string.settings)
+ supportActionBar?.setDisplayHomeAsUpEnabled(true)
+ }
+
+ override fun onOptionsItemSelected(item: MenuItem): Boolean {
+ when (item.itemId) {
+ android.R.id.home -> {
+ onBackPressed()
+ return true
+ }
+ }
+ return super.onOptionsItemSelected(item)
+ }
+
+ class SettingsFragment : PreferenceFragmentCompat() {
+ override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
+ setPreferencesFromResource(R.xml.root_preferences, rootKey)
+
+ // theme
+ val switchPreferenceCompat: SwitchPreferenceCompat? =
+ findPreference("dark_theme")
+ switchPreferenceCompat!!.onPreferenceChangeListener =
+ Preference.OnPreferenceChangeListener { _, newValue ->
+ var isChecked = false
+ if (newValue is Boolean) isChecked = newValue
+ if (isChecked) {
+ preferenceManager.sharedPreferences?.edit()
+ ?.putBoolean(getString(R.string.dark_theme), true)?.apply()
+ AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)
+ } else {
+ preferenceManager.sharedPreferences?.edit()
+ ?.putBoolean(getString(R.string.dark_theme), false)?.apply()
+ AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM)
+ }
+ true
+ }
+
+ // language
+ val listPreference =
+ findPreference(getString(R.string.language_preference)) as ListPreference?
+ listPreference?.setOnPreferenceChangeListener { preference, newValue ->
+ if (preference is ListPreference) {
+ val index = preference.findIndexOfValue(newValue.toString())
+ val locale = preference.entryValues[index]
+
+ if (locale == "de") {
+ (activity as SettingsActivity).changeLanguageGer()
+ }
+ if (locale == "en") {
+ (activity as SettingsActivity).changeLanguageEn()
+ }
+ if (locale == "ru") {
+ (activity as SettingsActivity).changeLanguageRu()
+ }
+ if (locale == "eu") {
+ (activity as SettingsActivity).changeLanguageEu()
+ }
+ if (locale == "fi") {
+ (activity as SettingsActivity).changeLanguageFi()
+ }
+ if (locale == "es") {
+ (activity as SettingsActivity).changeLanguageEs()
+ }
+ }
+ true
+ }
+ }
+ }
+
+ fun changeLanguageGer() {
+ setLanguage("de")
+ }
+
+ fun changeLanguageEn() {
+ setLanguage("en")
+ }
+
+ fun changeLanguageRu() {
+ setLanguage("ru")
+ }
+
+ fun changeLanguageEu() {
+ setLanguage("eu")
+ }
+
+ fun changeLanguageFi() {
+ setLanguage("fi")
+ }
+
+ fun changeLanguageEs() {
+ setLanguage("es")
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/tunerly/TuningData.kt b/app/src/main/java/com/tunerly/TuningData.kt
new file mode 100644
index 0000000..651fed7
--- /dev/null
+++ b/app/src/main/java/com/tunerly/TuningData.kt
@@ -0,0 +1,35 @@
+package com.tunerly
+
+enum class TuningData(vararg f: Float) {
+ // Guitar Tunings
+ GuitarStandard(82.41F, 110.00F, 146.83F, 196.00F, 246.94F, 329.63F),
+ GuitarSeven(61.74F, 82.41F, 110.00F, 146.83F, 196.00F, 246.94F, 329.63F),
+ GuitarEight(46.25F, 61.74F, 82.41F, 110.00F, 146.83F, 196.00F, 246.94F, 329.63F),
+ GuitarEFlat(77.78F, 103.83F, 138.59F, 185.00F, 233.08F, 311.13F),
+ GuitarFullStepDown(73.42F, 98.00F, 130.81F, 174.61F, 220.00F, 293.66F),
+ GuitarDropD(73.42F, 110.00F, 146.83F, 196.00F, 246.94F, 329.63F),
+ GuitarDropDb(69.30F, 103.83F, 138.59F, 185.00F, 233.08F, 311.13F),
+ GuitarDoubleDropD(73.42F, 110.00F, 146.83F, 196.00F, 246.94F, 293.66F),
+ GuitarDADGAD(73.42F, 110.00F, 146.83F, 196.00F, 220.00F, 329.63F),
+ GuitarOpenD(73.42F, 110.00F, 146.83F, 185.00F, 220.00F, 329.63F),
+ GuitarOpenA(82.41F, 110.00F, 138.59F, 164.81F, 220.00F, 329.63F),
+ GuitarOpenE(82.41F, 123.47F, 164.81F, 207.65F, 246.94F, 329.63F),
+ GuitarOpenG(77.78F, 98.00F, 146.83F, 196.00F, 246.94F, 293.66F),
+ GuitarOpenB(61.74F, 92.50F, 123.47F, 185.00F, 246.94F, 311.13F),
+ // Bass Tunings
+ BassStandard4(41.20F, 55.00F, 73.42F, 98.00F),
+ BassStandard5(30.87F, 41.20F, 55.00F, 73.42F, 98.00F),
+ BassStandard6(30.87F, 41.20F, 55.00F, 73.42F, 98.00F, 130.81F),
+ BassDropD(36.71F, 55.00F, 73.42F, 98.00F),
+ BassDStandard(36.71F, 49.00F, 65.40F, 87.31F),
+ BassDropC(32.70F, 49.00F, 65.40F, 87.31F),
+ // Ukulele Tunings
+ UkuleleStandard(392.00F, 261.63F, 329.63F, 440.00F),
+ UkuleleTraditional(440.00F, 293.66F, 370.00F, 493.88F),
+ UkuleleBaritone(146.83F, 196.00F, 246.94F, 329.63F),
+ UkuleleBass(41.20F, 55.00F, 73.42F, 98.00F),
+
+ CuatroC(196.00F, 261.63F, 329.63F, 220.00F),
+ CuatroD(220.00F, 293.66F, 370.00F, 246.94F);
+ val frequencies: FloatArray = f
+}
\ No newline at end of file
diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ b/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/drawable/ic_play_arrow.png b/app/src/main/res/drawable/ic_play_arrow.png
new file mode 100644
index 0000000..5528f2a
Binary files /dev/null and b/app/src/main/res/drawable/ic_play_arrow.png differ
diff --git a/app/src/main/res/drawable/logo_final.xml b/app/src/main/res/drawable/logo_final.xml
new file mode 100644
index 0000000..3115260
--- /dev/null
+++ b/app/src/main/res/drawable/logo_final.xml
@@ -0,0 +1,7528 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout-v21/activity_about.xml b/app/src/main/res/layout-v21/activity_about.xml
new file mode 100644
index 0000000..cb10a85
--- /dev/null
+++ b/app/src/main/res/layout-v21/activity_about.xml
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout-v21/activity_main.xml b/app/src/main/res/layout-v21/activity_main.xml
new file mode 100644
index 0000000..e2749dc
--- /dev/null
+++ b/app/src/main/res/layout-v21/activity_main.xml
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout-v21/activity_settings.xml b/app/src/main/res/layout-v21/activity_settings.xml
new file mode 100644
index 0000000..c11bc52
--- /dev/null
+++ b/app/src/main/res/layout-v21/activity_settings.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml
new file mode 100644
index 0000000..1f585d0
--- /dev/null
+++ b/app/src/main/res/menu/menu.xml
@@ -0,0 +1,10 @@
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..a571e60
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000..61da551
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-hdpi/logo.png b/app/src/main/res/mipmap-hdpi/logo.png
new file mode 100644
index 0000000..aeebd6b
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/logo.png differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..c41dd28
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000..db5080a
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-mdpi/logo.png b/app/src/main/res/mipmap-mdpi/logo.png
new file mode 100644
index 0000000..faf073e
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/logo.png differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..6dba46d
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..da31a87
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-xhdpi/logo.png b/app/src/main/res/mipmap-xhdpi/logo.png
new file mode 100644
index 0000000..a31670c
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/logo.png differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..15ac681
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..b216f2d
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-xxhdpi/logo.png b/app/src/main/res/mipmap-xxhdpi/logo.png
new file mode 100644
index 0000000..8391b45
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/logo.png differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..f25a419
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..e96783c
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/logo.png b/app/src/main/res/mipmap-xxxhdpi/logo.png
new file mode 100644
index 0000000..8c396f4
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/logo.png differ
diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml
new file mode 100644
index 0000000..845fd6d
--- /dev/null
+++ b/app/src/main/res/values-de-rDE/strings.xml
@@ -0,0 +1,95 @@
+
+
+ Bereit
+ Hochstimmen
+ Runterstimmen
+ Sprache
+ Blauer Pfeil: Stimme in die Richtung, in die der Pfeil zeigt
+ Beide Pfeile grün: Dein Instrument ist gestimmt
+ ]]>
+ Einstellungen
+ Über
+ Kontakt
+ Datenschutz-Bestimmung
+ "Die Datenschutz-Bestimmung findest Du hier "
+ "Tunerly ist eine Open Source App. Das Projekt findest Du hier auf Github "
+ Solltest Du irgendwelche Fragen oder Vorschläge haben, oder hast Du einen Fehler gefunden, kannst Du mich hier kontaktieren
+
+
+
+ Gitarre
+ Bass
+ Ukulele
+ Cuatro
+ Chromatisch
+
+
+
+
+ Standard
+ 7 Saiten
+ 8 Saiten
+ Eb
+ Ganzton tiefer
+ Drop D
+ Drop Db
+ Double Drop D
+ DADGAD
+ Open D
+ Open A
+ Open E
+ Open G
+ Open B
+
+
+ 4 Saiten
+ 5 Saiten
+ 6 Saiten
+ Drop-D
+ D Standard
+ Drop C
+
+
+ C (Standard)
+ D (Traditionell)
+ Bariton
+ Bass
+
+
+ C-Standard
+ D-Standard
+
+
+
+
+
+
+
+ Baskisch
+ Englisch
+ Finnisch
+ Deutsch
+ Russisch
+ Spanisch
+
+
+
+ eu
+ en
+ fi
+ de
+ ru
+ es
+
+
+ Dark Theme
+ Info
+ OK
+ Gitarre
+ Bass
+ Ukulele
+ Cuatro
+ Chromatisch
+ Version
+
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
new file mode 100644
index 0000000..dffaef0
--- /dev/null
+++ b/app/src/main/res/values-es/strings.xml
@@ -0,0 +1,112 @@
+
+
+ Tunerly
+ Toca
+ Baja la afinación
+ Sube la afinación
+ \?
+ logo
+ Tema oscuro
+ Idioma
+ Flecha azul: Sintoniza en la dirección que señala la flecha
+ Ambas flechas verdes: Estás en sintonía
+ ]]>
+ Información
+ OK
+
+
+ Ajustes
+ Acerca de
+
+
+
+ @string/guitar
+ @string/bass
+ @string/ukulele
+ @string/cuatro
+ @string/chromatic
+
+
+
+
+ Standard
+ 7 cuerda
+ 8 cuerda
+ E-Flat
+ Todo el tono más bajo
+ Drop D
+ Drop Db
+ Double Drop D
+ DADGAD
+ Open D
+ Open A
+ Open E
+ Open G
+ Open B
+
+
+ 4 cuerda
+ 5 cuerda
+ 6 cuerda
+ Drop-D
+ D Standard
+ Drop C
+
+
+ C (Standard)
+ D (Tradicional)
+ Baritone
+ Bass
+
+
+ C-Standard
+ D-Standard
+
+
+
+
+
+
+ SettingsActivity
+ dark_theme
+
+
+ AboutActivity
+ Contacto
+ Si tiene alguna pregunta, sugerencia o desea reportar algún error, puede contactarme por
+ tunerlyapp@gmail.com
+ Política de privacidad
+ Puede encontrar la política de privacidad aquí
+ https://github.com/brianhorn/Tunerly/blob/master/privacy_policy.md
+ Github
+ Tunerly es una aplicación de Código Abierto. Puede encontrar el proyecto en GitHub aquí
+ https://github.com/brianhorn/Tunerly
+ Versión
+ Guitarra
+ Bajo
+ Ukulele
+ Cuatro
+ Cromático
+ language_preference
+
+
+
+ Español
+ Euskera
+ Inglés
+ Finlandés
+ Alemán
+ Ruso
+
+
+
+ es
+ eu
+ en
+ fi
+ de
+ ru
+
+
+
diff --git a/app/src/main/res/values-eu/strings.xml b/app/src/main/res/values-eu/strings.xml
new file mode 100644
index 0000000..1828a31
--- /dev/null
+++ b/app/src/main/res/values-eu/strings.xml
@@ -0,0 +1,112 @@
+
+
+ Tunerly
+ Jo
+ Jaitsi
+ Igo
+ \?
+ logo
+ Itxura iluna
+ Hizkuntza
+ Gezi urdina: afinatu geziaren noranzkoan
+ Bi geziak berde: afinatuta dago
+ ]]>
+ Informazioa
+ ADOS
+
+
+ Ezarpenak
+ Honi buruz
+
+
+
+ @string/guitar
+ @string/bass
+ @string/ukulele
+ @string/cuatro
+ @string/chromatic
+
+
+
+
+ Estandarra
+ 7 soka
+ 8 soka
+ E-bemol
+ Koko sävy alempi
+ Drop D
+ Drop Db
+ Drop D bikoitza
+ DADGAD
+ D irekia
+ A irekia
+ E irekia
+ G irekia
+ B irekia
+
+
+ 4 soka
+ 5 soka
+ 6 soka
+ Drop-D
+ D estandarra
+ Drop C
+
+
+ C (estandarra)
+ D (tradizionala)
+ Baritonoa
+ Baxua
+
+
+ C-estandarra
+ D-estandarra
+
+
+
+
+
+
+ SettingsActivity
+ dark_theme
+
+
+ AboutActivity
+ Kontaktua
+ Galderarik, iradokizunik edo berri emateko akatsik baduzu, helbide honetan kontaktatu nazakezu:
+ tunerlyapp@gmail.com
+ Pribatutasun gidalerroa
+ Pribatutasun gidalerroa hemen aurkitu dezakezu
+ https://github.com/brianhorn/Tunerly/blob/master/privacy_policy_en_de_rus_eu.md
+ Github
+ Tunerly kode irekiko aplikazioa da. Proiektua GitHuben aurkitu dezakezu
+ https://github.com/brianhorn/Tunerly
+ Bertsioa
+ Gitarra
+ Baxua
+ Ukulelea
+ Cuatro
+ Kromatikoa
+ language_preference
+
+
+
+ Euskara
+ Ingelesa
+ Finlandiera
+ Alemana
+ Errusiera
+ Gaztelania
+
+
+
+ eu
+ en
+ fi
+ de
+ ru
+ es
+
+
+
diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml
new file mode 100644
index 0000000..658899c
--- /dev/null
+++ b/app/src/main/res/values-fi/strings.xml
@@ -0,0 +1,112 @@
+
+
+ Tunerly
+ Soita
+ Viritä matalammaksi
+ Viritä korkeammaksi
+ \?
+ logo
+ Tumma teema
+ Kieli
+ Sininen nuoli: Viritä suuntaan, johon nuoli osoittaa
+ Molemmat nuolet vihreitä: Olet vireessä
+ ]]>
+ Ohje
+ Selvä
+
+
+ Asetukset
+ Tietoja
+
+
+
+ @string/guitar
+ @string/bass
+ @string/ukulele
+ @string/cuatro
+ @string/chromatic
+
+
+
+
+ Standardi
+ 7 Kielinen
+ 8 Kielinen
+ E-Flat
+ Tonu osoa baxuagoa
+ Drop D
+ Drop Db
+ Double Drop D
+ DADGAD
+ Avoin D
+ Avoin A
+ Avoin E
+ Avoin G
+ Avoin B
+
+
+ 4 Kielinen
+ 5 Kielinen
+ 6 Kielinen
+ Drop-D
+ D Standardi
+ Drop C
+
+
+ C (Standardi)
+ D (Perinteinen)
+ Baritoni
+ Basso
+
+
+ C-Standardi
+ D-Standardi
+
+
+
+
+
+
+ SettingsActivity
+ dark_theme
+
+
+ AboutActivity
+ Yhteystiedot
+ Jos sinulla on kysyttävää, ehdotuksia tai ongelmia ilmoitattevaksi, voit laittaa sähköpostia osoitteeseen
+ tunerlyapp@gmail.com
+ Tietosuojakäytäntö
+ Tietosuojakäytäntö löytyy täältä
+ https://github.com/brianhorn/Tunerly/blob/master/privacy_policy_en_de_rus_eu.md
+ Github
+ Tunerly on avoimen lähdekoodin ohjelma. Löydät projektin Githubista täältä
+ https://github.com/brianhorn/Tunerly
+ Versio
+ Kitara
+ Basso
+ Ukulele
+ Cuatro
+ Kromaattinen
+ language_preference
+
+
+
+ baski
+ Englanti
+ Suomalainen
+ Saksan kieli
+ Venäjän kieli
+ Espanja
+
+
+
+ eu
+ en
+ fi
+ de
+ ru
+ es
+
+
+
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
new file mode 100644
index 0000000..dcca347
--- /dev/null
+++ b/app/src/main/res/values-ru/strings.xml
@@ -0,0 +1,95 @@
+
+
+ готов
+ Hochstimmen
+ Runterstimmen
+ язык
+ Синяя стрелка: звук в том направлении,в котором стрелка указывает
+ Обе стрелки зелёные: твой инструмент настроен
+ ]]>
+ Настройки
+ О нас
+ политика конфиденциальности
+ вы можете найти нашу политику конфиденциальности здесь
+ Tunerly открытый источник арр. Проект ты найдёшь здесь Github
+ если у вас есть какие-либо вопросы или предложения, или вы обнаружили ошибку вы можете связаться со мной здесь
+
+
+
+ Гитара
+ бас
+ Укулеле
+ Куатро
+ Хроматический
+
+
+
+
+ Стандарт
+ 7 струн
+ 8 струн
+ Eb
+ На целый тон ниже
+ Drop D
+ Drop Db
+ Double Drop D
+ DADGAD
+ Open D
+ Open A
+ Open E
+ Open G
+ Open B
+
+
+ 4 струн
+ 5 струн
+ 6 струн
+ Drop-D
+ D Стандарт
+ Drop C
+
+
+ C (Стандарт)
+ D (Традиционный)
+ Баритон
+ бас
+
+
+ C-Стандарт
+ D-Стандарт
+
+
+
+
+
+
+
+ баскский
+ английский
+ финский
+ Немецкий
+ русский
+ испанский язык
+
+
+
+ eu
+ en
+ fi
+ de
+ ru
+ es
+
+
+ "тёмная"
+ Информация
+ ОК
+ Контакт
+ Гитара
+ бас
+ Укулеле
+ Куатро
+ Хроматический
+ версия
+
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..b190be5
--- /dev/null
+++ b/app/src/main/res/values/colors.xml
@@ -0,0 +1,8 @@
+
+
+ #000000
+ #000000
+ #40C4FF
+ #00E676
+ #4F5B62
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..da9d22a
--- /dev/null
+++ b/app/src/main/res/values/strings.xml
@@ -0,0 +1,112 @@
+
+
+ Tunerly
+ Play
+ Tune down
+ Tune up
+ \?
+ logo
+ Dark Theme
+ Language
+ Blue arrow: Tune in the direction the arrow points to
+ Both arrows green: You are in tune
+ ]]>
+ Info
+ OK
+
+
+ Settings
+ About
+
+
+
+ @string/guitar
+ @string/bass
+ @string/ukulele
+ @string/cuatro
+ @string/chromatic
+
+
+
+
+ Standard
+ 7 String
+ 8 String
+ E-Flat
+ Full step down
+ Drop D
+ Drop Db
+ Double Drop D
+ DADGAD
+ Open D
+ Open A
+ Open E
+ Open G
+ Open B
+
+
+ 4 String
+ 5 String
+ 6 String
+ Drop-D
+ D Standard
+ Drop C
+
+
+ C (Standard)
+ D (Traditional)
+ Baritone
+ Bass
+
+
+ C-Standard
+ D-Standard
+
+
+
+
+
+
+ SettingsActivity
+ dark_theme
+
+
+ AboutActivity
+ Contact
+ If you have any questions, suggestions or bugs to report, you can contact me at
+ tunerlyapp@gmail.com
+ Privacy Policy
+ Privacy Policy can be found here
+ https://github.com/brianhorn/Tunerly/blob/master/privacy_policy.md
+ Github
+ Tunerly is an Open Source app. You can find the project on Github here
+ https://github.com/brianhorn/Tunerly
+ Version
+ Guitar
+ Bass
+ Ukulele
+ Cuatro
+ Chromatic
+ language_preference
+
+
+
+ Basque
+ English
+ Finnish
+ German
+ Russian
+ Spanish
+
+
+
+ eu
+ en
+ fi
+ de
+ ru
+ es
+
+
+
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..42b3636
--- /dev/null
+++ b/app/src/main/res/values/styles.xml
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml
new file mode 100644
index 0000000..adf66a8
--- /dev/null
+++ b/app/src/main/res/xml/root_preferences.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/test/java/com/example/tuner/ExampleUnitTest.kt b/app/src/test/java/com/example/tuner/ExampleUnitTest.kt
new file mode 100644
index 0000000..76536da
--- /dev/null
+++ b/app/src/test/java/com/example/tuner/ExampleUnitTest.kt
@@ -0,0 +1,17 @@
+package com.example.tuner
+
+import org.junit.Test
+
+import org.junit.Assert.*
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+class ExampleUnitTest {
+ @Test
+ fun addition_isCorrect() {
+ assertEquals(4, 2 + 2)
+ }
+}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..fecde9c
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,28 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ ext.kotlin_version = "1.5.0"
+ repositories {
+ google()
+ mavenCentral()
+
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:4.2.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ maven { url 'https://jitpack.io' }
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..4d15d01
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,21 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app"s APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
+# Kotlin code style for this project: "official" or "obsolete":
+kotlin.code.style=official
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..f6b961f
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..1991a21
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Nov 04 02:15:20 CET 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
diff --git a/metadata/de/full_description.txt b/metadata/de/full_description.txt
new file mode 100644
index 0000000..d6af87b
--- /dev/null
+++ b/metadata/de/full_description.txt
@@ -0,0 +1,7 @@
+Tunerly ist ein minimalistisches, mehrsprachiges Stimmgerät mit dem Du deine Gitarre, dein Bass oder deine Ukulele in verschiedenen Tonlagen stimmen kannst. Ein chromatisches Stimmgerät ist auch vorhanden. Die momentan unterstützten Sprachen sind englisch, deutsch, finnisch, russisch und baskisch. Tunerly verfügt über einen dark- und light-mode.
+
+Verfügbare Stimmungen sind:
+
+* Gitarre: Standard, 7 Saiten, 8 Saiten, Eb, Drop D, Drop Db, Double Drop D, DADGAD, Open D, Open A, Open E, Open G
+* Bass: 4 Saiten, 5 Saiten, 6 Saiten, Drop D, D Standard, Drop C
+* Ukulele: C (Standard), D (Traditionell), Bariton, Bass
diff --git a/metadata/de/short_description.txt b/metadata/de/short_description.txt
new file mode 100644
index 0000000..6e0f707
--- /dev/null
+++ b/metadata/de/short_description.txt
@@ -0,0 +1 @@
+Eine minimalistische Stimmgerät App für Gitarre, Bass und Ukulele.
diff --git a/metadata/en-US/full_description.txt b/metadata/en-US/full_description.txt
new file mode 100644
index 0000000..2e48277
--- /dev/null
+++ b/metadata/en-US/full_description.txt
@@ -0,0 +1,7 @@
+Tunerly is a minimalistic, multi-language pitch tuning app which can be used for tuning your Guitar, Bass or Ukulele to various different tunings. It also includes a chromatic tuner. Currently supported languages are English, Finnish, German, Russian and Basque. Tunerly also has the option of switching between dark and light theme.
+
+Supported tunings are:
+
+* Guitar: Standard, 7 string, 8 string, E-Flat, Drop D, Drop Db, Double Drop D, DADGAD, Open D, Open A, Open E, Open G
+* Bass: 4 string, 5 string, 6 string, Drop D, D Standard, Drop C
+* Ukulele: C (Standard), D (Traditional), Baritone, Bass
diff --git a/metadata/en-US/images/featureGraphic.png b/metadata/en-US/images/featureGraphic.png
new file mode 100644
index 0000000..4dc3307
Binary files /dev/null and b/metadata/en-US/images/featureGraphic.png differ
diff --git a/metadata/en-US/images/phoneScreenshots/1.png b/metadata/en-US/images/phoneScreenshots/1.png
new file mode 100644
index 0000000..42c11ea
Binary files /dev/null and b/metadata/en-US/images/phoneScreenshots/1.png differ
diff --git a/metadata/en-US/images/phoneScreenshots/2.png b/metadata/en-US/images/phoneScreenshots/2.png
new file mode 100644
index 0000000..1f1c5bb
Binary files /dev/null and b/metadata/en-US/images/phoneScreenshots/2.png differ
diff --git a/metadata/en-US/images/phoneScreenshots/3.png b/metadata/en-US/images/phoneScreenshots/3.png
new file mode 100644
index 0000000..cf3fc09
Binary files /dev/null and b/metadata/en-US/images/phoneScreenshots/3.png differ
diff --git a/metadata/en-US/images/phoneScreenshots/4.png b/metadata/en-US/images/phoneScreenshots/4.png
new file mode 100644
index 0000000..660e459
Binary files /dev/null and b/metadata/en-US/images/phoneScreenshots/4.png differ
diff --git a/metadata/en-US/images/phoneScreenshots/5.png b/metadata/en-US/images/phoneScreenshots/5.png
new file mode 100644
index 0000000..f98a641
Binary files /dev/null and b/metadata/en-US/images/phoneScreenshots/5.png differ
diff --git a/metadata/en-US/images/phoneScreenshots/6.png b/metadata/en-US/images/phoneScreenshots/6.png
new file mode 100644
index 0000000..5e57e55
Binary files /dev/null and b/metadata/en-US/images/phoneScreenshots/6.png differ
diff --git a/metadata/en-US/short_description.txt b/metadata/en-US/short_description.txt
new file mode 100644
index 0000000..d268d18
--- /dev/null
+++ b/metadata/en-US/short_description.txt
@@ -0,0 +1 @@
+A minimalistic pitch tuning app for Guitar, Bass and Ukulele.
diff --git a/metadata/es/full_description.txt b/metadata/es/full_description.txt
new file mode 100644
index 0000000..8167fad
--- /dev/null
+++ b/metadata/es/full_description.txt
@@ -0,0 +1,8 @@
+Tunerly es una aplicación minimalista y multilenguaje para afinación de instrumentos. La puede usar para afinar su Guitarra, Bajo, Ukulele o Cuatro con multiples variaciones de afinación. También incluye un afinador cromático. Los idiomas soportados actualmente son Inglés, Finlandés, Alemán, Ruso, Euskera y Español. Tunerly también tiene la opción de escojer entre un tema oscuro o claro.
+
+Las afinaciones soportadas son:
+
+* Guitarra: Standard, 7 string, 8 string, E-Flat, Drop D, Drop Db, Double Drop D, DADGAD, Open D, Open A, Open E, Open G
+* Bajo: 4 string, 5 string, 6 string, Drop D, D Standard, Drop C
+* Ukulele: C (Standard), D (Traditional), Baritone, Bass
+* Cuatro: Tradicional
diff --git a/metadata/es/short_description.txt b/metadata/es/short_description.txt
new file mode 100644
index 0000000..ed56ea7
--- /dev/null
+++ b/metadata/es/short_description.txt
@@ -0,0 +1 @@
+Aplicación minimalista para afinar Guitarra, Bajo, Ukulele y Cuatro
diff --git a/metadata/eu/full_description.txt b/metadata/eu/full_description.txt
new file mode 100644
index 0000000..c0e83bd
--- /dev/null
+++ b/metadata/eu/full_description.txt
@@ -0,0 +1,7 @@
+Tunerly afinatzaile aplikazio minimalista eta eleanitza da, gitarra, baxua edo ukelelea hainbat disposiziotan afinatzeko erabil daitekeena. Afinatzaile kromatikoa ere badu. Gaur egun onartzen diren hizkuntzak ingelesa, finlandiera, alemana, errusiera eta euskara dira. Gai ilun eta argien artean aldatzeko aukera ere badu.
+
+Hauek dira dituen disposizioak:
+
+* Gitarra: estandarra, 7 soka, 8 soka, E-bemola, Drop D, Drop Db, Drop D bikoitza, DADGAD, D irekia, A irekia, E irekia, G irekia
+* Baxua: 4 soka, 5 soka, 6 soka, Drop D, D estandarra, Drop C
+* Ukulelea: C (estandarra), D (tradizionala), Baritonoa, Baxua
diff --git a/metadata/eu/short_description.txt b/metadata/eu/short_description.txt
new file mode 100644
index 0000000..9b5bcdd
--- /dev/null
+++ b/metadata/eu/short_description.txt
@@ -0,0 +1 @@
+Afinatzaile aplikazio minimalista gitarra, baxu eta ukelelerako.
diff --git a/metadata/fi/full_description.txt b/metadata/fi/full_description.txt
new file mode 100644
index 0000000..dc76aeb
--- /dev/null
+++ b/metadata/fi/full_description.txt
@@ -0,0 +1,7 @@
+Tunerly on yksinkertainen viritin, jolla voidaan virittää kitara, basso tai ukulele erilaisiin vireisiin. Se sisältää myös kromaattisen virittimen. On monikielinen, tällä hetkellä tuetut kielet ovat suomi, englanti, saksa, venäjä ja baski. Tunerly tukee myös vaaleaa sekä tummaa tilaa.
+
+Tuetut vireet:
+
+* Kitara: standardi, 7 kielinen, 8 kielinen, E-flat, drop D, drop Db, double drop D, DADGAD, avoin D, avoin A, avoin E, avoin G
+* Basso: 4 kielinen, 5 kielinen, 6 kielinen, drop D, D standardi, drop C
+* Ukulele: C (standardi), D (perinteinen), baritoni, basso
diff --git a/metadata/fi/short_description.txt b/metadata/fi/short_description.txt
new file mode 100644
index 0000000..ea540f8
--- /dev/null
+++ b/metadata/fi/short_description.txt
@@ -0,0 +1 @@
+Yksinkertainen viritin kitaralle, bassolle ja ukulelelle. Sisältää myös kromaattisen virittimen.
diff --git a/metadata/fi/title.txt b/metadata/fi/title.txt
new file mode 100644
index 0000000..63af0f9
--- /dev/null
+++ b/metadata/fi/title.txt
@@ -0,0 +1 @@
+Tunerly
diff --git a/metadata/ru/full_description.txt b/metadata/ru/full_description.txt
new file mode 100644
index 0000000..0cbcff1
--- /dev/null
+++ b/metadata/ru/full_description.txt
@@ -0,0 +1,7 @@
+Tunerly это минималистское многоязычное приложение для тюнеров, с помощью которого вы можете настроить гитару, бас или укулеле в разных тонах. Также доступен хроматический тюнер. В настоящее время поддерживаются английский, Финский , немецкий , русский и Баскский язык. Ты также можешь переключаться между тёмным и светлым режимом.
+
+Доступные настройки:
+
+* Гитара: Стандарт, 7 струн, 8 струн, Eb, Drop D, Drop Db, Double Drop D, DADGAD, Open D, Open A, Open E, Open G
+* бас: 4 струн, 5 струн, 6 струн, Drop D, D Стандарт, Drop C
+* Укулеле: C (Стандарт), D (Традиционный), Баритон, бас
diff --git a/metadata/ru/short_description.txt b/metadata/ru/short_description.txt
new file mode 100644
index 0000000..e21364e
--- /dev/null
+++ b/metadata/ru/short_description.txt
@@ -0,0 +1 @@
+Минималистичный тюнер Аpp для Гитары, Бас и Укулеле.
diff --git a/metadata/ru/title.txt b/metadata/ru/title.txt
new file mode 100644
index 0000000..63af0f9
--- /dev/null
+++ b/metadata/ru/title.txt
@@ -0,0 +1 @@
+Tunerly
diff --git a/privacy_policy.md b/privacy_policy.md
new file mode 100644
index 0000000..5683b75
--- /dev/null
+++ b/privacy_policy.md
@@ -0,0 +1,102 @@
+# Privacy Policy
+
+## EN
+Tunerly takes your privacy very seriously. This Privacy Policy explains everything you need
+to know about how your data is handled.
+
+Tunerly needs access to your smartphone's microphone in order to work correctly.
+The audio recorded is only used localy on your phone and is not shared with anyone,
+including the developer. Your audio is processed in real-time and it is not saved long-term.
+It is not stored or processed on any device or service other than your phone.
+
+Apart from audio recording, which is used as explained above, Tunerly does not monitor,
+use, collect, transmit, distribute or sell any other personal data.
+
+As of the writing of this Privacy Policy, Tunerly is free and Open Source. It is also ad-free.
+
+The current Privacy Policy may be changed, This document will be kept up to date.
+
+Last updated: December 03, 2020
+
+## FI
+Tunerly ottaa yksityisyytesi erittäin vakavasti. Tämä tietosuojakäytäntö selittää kaiken
+tarvitsemasi, tietääksesi kuinka tietojasi käsitellän.
+
+Tunerly tarvitsee pääsyn laitteesi mikrofoniin toimiakseen oikein. Nauhoitettua ääntä käytetään
+vain laitteellasi paikallisesti, eikä sitä jaeta kenellekkään, mukaan lukien kehittäjät. Äänesi
+käsitellään reaaliajassa eikä sitä tallenneta pitemmäksi aikaa.
+Sitä ei tallenneta tai käsitellä missään muussa laitteessa tai palvelussa, kuin omalla laitteellasi.
+
+Äänitallennuksen lisäksi, jota käytetään edellä kuvatulla tavalla, Tunerly ei seuraa, kerää,
+jaa tai myy muita henkilötietoja.
+
+Tätä tietosuojakäytäntöä voidaan muuttaa. Tätä asiakirjaa pidetään ajan tasalla.
+
+Päivitetty viimeksi: 9. toukokuuta 2021
+
+## DE
+
+Tunerly nimmt Ihre Privatsphäre sehr ernst. Diese Datenschutz-Bestimmung erklärt Ihnen
+alles, was Sie über die Verwendung Ihrer Daten wissen müssen.
+
+Tunerly benötigt Berechtigungen um auf Ihr Smartphone Mikrofon zuzugreifen.
+Die aufgenommene Audio wird nur lokal auf Ihrem Smartphone verwendet und
+niemandem, einschließlich dem Entwickler, zur Verfügung gestellt. Ihre Audio wird in
+Echtzeit verarbeitet und wird nicht über einen längeren Zeitraum gespeichert.
+Sie wird auf keinem anderen Gerät oder Service als Ihrem Eigenen gespeichert
+oder verarbeitet.
+
+Neben der Audio-Verarbeitung, die wie oben erklärt genutzt wird, überwacht, benutzt,
+sammelt, überträgt, verteilt oder verkauft Tunerly keine sonstigen persönliche Daten.
+
+Zum Zeitpunkt des Schreibens dieser Datenschutz-Bestimmung ist Tunerly kostenlos
+und Open Source. Tunerly ist ebenfalls Werbefrei.
+
+Die aktuelle Datenschutz-Bestimmung kann sich in Zukunft ändern, dieses Dokument
+wird aktuell gehalten.
+
+Letzte Aktualisierung: 02.12.2020
+
+## RU
+
+Tunerly очень серьёзно относиться к вашей конфиденциальности. Эта политика
+конфиденциальности объясняет всё, что вам нужно знать об использовании ваших
+данных.
+
+Tunerly необходимо разрешение на доступ к микрофону смартфона.
+Записанный звук используется только локально на вашем смартфоне и ни кому не
+доступен, включая разработчика. Ваш звук обрабатывается в режиме реального
+времени и не хранится в течение более длительного периода времени. Он не
+хранится и не обрабатывается ни на одном устройстве или сервисе, кроме его
+собственного.
+
+Помимо используемой аудио обработки, которая используется так,
+как описано выше, в этом случае Tunerly не собирает никаких других персональных данных,
+не распространяет и не продаёт.
+
+На момент написания этой информации Tunerly предоставляет бесплатную защиту
+данных и открытый источник, а также не содержит рекламы.
+
+Текущее положение о защите данных может измениться в
+будущем. Этот документ будет постоянно обновляться.
+
+Последнее обновление 02.12.2020
+
+## EU
+
+Tunerly-k zure pribatutasuna oso serio hartzen du. Pribatutasun gidalerro honek behar duzun guztia azaltzen dizu
+zure datuak nola erabiltzen diren jakiteko.
+
+Tunerly-k zure gailuko mikrofonorako sarbidea behar du behar bezala funtzionatzeko.
+Grabatutako audioa zure telefonoan bakarrik erabiltzen da eta ez da inorekin partekatzen,
+garatzailea barne. Zure audioa denbora errealean prozesatzen da eta ez da epe luzera gordetzen.
+Ez da ez biltegiratzen ez prozesatzen zure telefonoa ez den inongo gailu edo zerbitzutan.
+
+Audio grabazioaz gain, goian azaltzen den bezala erabiltzen dena, Tunerly-k ez du beste edozein datu pertsonalik monitorizatzen,
+erabiltzen, biltzen, transmititzen, banatzen edo saltzen.
+
+Pribatutasun gidalerro hau bezala, Tunerly librea eta kode irekikoa da. Iragarkirik ere ez du.
+
+Egungo pribatutasun gidalerroa aldatu egin daiteke; dokumentu hau eguneratuta egongo da.
+
+Azken eguneratzea: 2020ko abenduaren 3a
diff --git a/screenshots/1.png b/screenshots/1.png
new file mode 100644
index 0000000..79bb673
Binary files /dev/null and b/screenshots/1.png differ
diff --git a/screenshots/2.png b/screenshots/2.png
new file mode 100644
index 0000000..c1a2f6d
Binary files /dev/null and b/screenshots/2.png differ
diff --git a/screenshots/3.png b/screenshots/3.png
new file mode 100644
index 0000000..046475c
Binary files /dev/null and b/screenshots/3.png differ
diff --git a/screenshots/4.png b/screenshots/4.png
new file mode 100644
index 0000000..eeb364b
Binary files /dev/null and b/screenshots/4.png differ
diff --git a/screenshots/5.png b/screenshots/5.png
new file mode 100644
index 0000000..88e09fc
Binary files /dev/null and b/screenshots/5.png differ
diff --git a/screenshots/6.png b/screenshots/6.png
new file mode 100644
index 0000000..675ec73
Binary files /dev/null and b/screenshots/6.png differ
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..805bed3
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name = "Tuner"
\ No newline at end of file