Repo created
88
.gitignore
vendored
Normal file
|
|
@ -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
|
||||
1
.idea/.name
generated
Normal file
|
|
@ -0,0 +1 @@
|
|||
Tuner
|
||||
138
.idea/codeStyles/Project.xml
generated
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<JetCodeStyleSettings>
|
||||
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
|
||||
<value>
|
||||
<package name="java.util" alias="false" withSubpackages="false" />
|
||||
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
|
||||
<package name="io.ktor" alias="false" withSubpackages="true" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="PACKAGES_IMPORT_LAYOUT">
|
||||
<value>
|
||||
<package name="" alias="false" withSubpackages="true" />
|
||||
<package name="java" alias="false" withSubpackages="true" />
|
||||
<package name="javax" alias="false" withSubpackages="true" />
|
||||
<package name="kotlin" alias="false" withSubpackages="true" />
|
||||
<package name="" alias="true" withSubpackages="true" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||
</JetCodeStyleSettings>
|
||||
<codeStyleSettings language="XML">
|
||||
<indentOptions>
|
||||
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
||||
</indentOptions>
|
||||
<arrangement>
|
||||
<rules>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>xmlns:android</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>xmlns:.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*:id</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*:name</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>name</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>style</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>^$</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>ANDROID_ATTRIBUTE_ORDER</order>
|
||||
</rule>
|
||||
</section>
|
||||
<section>
|
||||
<rule>
|
||||
<match>
|
||||
<AND>
|
||||
<NAME>.*</NAME>
|
||||
<XML_ATTRIBUTE />
|
||||
<XML_NAMESPACE>.*</XML_NAMESPACE>
|
||||
</AND>
|
||||
</match>
|
||||
<order>BY_NAME</order>
|
||||
</rule>
|
||||
</section>
|
||||
</rules>
|
||||
</arrangement>
|
||||
</codeStyleSettings>
|
||||
<codeStyleSettings language="kotlin">
|
||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||
</codeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
||||
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
</state>
|
||||
</component>
|
||||
6
.idea/compiler.xml
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="1.8" />
|
||||
</component>
|
||||
</project>
|
||||
55
.idea/jarRepositories.xml
generated
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="BintrayJCenter" />
|
||||
<option name="name" value="BintrayJCenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="Google" />
|
||||
<option name="name" value="Google" />
|
||||
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven" />
|
||||
<option name="name" value="maven" />
|
||||
<option name="url" value="https://maven.localazy.com/repository/release/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven" />
|
||||
<option name="name" value="maven" />
|
||||
<option name="url" value="https://jitpack.io" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven" />
|
||||
<option name="name" value="maven" />
|
||||
<option name="url" value="https://www.jitpack.io" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven2" />
|
||||
<option name="name" value="maven2" />
|
||||
<option name="url" value="file:$PROJECT_DIR$/oss.sonatype.org/content/repositories/releases" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven2" />
|
||||
<option name="name" value="maven2" />
|
||||
<option name="url" value="file:$PROJECT_DIR$/app/oss.sonatype.org/content/repositories/releases" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="MavenRepo" />
|
||||
<option name="name" value="MavenRepo" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
9
.idea/misc.xml
generated
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
<option name="id" value="Android" />
|
||||
</component>
|
||||
</project>
|
||||
13
.idea/runConfigurations.xml
generated
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RunConfigurationProducerService">
|
||||
<option name="ignoredProducers">
|
||||
<set>
|
||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
|
||||
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
|
||||
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
674
LICENSE
Normal file
|
|
@ -0,0 +1,674 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
79
README.md
|
|
@ -1,3 +1,78 @@
|
|||
# tunerly
|
||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||
|
||||
Instrument Pitch Tuner for Android
|
||||
# Tunerly
|
||||
|
||||
<a href='https://play.google.com/store/apps/details?id=com.tunerly&hl=de&gl=US&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png' width='200'/></a>
|
||||
<a href="https://f-droid.org/de/packages/com.tunerly/">
|
||||
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
|
||||
alt="Get it on F-Droid"
|
||||
height="80">
|
||||
</a>
|
||||
|
||||
|
||||
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
|
||||
|
||||
<img src="/screenshots/1.png" width="400"> <img src="/screenshots/2.png" width="400"><img src="/screenshots/3.png" width="400"><img src="/screenshots/4.png" width="400"><img src="/screenshots/5.png" width="400"><img src="/screenshots/6.png" width="400">
|
||||
|
||||
## 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
|
||||
|
|
|
|||
1
app/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/build
|
||||
45
app/build.gradle
Normal file
|
|
@ -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")
|
||||
}
|
||||
BIN
app/libs/TarsosDSP-2.4.jar
Normal file
21
app/proguard-rules.pro
vendored
Normal file
|
|
@ -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
|
||||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
34
app/src/main/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.tuner">
|
||||
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:configChanges="uiMode"
|
||||
android:fullBackupContent="true"
|
||||
android:icon="@mipmap/logo"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/logo"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name="com.tunerly.SettingsActivity"
|
||||
android:label="@string/title_activity_settings" />
|
||||
<activity
|
||||
android:name="com.tunerly.AboutActivity"
|
||||
android:label="@string/title_activity_about" />
|
||||
<activity
|
||||
android:name="com.tunerly.MainActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
36
app/src/main/java/com/tunerly/AboutActivity.kt
Normal file
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
34
app/src/main/java/com/tunerly/Dialog.kt
Normal file
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
362
app/src/main/java/com/tunerly/MainActivity.kt
Normal file
|
|
@ -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<View>(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<out String>,
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
6
app/src/main/java/com/tunerly/MyCallback.kt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package com.tunerly
|
||||
|
||||
interface MyCallback {
|
||||
fun updateNote(note: String?)
|
||||
fun colorTuned(tuningDirection: String)
|
||||
}
|
||||
241
app/src/main/java/com/tunerly/PitchProcessing.kt
Normal file
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
123
app/src/main/java/com/tunerly/SettingsActivity.kt
Normal file
|
|
@ -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<Preference>(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")
|
||||
}
|
||||
}
|
||||
35
app/src/main/java/com/tunerly/TuningData.kt
Normal file
|
|
@ -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
|
||||
}
|
||||
30
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.84757"
|
||||
android:endY="92.4963"
|
||||
android:startX="42.9492"
|
||||
android:startY="49.59793"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
||||
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
||||
BIN
app/src/main/res/drawable/ic_play_arrow.png
Normal file
|
After Width: | Height: | Size: 9 KiB |
7528
app/src/main/res/drawable/logo_final.xml
Normal file
152
app/src/main/res/layout-v21/activity_about.xml
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:parentActivityName="com.example.tuner.MainActivity">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/about"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contactSeparator"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="@string/contact"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:layout_editor_absoluteX="0dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contactText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:lineSpacingExtra="3dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="30dp"
|
||||
android:text="@string/contact_text"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/contactSeparator" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/contactEmail"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="30dp"
|
||||
android:autoLink="email"
|
||||
android:text="@string/contact_email"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/contactText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/privacyPolicySeparator"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/privacy_policy"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/contactEmail" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/privacyPolicyLink"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:autoLink="web"
|
||||
android:lineSpacingExtra="3dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="30dp"
|
||||
android:text="@string/privacy_policy_link"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/privacyPolicySeparator" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/githubSeparator"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/github"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/privacyPolicyLink" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/github"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:lineSpacingExtra="3dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="30dp"
|
||||
android:text="@string/github_text"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/githubSeparator" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/githubLink"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:lineSpacingExtra="3dp"
|
||||
android:text="@string/github_link"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="30dp"
|
||||
android:autoLink="web"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/github" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/versionSeparator"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="@string/version"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/githubLink" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/versionTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="3dp"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/versionSeparator" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
110
app/src/main/res/layout-v21/activity_main.xml
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/tuner_area"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:minHeight="?actionBarSize"
|
||||
tools:context="com.tunerly.MainActivity">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/instrument_spinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="19dp"
|
||||
android:layout_marginTop="4dp"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintStart_toStartOf="@id/toolbar"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/tuning_spinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginEnd="40dp"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintEnd_toEndOf="@+id/toolbar"
|
||||
app:layout_constraintStart_toEndOf="@+id/instrument_spinner"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/noteText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="@string/pluck_a_string"
|
||||
android:textSize="50dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/toolbar"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/down"
|
||||
android:layout_width="79dp"
|
||||
android:layout_height="128dp"
|
||||
android:contentDescription="@string/tune_down"
|
||||
android:rotation="90"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.834"
|
||||
app:tint="@color/colorControlNormal" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/up"
|
||||
android:layout_width="79dp"
|
||||
android:layout_height="128dp"
|
||||
android:contentDescription="@string/tune_up"
|
||||
android:rotation="270"
|
||||
android:src="@drawable/ic_play_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.159"
|
||||
app:tint="@color/colorControlNormal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/annotation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="55dp"
|
||||
android:layout_marginBottom="27dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:text="@string/annotation"
|
||||
android:textSize="50dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:ignore="SpUsage" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/logo"
|
||||
android:layout_width="89dp"
|
||||
android:layout_height="187dp"
|
||||
android:layout_marginStart="30dp"
|
||||
android:contentDescription="@string/logo"
|
||||
android:translationY="37dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:srcCompat="@drawable/logo_final" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
25
app/src/main/res/layout-v21/activity_settings.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:parentActivityName="com.example.tuner.MainActivity">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:theme="?attr/actionBarTheme"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
<FrameLayout
|
||||
android:id="@+id/settings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
10
app/src/main/res/menu/menu.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/settings"
|
||||
android:title="@string/settings" />
|
||||
|
||||
<item
|
||||
android:id="@+id/about"
|
||||
android:title="@string/about" />
|
||||
</menu>
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
app/src/main/res/mipmap-hdpi/logo.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-mdpi/logo.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
app/src/main/res/mipmap-xhdpi/logo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/logo.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/logo.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
95
app/src/main/res/values-de-rDE/strings.xml
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pluck_a_string">Bereit</string>
|
||||
<string name="tune_down">Hochstimmen</string>
|
||||
<string name="tune_up">Runterstimmen</string>
|
||||
<string name="preference_title">Sprache</string>
|
||||
<string name="popup"><![CDATA[
|
||||
<p>Blauer Pfeil: Stimme in die Richtung, in die der Pfeil zeigt</p><br>
|
||||
Beide Pfeile grün: Dein Instrument ist gestimmt</p>
|
||||
]]></string>
|
||||
<string name="settings">Einstellungen</string>
|
||||
<string name="about">Über</string>
|
||||
<string name="contact">Kontakt</string>
|
||||
<string name="privacy_policy">Datenschutz-Bestimmung</string>
|
||||
<string name="privacy_policy_text">"Die Datenschutz-Bestimmung findest Du hier "</string>
|
||||
<string name="github_text">"Tunerly ist eine Open Source App. Das Projekt findest Du hier auf Github "</string>
|
||||
<string name="contact_text">Solltest Du irgendwelche Fragen oder Vorschläge haben, oder hast Du einen Fehler gefunden, kannst Du mich hier kontaktieren </string>
|
||||
|
||||
<!-- Instrument Spinner-->
|
||||
<string-array name="instruments_array">
|
||||
<item>Gitarre</item>
|
||||
<item>Bass</item>
|
||||
<item>Ukulele</item>
|
||||
<item>Cuatro</item>
|
||||
<item>Chromatisch</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tunings -->
|
||||
<string-array name="tuning_array_guitar">
|
||||
<item>Standard</item>
|
||||
<item>7 Saiten</item>
|
||||
<item>8 Saiten</item>
|
||||
<item>Eb</item>
|
||||
<item>Ganzton tiefer</item>
|
||||
<item>Drop D</item>
|
||||
<item>Drop Db</item>
|
||||
<item>Double Drop D</item>
|
||||
<item>DADGAD</item>
|
||||
<item>Open D</item>
|
||||
<item>Open A</item>
|
||||
<item>Open E</item>
|
||||
<item>Open G</item>
|
||||
<item>Open B</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_bass">
|
||||
<item>4 Saiten</item>
|
||||
<item>5 Saiten</item>
|
||||
<item>6 Saiten</item>
|
||||
<item>Drop-D</item>
|
||||
<item>D Standard</item>
|
||||
<item>Drop C</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_ukulele">
|
||||
<item>C (Standard)</item>
|
||||
<item>D (Traditionell)</item>
|
||||
<item>Bariton</item>
|
||||
<item>Bass</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_cuatro">
|
||||
<item>C-Standard</item>
|
||||
<item>D-Standard</item>
|
||||
</string-array>
|
||||
<string-array name="chromatic">
|
||||
<item> </item>
|
||||
</string-array>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<string-array name="language_array" translatable="false">
|
||||
<item>Baskisch</item>
|
||||
<item>Englisch</item>
|
||||
<item>Finnisch</item>
|
||||
<item>Deutsch</item>
|
||||
<item>Russisch</item>
|
||||
<item>Spanisch</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="language_data" translatable="false">
|
||||
<item>eu</item>
|
||||
<item>en</item>
|
||||
<item>fi</item>
|
||||
<item>de</item>
|
||||
<item>ru</item>
|
||||
<item>es</item>
|
||||
</string-array>
|
||||
|
||||
<string name="switch_theme">Dark Theme</string>
|
||||
<string name="popup_title">Info</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="guitar">Gitarre</string>
|
||||
<string name="bass">Bass</string>
|
||||
<string name="ukulele">Ukulele</string>
|
||||
<string name="cuatro">Cuatro</string>
|
||||
<string name="chromatic">Chromatisch</string>
|
||||
<string name="version" translatable="false">Version</string>
|
||||
</resources>
|
||||
112
app/src/main/res/values-es/strings.xml
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<resources>
|
||||
<!-- General -->
|
||||
<string name="app_name" translatable="false">Tunerly</string>
|
||||
<string name="pluck_a_string">Toca</string>
|
||||
<string name="tune_down">Baja la afinación</string>
|
||||
<string name="tune_up">Sube la afinación</string>
|
||||
<string name="annotation" translatable="false">\?</string>
|
||||
<string name="logo" translatable="false">logo</string>
|
||||
<string name="switch_theme">Tema oscuro</string>
|
||||
<string name="preference_title">Idioma</string>
|
||||
<string name="popup"><![CDATA[
|
||||
<p>Flecha azul: Sintoniza en la dirección que señala la flecha</p><br>
|
||||
Ambas flechas verdes: Estás en sintonía</p>
|
||||
]]></string>
|
||||
<string name="popup_title">Información</string>
|
||||
<string name="ok">OK</string>
|
||||
|
||||
<!-- Settings fields -->
|
||||
<string name="settings">Ajustes</string>
|
||||
<string name="about">Acerca de</string>
|
||||
|
||||
<!-- Instrument Spinner-->
|
||||
<string-array name="instruments_array">
|
||||
<item>@string/guitar</item>
|
||||
<item>@string/bass</item>
|
||||
<item>@string/ukulele</item>
|
||||
<item>@string/cuatro</item>
|
||||
<item>@string/chromatic</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tunings -->
|
||||
<string-array name="tuning_array_guitar">
|
||||
<item>Standard</item>
|
||||
<item>7 cuerda</item>
|
||||
<item>8 cuerda</item>
|
||||
<item>E-Flat</item>
|
||||
<item>Todo el tono más bajo</item>
|
||||
<item>Drop D</item>
|
||||
<item>Drop Db</item>
|
||||
<item>Double Drop D</item>
|
||||
<item>DADGAD</item>
|
||||
<item>Open D</item>
|
||||
<item>Open A</item>
|
||||
<item>Open E</item>
|
||||
<item>Open G</item>
|
||||
<item>Open B</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_bass">
|
||||
<item>4 cuerda</item>
|
||||
<item>5 cuerda</item>
|
||||
<item>6 cuerda</item>
|
||||
<item>Drop-D</item>
|
||||
<item>D Standard</item>
|
||||
<item>Drop C</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_ukulele">
|
||||
<item>C (Standard)</item>
|
||||
<item>D (Tradicional)</item>
|
||||
<item>Baritone</item>
|
||||
<item>Bass</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_cuatro">
|
||||
<item>C-Standard</item>
|
||||
<item>D-Standard</item>
|
||||
</string-array>
|
||||
<string-array name="chromatic">
|
||||
<item> </item>
|
||||
</string-array>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="title_activity_settings" translatable="false">SettingsActivity</string>
|
||||
<string name="dark_theme" translatable="false">dark_theme</string>
|
||||
|
||||
<!-- About -->
|
||||
<string name="title_activity_about" translatable="false">AboutActivity</string>
|
||||
<string name="contact">Contacto</string>
|
||||
<string name="contact_text">Si tiene alguna pregunta, sugerencia o desea reportar algún error, puede contactarme por </string>
|
||||
<string name="contact_email" translatable="false">tunerlyapp@gmail.com</string>
|
||||
<string name="privacy_policy">Política de privacidad</string>
|
||||
<string name="privacy_policy_text">Puede encontrar la política de privacidad aquí</string>
|
||||
<string name="privacy_policy_link" translatable="false">https://github.com/brianhorn/Tunerly/blob/master/privacy_policy.md</string>
|
||||
<string name="github" translatable="false">Github</string>
|
||||
<string name="github_text">Tunerly es una aplicación de Código Abierto. Puede encontrar el proyecto en GitHub aquí</string>
|
||||
<string name="github_link" translatable="false">https://github.com/brianhorn/Tunerly</string>
|
||||
<string name="version">Versión</string>
|
||||
<string name="guitar">Guitarra</string>
|
||||
<string name="bass">Bajo</string>
|
||||
<string name="ukulele">Ukulele</string>
|
||||
<string name="cuatro">Cuatro</string>
|
||||
<string name="chromatic">Cromático</string>
|
||||
<string name="language_preference" translatable="false">language_preference</string>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<string-array name="language_array" translatable="false">
|
||||
<item>Español</item>
|
||||
<item>Euskera</item>
|
||||
<item>Inglés</item>
|
||||
<item>Finlandés</item>
|
||||
<item>Alemán</item>
|
||||
<item>Ruso</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="language_data" translatable="false">
|
||||
<item>es</item>
|
||||
<item>eu</item>
|
||||
<item>en</item>
|
||||
<item>fi</item>
|
||||
<item>de</item>
|
||||
<item>ru</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
112
app/src/main/res/values-eu/strings.xml
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<resources>
|
||||
<!-- General -->
|
||||
<string name="app_name" translatable="false">Tunerly</string>
|
||||
<string name="pluck_a_string">Jo</string>
|
||||
<string name="tune_down">Jaitsi</string>
|
||||
<string name="tune_up">Igo</string>
|
||||
<string name="annotation" translatable="false">\?</string>
|
||||
<string name="logo" translatable="false">logo</string>
|
||||
<string name="switch_theme">Itxura iluna</string>
|
||||
<string name="preference_title">Hizkuntza</string>
|
||||
<string name="popup"><![CDATA[
|
||||
<p>Gezi urdina: afinatu geziaren noranzkoan</p><br>
|
||||
Bi geziak berde: afinatuta dago</p>
|
||||
]]></string>
|
||||
<string name="popup_title">Informazioa</string>
|
||||
<string name="ok">ADOS</string>
|
||||
|
||||
<!-- Settings fields -->
|
||||
<string name="settings">Ezarpenak</string>
|
||||
<string name="about">Honi buruz</string>
|
||||
|
||||
<!-- Instrument Spinner-->
|
||||
<string-array name="instruments_array">
|
||||
<item>@string/guitar</item>
|
||||
<item>@string/bass</item>
|
||||
<item>@string/ukulele</item>
|
||||
<item>@string/cuatro</item>
|
||||
<item>@string/chromatic</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tunings -->
|
||||
<string-array name="tuning_array_guitar">
|
||||
<item>Estandarra</item>
|
||||
<item>7 soka</item>
|
||||
<item>8 soka</item>
|
||||
<item>E-bemol</item>
|
||||
<item>Koko sävy alempi</item>
|
||||
<item>Drop D</item>
|
||||
<item>Drop Db</item>
|
||||
<item>Drop D bikoitza</item>
|
||||
<item> DADGAD</item>
|
||||
<item>D irekia</item>
|
||||
<item>A irekia</item>
|
||||
<item>E irekia</item>
|
||||
<item>G irekia</item>
|
||||
<item>B irekia</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_bass">
|
||||
<item>4 soka</item>
|
||||
<item>5 soka</item>
|
||||
<item>6 soka</item>
|
||||
<item>Drop-D</item>
|
||||
<item>D estandarra</item>
|
||||
<item>Drop C</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_ukulele">
|
||||
<item>C (estandarra)</item>
|
||||
<item>D (tradizionala)</item>
|
||||
<item>Baritonoa</item>
|
||||
<item>Baxua</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_cuatro">
|
||||
<item>C-estandarra</item>
|
||||
<item>D-estandarra</item>
|
||||
</string-array>
|
||||
<string-array name="chromatic">
|
||||
<item> </item>
|
||||
</string-array>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="title_activity_settings" translatable="false">SettingsActivity</string>
|
||||
<string name="dark_theme" translatable="false">dark_theme</string>
|
||||
|
||||
<!-- About -->
|
||||
<string name="title_activity_about" translatable="false">AboutActivity</string>
|
||||
<string name="contact">Kontaktua</string>
|
||||
<string name="contact_text">Galderarik, iradokizunik edo berri emateko akatsik baduzu, helbide honetan kontaktatu nazakezu: </string>
|
||||
<string name="contact_email" translatable="false">tunerlyapp@gmail.com</string>
|
||||
<string name="privacy_policy">Pribatutasun gidalerroa</string>
|
||||
<string name="privacy_policy_text">Pribatutasun gidalerroa hemen aurkitu dezakezu</string>
|
||||
<string name="privacy_policy_link" translatable="false">https://github.com/brianhorn/Tunerly/blob/master/privacy_policy_en_de_rus_eu.md</string>
|
||||
<string name="github" translatable="false">Github</string>
|
||||
<string name="github_text">Tunerly kode irekiko aplikazioa da. Proiektua GitHuben aurkitu dezakezu</string>
|
||||
<string name="github_link" translatable="false">https://github.com/brianhorn/Tunerly</string>
|
||||
<string name="version">Bertsioa</string>
|
||||
<string name="guitar">Gitarra</string>
|
||||
<string name="bass">Baxua</string>
|
||||
<string name="ukulele">Ukulelea</string>
|
||||
<string name="cuatro">Cuatro</string>
|
||||
<string name="chromatic">Kromatikoa</string>
|
||||
<string name="language_preference" translatable="false">language_preference</string>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<string-array name="language_array" translatable="false">
|
||||
<item>Euskara</item>
|
||||
<item>Ingelesa</item>
|
||||
<item>Finlandiera</item>
|
||||
<item>Alemana</item>
|
||||
<item>Errusiera</item>
|
||||
<item>Gaztelania</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="language_data" translatable="false">
|
||||
<item>eu</item>
|
||||
<item>en</item>
|
||||
<item>fi</item>
|
||||
<item>de</item>
|
||||
<item>ru</item>
|
||||
<item>es</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
112
app/src/main/res/values-fi/strings.xml
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<resources>
|
||||
<!-- General -->
|
||||
<string name="app_name" translatable="false">Tunerly</string>
|
||||
<string name="pluck_a_string">Soita</string>
|
||||
<string name="tune_down">Viritä matalammaksi</string>
|
||||
<string name="tune_up">Viritä korkeammaksi</string>
|
||||
<string name="annotation" translatable="false">\?</string>
|
||||
<string name="logo" translatable="false">logo</string>
|
||||
<string name="switch_theme">Tumma teema</string>
|
||||
<string name="preference_title">Kieli</string>
|
||||
<string name="popup"><![CDATA[
|
||||
<p>Sininen nuoli: Viritä suuntaan, johon nuoli osoittaa</p><br>
|
||||
Molemmat nuolet vihreitä: Olet vireessä</p>
|
||||
]]></string>
|
||||
<string name="popup_title">Ohje</string>
|
||||
<string name="ok">Selvä</string>
|
||||
|
||||
<!-- Settings fields -->
|
||||
<string name="settings">Asetukset</string>
|
||||
<string name="about">Tietoja</string>
|
||||
|
||||
<!-- Instrument Spinner-->
|
||||
<string-array name="instruments_array">
|
||||
<item>@string/guitar</item>
|
||||
<item>@string/bass</item>
|
||||
<item>@string/ukulele</item>
|
||||
<item>@string/cuatro</item>
|
||||
<item>@string/chromatic</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tunings -->
|
||||
<string-array name="tuning_array_guitar">
|
||||
<item>Standardi</item>
|
||||
<item>7 Kielinen</item>
|
||||
<item>8 Kielinen</item>
|
||||
<item>E-Flat</item>
|
||||
<item>Tonu osoa baxuagoa</item>
|
||||
<item>Drop D</item>
|
||||
<item>Drop Db</item>
|
||||
<item>Double Drop D</item>
|
||||
<item> DADGAD</item>
|
||||
<item>Avoin D</item>
|
||||
<item>Avoin A</item>
|
||||
<item>Avoin E</item>
|
||||
<item>Avoin G</item>
|
||||
<item>Avoin B</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_bass">
|
||||
<item>4 Kielinen</item>
|
||||
<item>5 Kielinen</item>
|
||||
<item>6 Kielinen</item>
|
||||
<item>Drop-D</item>
|
||||
<item>D Standardi</item>
|
||||
<item>Drop C</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_ukulele">
|
||||
<item>C (Standardi)</item>
|
||||
<item>D (Perinteinen)</item>
|
||||
<item>Baritoni</item>
|
||||
<item>Basso</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_cuatro">
|
||||
<item>C-Standardi</item>
|
||||
<item>D-Standardi</item>
|
||||
</string-array>
|
||||
<string-array name="chromatic">
|
||||
<item> </item>
|
||||
</string-array>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="title_activity_settings" translatable="false">SettingsActivity</string>
|
||||
<string name="dark_theme" translatable="false">dark_theme</string>
|
||||
|
||||
<!-- About -->
|
||||
<string name="title_activity_about" translatable="false">AboutActivity</string>
|
||||
<string name="contact">Yhteystiedot</string>
|
||||
<string name="contact_text">Jos sinulla on kysyttävää, ehdotuksia tai ongelmia ilmoitattevaksi, voit laittaa sähköpostia osoitteeseen</string>
|
||||
<string name="contact_email" translatable="false">tunerlyapp@gmail.com</string>
|
||||
<string name="privacy_policy">Tietosuojakäytäntö</string>
|
||||
<string name="privacy_policy_text">Tietosuojakäytäntö löytyy täältä</string>
|
||||
<string name="privacy_policy_link" translatable="false">https://github.com/brianhorn/Tunerly/blob/master/privacy_policy_en_de_rus_eu.md</string>
|
||||
<string name="github" translatable="false">Github</string>
|
||||
<string name="github_text">Tunerly on avoimen lähdekoodin ohjelma. Löydät projektin Githubista täältä</string>
|
||||
<string name="github_link" translatable="false">https://github.com/brianhorn/Tunerly</string>
|
||||
<string name="version">Versio</string>
|
||||
<string name="guitar">Kitara</string>
|
||||
<string name="bass">Basso</string>
|
||||
<string name="ukulele">Ukulele</string>
|
||||
<string name="cuatro">Cuatro</string>
|
||||
<string name="chromatic">Kromaattinen</string>
|
||||
<string name="language_preference" translatable="false">language_preference</string>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<string-array name="language_array" translatable="false">
|
||||
<item>baski</item>
|
||||
<item>Englanti</item>
|
||||
<item>Suomalainen</item>
|
||||
<item>Saksan kieli</item>
|
||||
<item>Venäjän kieli</item>
|
||||
<item>Espanja</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="language_data" translatable="false">
|
||||
<item>eu</item>
|
||||
<item>en</item>
|
||||
<item>fi</item>
|
||||
<item>de</item>
|
||||
<item>ru</item>
|
||||
<item>es</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
95
app/src/main/res/values-ru/strings.xml
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="pluck_a_string">готов</string>
|
||||
<string name="tune_down">Hochstimmen</string>
|
||||
<string name="tune_up">Runterstimmen</string>
|
||||
<string name="preference_title">язык</string>
|
||||
<string name="popup"><![CDATA[
|
||||
<p>Синяя стрелка: звук в том направлении,в котором стрелка указывает </p><br>
|
||||
Обе стрелки зелёные: твой инструмент настроен </p>
|
||||
]]></string>
|
||||
<string name="settings">Настройки</string>
|
||||
<string name="about">О нас</string>
|
||||
<string name="privacy_policy">политика конфиденциальности</string>
|
||||
<string name="privacy_policy_text">вы можете найти нашу политику конфиденциальности здесь</string>
|
||||
<string name="github_text">Tunerly открытый источник арр. Проект ты найдёшь здесь Github</string>
|
||||
<string name="contact_text">если у вас есть какие-либо вопросы или предложения, или вы обнаружили ошибку вы можете связаться со мной здесь</string>
|
||||
|
||||
<!-- Instrument Spinner-->
|
||||
<string-array name="instruments_array">
|
||||
<item>Гитара</item>
|
||||
<item>бас</item>
|
||||
<item>Укулеле</item>
|
||||
<item>Куатро</item>
|
||||
<item>Хроматический</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tunings -->
|
||||
<string-array name="tuning_array_guitar">
|
||||
<item>Стандарт</item>
|
||||
<item>7 струн</item>
|
||||
<item>8 струн</item>
|
||||
<item>Eb</item>
|
||||
<item>На целый тон ниже</item>
|
||||
<item>Drop D</item>
|
||||
<item>Drop Db</item>
|
||||
<item>Double Drop D</item>
|
||||
<item>DADGAD</item>
|
||||
<item>Open D</item>
|
||||
<item>Open A</item>
|
||||
<item>Open E</item>
|
||||
<item>Open G</item>
|
||||
<item>Open B</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_bass">
|
||||
<item>4 струн</item>
|
||||
<item>5 струн</item>
|
||||
<item>6 струн</item>
|
||||
<item>Drop-D</item>
|
||||
<item>D Стандарт</item>
|
||||
<item>Drop C</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_ukulele">
|
||||
<item>C (Стандарт)</item>
|
||||
<item>D (Традиционный)</item>
|
||||
<item>Баритон</item>
|
||||
<item>бас</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_cuatro">
|
||||
<item>C-Стандарт</item>
|
||||
<item>D-Стандарт</item>
|
||||
</string-array>
|
||||
<string-array name="chromatic">
|
||||
<item> </item>
|
||||
</string-array>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<string-array name="language_array" translatable="false">
|
||||
<item>баскский</item>
|
||||
<item>английский</item>
|
||||
<item>финский</item>
|
||||
<item>Немецкий</item>
|
||||
<item>русский</item>
|
||||
<item>испанский язык</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="language_data" translatable="false">
|
||||
<item>eu</item>
|
||||
<item>en</item>
|
||||
<item>fi</item>
|
||||
<item>de</item>
|
||||
<item>ru</item>
|
||||
<item>es</item>
|
||||
</string-array>
|
||||
|
||||
<string name="switch_theme">"тёмная"</string>
|
||||
<string name="popup_title">Информация</string>
|
||||
<string name="ok">ОК</string>
|
||||
<string name="contact">Контакт</string>
|
||||
<string name="guitar">Гитара</string>
|
||||
<string name="bass">бас</string>
|
||||
<string name="ukulele">Укулеле</string>
|
||||
<string name="cuatro">Куатро</string>
|
||||
<string name="chromatic">Хроматический</string>
|
||||
<string name="version">версия</string>
|
||||
</resources>
|
||||
8
app/src/main/res/values/colors.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorAccent">#000000</color>
|
||||
<color name="textColorPrimary">#000000</color>
|
||||
<color name="colorOutOfTune">#40C4FF</color>
|
||||
<color name="colorTuned">#00E676</color>
|
||||
<color name="colorControlNormal">#4F5B62</color>
|
||||
</resources>
|
||||
112
app/src/main/res/values/strings.xml
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<resources>
|
||||
<!-- General -->
|
||||
<string name="app_name" translatable="false">Tunerly</string>
|
||||
<string name="pluck_a_string">Play</string>
|
||||
<string name="tune_down">Tune down</string>
|
||||
<string name="tune_up">Tune up</string>
|
||||
<string name="annotation" translatable="false">\?</string>
|
||||
<string name="logo" translatable="false">logo</string>
|
||||
<string name="switch_theme">Dark Theme</string>
|
||||
<string name="preference_title">Language</string>
|
||||
<string name="popup"><![CDATA[
|
||||
<p>Blue arrow: Tune in the direction the arrow points to</p><br>
|
||||
Both arrows green: You are in tune</p>
|
||||
]]></string>
|
||||
<string name="popup_title">Info</string>
|
||||
<string name="ok">OK</string>
|
||||
|
||||
<!-- Settings fields -->
|
||||
<string name="settings">Settings</string>
|
||||
<string name="about">About</string>
|
||||
|
||||
<!-- Instrument Spinner-->
|
||||
<string-array name="instruments_array">
|
||||
<item>@string/guitar</item>
|
||||
<item>@string/bass</item>
|
||||
<item>@string/ukulele</item>
|
||||
<item>@string/cuatro</item>
|
||||
<item>@string/chromatic</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Tunings -->
|
||||
<string-array name="tuning_array_guitar">
|
||||
<item>Standard</item>
|
||||
<item>7 String</item>
|
||||
<item>8 String</item>
|
||||
<item>E-Flat</item>
|
||||
<item>Full step down</item>
|
||||
<item>Drop D</item>
|
||||
<item>Drop Db</item>
|
||||
<item>Double Drop D</item>
|
||||
<item> DADGAD</item>
|
||||
<item>Open D</item>
|
||||
<item>Open A</item>
|
||||
<item>Open E</item>
|
||||
<item>Open G</item>
|
||||
<item>Open B</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_bass">
|
||||
<item>4 String</item>
|
||||
<item>5 String</item>
|
||||
<item>6 String</item>
|
||||
<item>Drop-D</item>
|
||||
<item>D Standard</item>
|
||||
<item>Drop C</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_ukulele">
|
||||
<item>C (Standard)</item>
|
||||
<item>D (Traditional)</item>
|
||||
<item>Baritone</item>
|
||||
<item>Bass</item>
|
||||
</string-array>
|
||||
<string-array name="tuning_array_cuatro">
|
||||
<item>C-Standard</item>
|
||||
<item>D-Standard</item>
|
||||
</string-array>
|
||||
<string-array name="chromatic">
|
||||
<item> </item>
|
||||
</string-array>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="title_activity_settings" translatable="false">SettingsActivity</string>
|
||||
<string name="dark_theme" translatable="false">dark_theme</string>
|
||||
|
||||
<!-- About -->
|
||||
<string name="title_activity_about" translatable="false">AboutActivity</string>
|
||||
<string name="contact">Contact</string>
|
||||
<string name="contact_text">If you have any questions, suggestions or bugs to report, you can contact me at </string>
|
||||
<string name="contact_email" translatable="false">tunerlyapp@gmail.com</string>
|
||||
<string name="privacy_policy">Privacy Policy</string>
|
||||
<string name="privacy_policy_text">Privacy Policy can be found here</string>
|
||||
<string name="privacy_policy_link" translatable="false">https://github.com/brianhorn/Tunerly/blob/master/privacy_policy.md</string>
|
||||
<string name="github" translatable="false">Github</string>
|
||||
<string name="github_text">Tunerly is an Open Source app. You can find the project on Github here</string>
|
||||
<string name="github_link" translatable="false">https://github.com/brianhorn/Tunerly</string>
|
||||
<string name="version">Version</string>
|
||||
<string name="guitar">Guitar</string>
|
||||
<string name="bass">Bass</string>
|
||||
<string name="ukulele">Ukulele</string>
|
||||
<string name="cuatro">Cuatro</string>
|
||||
<string name="chromatic">Chromatic</string>
|
||||
<string name="language_preference" translatable="false">language_preference</string>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<string-array name="language_array" translatable="false">
|
||||
<item>Basque</item>
|
||||
<item>English</item>
|
||||
<item>Finnish</item>
|
||||
<item>German</item>
|
||||
<item>Russian</item>
|
||||
<item>Spanish</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="language_data" translatable="false">
|
||||
<item>eu</item>
|
||||
<item>en</item>
|
||||
<item>fi</item>
|
||||
<item>de</item>
|
||||
<item>ru</item>
|
||||
<item>es</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
6
app/src/main/res/values/styles.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
<resources>
|
||||
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
||||
</style>
|
||||
</resources>
|
||||
16
app/src/main/res/xml/root_preferences.xml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="dark_theme"
|
||||
app:defaultValue="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/switch_theme" />
|
||||
|
||||
<ListPreference
|
||||
android:key="@string/language_preference"
|
||||
android:title="@string/preference_title"
|
||||
android:entries="@array/language_array"
|
||||
android:entryValues="@array/language_data"
|
||||
app:iconSpaceReserved="false" />
|
||||
</PreferenceScreen>
|
||||
17
app/src/test/java/com/example/tuner/ExampleUnitTest.kt
Normal file
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
28
build.gradle
Normal file
|
|
@ -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
|
||||
}
|
||||
21
gradle.properties
Normal file
|
|
@ -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
|
||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
6
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
|
|
@ -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
|
||||
7
metadata/de/full_description.txt
Normal file
|
|
@ -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
|
||||
1
metadata/de/short_description.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Eine minimalistische Stimmgerät App für Gitarre, Bass und Ukulele.
|
||||
7
metadata/en-US/full_description.txt
Normal file
|
|
@ -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
|
||||
BIN
metadata/en-US/images/featureGraphic.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
metadata/en-US/images/phoneScreenshots/1.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
metadata/en-US/images/phoneScreenshots/2.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
metadata/en-US/images/phoneScreenshots/3.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
metadata/en-US/images/phoneScreenshots/4.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
metadata/en-US/images/phoneScreenshots/5.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
metadata/en-US/images/phoneScreenshots/6.png
Normal file
|
After Width: | Height: | Size: 107 KiB |
1
metadata/en-US/short_description.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
A minimalistic pitch tuning app for Guitar, Bass and Ukulele.
|
||||
8
metadata/es/full_description.txt
Normal file
|
|
@ -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
|
||||
1
metadata/es/short_description.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Aplicación minimalista para afinar Guitarra, Bajo, Ukulele y Cuatro
|
||||
7
metadata/eu/full_description.txt
Normal file
|
|
@ -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
|
||||
1
metadata/eu/short_description.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Afinatzaile aplikazio minimalista gitarra, baxu eta ukelelerako.
|
||||
7
metadata/fi/full_description.txt
Normal file
|
|
@ -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
|
||||
1
metadata/fi/short_description.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Yksinkertainen viritin kitaralle, bassolle ja ukulelelle. Sisältää myös kromaattisen virittimen.
|
||||
1
metadata/fi/title.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Tunerly
|
||||
7
metadata/ru/full_description.txt
Normal file
|
|
@ -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 (Традиционный), Баритон, бас
|
||||
1
metadata/ru/short_description.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Минималистичный тюнер Аpp для Гитары, Бас и Укулеле.
|
||||
1
metadata/ru/title.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Tunerly
|
||||
102
privacy_policy.md
Normal file
|
|
@ -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
|
||||
BIN
screenshots/1.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
screenshots/2.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
screenshots/3.png
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
screenshots/4.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
screenshots/5.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
screenshots/6.png
Normal file
|
After Width: | Height: | Size: 145 KiB |
2
settings.gradle
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
include ':app'
|
||||
rootProject.name = "Tuner"
|
||||