├── .idea ├── .name ├── .gitignore ├── compiler.xml ├── kotlinc.xml ├── vcs.xml ├── AndroidProjectSystem.xml ├── discord.xml ├── migrations.xml ├── deviceManager.xml ├── misc.xml ├── deploymentTargetSelector.xml ├── gradle.xml └── runConfigurations.xml ├── app ├── .gitignore ├── src │ └── main │ │ ├── ic_launcher-playstore.png │ │ ├── java │ │ └── com │ │ │ └── alexmercerind │ │ │ └── audire │ │ │ ├── utils │ │ │ ├── Constants.kt │ │ │ └── WaveView.kt │ │ │ ├── api │ │ │ └── shazam │ │ │ │ ├── models │ │ │ │ ├── Genres.kt │ │ │ │ ├── ShazamResponse.kt │ │ │ │ ├── Metadata.kt │ │ │ │ ├── Signature.kt │ │ │ │ ├── Section.kt │ │ │ │ ├── Geolocation.kt │ │ │ │ ├── Images.kt │ │ │ │ ├── ShazamRequestBody.kt │ │ │ │ └── Track.kt │ │ │ │ └── ShazamAPI.kt │ │ │ ├── repository │ │ │ ├── IdentifyRepository.kt │ │ │ ├── HistoryRepository.kt │ │ │ ├── ImportExportRepository.kt │ │ │ ├── SettingsRepository.kt │ │ │ └── ShazamIdentifyRepository.kt │ │ │ ├── mappers │ │ │ ├── ByteArray.kt │ │ │ ├── HistoryItem.kt │ │ │ ├── Music.kt │ │ │ └── ShazamResponse.kt │ │ │ ├── models │ │ │ ├── Music.kt │ │ │ └── HistoryItem.kt │ │ │ ├── Audire.kt │ │ │ ├── native │ │ │ └── ShazamSignature.kt │ │ │ ├── ui │ │ │ ├── IdentifyViewModel.kt │ │ │ ├── SettingsViewModel.kt │ │ │ ├── MainActivity.kt │ │ │ ├── HistoryViewModel.kt │ │ │ ├── AboutActivity.kt │ │ │ ├── adapters │ │ │ │ └── HistoryItemAdapter.kt │ │ │ ├── MusicActivity.kt │ │ │ ├── HistoryFragment.kt │ │ │ ├── LikedFragment.kt │ │ │ ├── SettingsActivity.kt │ │ │ └── IdentifyFragment.kt │ │ │ ├── db │ │ │ ├── HistoryItemDao.kt │ │ │ └── HistoryItemDatabase.kt │ │ │ ├── services │ │ │ └── FindMusicTileService.kt │ │ │ └── audio │ │ │ ├── AudioIdentifier.kt │ │ │ └── AudioRecorder.kt │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ ├── xml │ │ │ ├── file_paths.xml │ │ │ ├── backup_rules.xml │ │ │ └── data_extraction_rules.xml │ │ ├── values │ │ │ ├── ic_launcher_background.xml │ │ │ ├── colors.xml │ │ │ ├── themes.xml │ │ │ └── strings.xml │ │ ├── drawable │ │ │ ├── baseline_stop_24.xml │ │ │ ├── baseline_file_download_24.xml │ │ │ ├── baseline_file_upload_24.xml │ │ │ ├── baseline_arrow_back_24.xml │ │ │ ├── baseline_clear_24.xml │ │ │ ├── baseline_graphic_eq_24.xml │ │ │ ├── baseline_info_24.xml │ │ │ ├── baseline_music_note_24.xml │ │ │ ├── x.xml │ │ │ ├── outline_description_24.xml │ │ │ ├── baseline_calendar_today_24.xml │ │ │ ├── baseline_label_24.xml │ │ │ ├── baseline_favorite_24.xml │ │ │ ├── baseline_mic_24.xml │ │ │ ├── baseline_album_24.xml │ │ │ ├── outline_person_24.xml │ │ │ ├── baseline_search_24.xml │ │ │ ├── baseline_history_24.xml │ │ │ ├── outline_lock_24.xml │ │ │ ├── baseline_favorite_border_24.xml │ │ │ ├── baseline_share_24.xml │ │ │ ├── github.xml │ │ │ ├── baseline_settings_24.xml │ │ │ ├── ic_launcher_foreground.xml │ │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── menu │ │ │ ├── identify_material_toolbar_menu.xml │ │ │ ├── bottom_navigation_view_menu.xml │ │ │ └── history_material_toolbar_menu.xml │ │ ├── values-night │ │ │ └── themes.xml │ │ ├── values-v23 │ │ │ └── themes.xml │ │ ├── values-night-v23 │ │ │ └── themes.xml │ │ ├── values-v29 │ │ │ └── themes.xml │ │ ├── values-night-v29 │ │ │ └── themes.xml │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── history_item.xml │ │ │ ├── fragment_identify.xml │ │ │ └── fragment_history.xml │ │ ├── navigation │ │ │ └── content_nav_graph.xml │ │ ├── layout-v28 │ │ │ └── history_item.xml │ │ ├── values-cs │ │ │ └── strings.xml │ │ ├── values-it │ │ │ └── strings.xml │ │ └── values-fr │ │ │ └── strings.xml │ │ └── AndroidManifest.xml ├── proguard-rules.pro ├── schemas │ └── com.alexmercerind.audire.db.HistoryItemDatabase │ │ ├── 1.json │ │ └── 2.json └── build.gradle.kts ├── fastlane └── metadata │ └── android │ └── en-US │ ├── short_description.txt │ ├── video.txt │ ├── images │ ├── icon.png │ └── phoneScreenshots │ │ ├── 01.jpg │ │ ├── 02.jpg │ │ ├── 03.jpg │ │ ├── 04.jpg │ │ ├── 05.jpg │ │ ├── 06.jpg │ │ ├── 07.jpg │ │ └── 08.jpg │ └── full_description.txt ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle.kts ├── gradle.properties ├── .github └── workflows │ └── android.yml ├── README.md ├── gradlew.bat └── gradlew /.idea/.name: -------------------------------------------------------------------------------- 1 | Audire -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | /src/main/jniLibs 3 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/short_description.txt: -------------------------------------------------------------------------------- 1 | Identify music playing around you. -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/video.txt: -------------------------------------------------------------------------------- 1 | https://github.com/user-attachments/assets/2ea0e79a-65d5-4560-826b-b53a57fc9a51.mp4 -------------------------------------------------------------------------------- /app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/utils/Constants.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.utils 2 | 3 | const val TAG = "Audire" 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/icon.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/xml/file_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #000000 4 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/01.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/02.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/03.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/04.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/05.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/06.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/07.jpg -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexmercerind/audire/HEAD/fastlane/metadata/android/en-US/images/phoneScreenshots/08.jpg -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/kotlinc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/AndroidProjectSystem.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/discord.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Genres.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Genres( 7 | @SerializedName("primary") 8 | val primary: String? 9 | ) 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/ShazamResponse.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class ShazamResponse( 7 | @SerializedName("track") 8 | val track: Track? 9 | ) 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/repository/IdentifyRepository.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.repository 2 | 3 | import com.alexmercerind.audire.models.Music 4 | 5 | abstract class IdentifyRepository { 6 | abstract suspend fun identify(duration: Int, data: ByteArray): Music? 7 | } 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/migrations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Aug 03 17:34:54 IST 2025 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip 5 | networkTimeout=10000 6 | validateDistributionUrl=true 7 | zipStoreBase=GRADLE_USER_HOME 8 | zipStorePath=wrapper/dists 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Metadata.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Metadata( 7 | @SerializedName("text") 8 | val text: String?, 9 | @SerializedName("title") 10 | val title: String? 11 | ) 12 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/full_description.txt: -------------------------------------------------------------------------------- 1 |

Audire identifies the music playing near you and shows you the details. The app also saves a history of songs it identified for you in the past, so you can look up all songs later at your convenience as well.

For identification, Audire currently uses the APIs of Shazam.

2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_stop_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/mappers/ByteArray.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.mappers 2 | 3 | fun ByteArray.toShortArray(): ShortArray { 4 | val result = ShortArray(size / 2) 5 | for (i in 0..result.size step 2) { 6 | result[i / 2] = (this[i].toInt() and 0xFF or (this[i + 1].toInt() shl 8)).toShort() 7 | } 8 | return result 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/mappers/HistoryItem.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.mappers 2 | 3 | import com.alexmercerind.audire.models.HistoryItem 4 | import com.alexmercerind.audire.models.Music 5 | 6 | fun HistoryItem.toMusic() = Music( 7 | title, 8 | artists, 9 | cover, 10 | album, 11 | label, 12 | year, 13 | lyrics 14 | ) 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/models/Music.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.models 2 | 3 | import java.io.Serializable 4 | 5 | data class Music( 6 | val title: String, 7 | val artists: String, 8 | val cover: String, 9 | val album: String?, 10 | val label: String?, 11 | val year: String?, 12 | val lyrics: String? 13 | ) : Serializable 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_file_download_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_file_upload_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Signature.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Signature( 7 | @SerializedName("samplems") 8 | val samplems: Int, 9 | @SerializedName("timestamp") 10 | val timestamp: Int, 11 | @SerializedName("uri") 12 | val uri: String 13 | ) -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | gradlePluginPortal() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | } 14 | } 15 | 16 | rootProject.name = "Audire" 17 | include(":app") 18 | -------------------------------------------------------------------------------- /.idea/deviceManager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Section.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Section( 7 | @SerializedName("metadata") 8 | val metadata: List?, 9 | @SerializedName("text") 10 | val text: List?, 11 | @SerializedName("type") 12 | val type: String?, 13 | ) 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/Audire.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire 2 | 3 | import android.app.Application 4 | import com.alexmercerind.audire.repository.SettingsRepository 5 | 6 | class Audire : Application() { 7 | override fun onCreate() { 8 | super.onCreate() 9 | 10 | // Apply current settings from SettingsRepository. 11 | SettingsRepository(this).apply() 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Geolocation.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Geolocation( 7 | @SerializedName("altitude") 8 | val altitude: Double, 9 | @SerializedName("latitude") 10 | val latitude: Double, 11 | @SerializedName("longitude") 12 | val longitude: Double 13 | ) 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Images.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Images( 7 | @SerializedName("background") 8 | val background: String?, 9 | @SerializedName("coverart") 10 | val coverart: String?, 11 | @SerializedName("coverarthq") 12 | val coverarthq: String?, 13 | ) 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_arrow_back_24.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_clear_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_graphic_eq_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_info_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_music_note_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/x.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/outline_description_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_calendar_today_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FF000000 4 | #00000000 5 | #FFFFFFFF 6 | #88000000 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_label_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_favorite_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/ShazamRequestBody.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class ShazamRequestBody( 7 | @SerializedName("geolocation") 8 | val geolocation: Geolocation, 9 | @SerializedName("signature") 10 | val signature: Signature, 11 | @SerializedName("timestamp") 12 | val timestamp: Int, 13 | @SerializedName("timezone") 14 | val timezone: String 15 | ) 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_mic_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/api/shazam/models/Track.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.api.shazam.models 2 | 3 | 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class Track( 7 | @SerializedName("genres") 8 | val genres: Genres?, 9 | @SerializedName("images") 10 | val images: Images?, 11 | @SerializedName("sections") 12 | val sections: List
?, 13 | @SerializedName("subtitle") 14 | val subtitle: String?, 15 | @SerializedName("title") 16 | val title: String?, 17 | ) 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_album_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/outline_person_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_search_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_history_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/outline_lock_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/alexmercerind/audire/native/ShazamSignature.kt: -------------------------------------------------------------------------------- 1 | package com.alexmercerind.audire.native 2 | 3 | // This class provides JNI binding to Shazam's signature algorithm. 4 | // 5 | // ShazamSignature.create takes audio samples as ShortArray. 6 | // Format: PCM 16 Bit LE 7 | // Sample Rate: 16000 Hz 8 | // 9 | // References: 10 | // https://github.com/marin-m/SongRec 11 | // https://github.com/alexmercerind/shazam-signature-jni 12 | class ShazamSignature { 13 | init { 14 | System.loadLibrary("shazam_signature_jni") 15 | } 16 | 17 | external fun create(input: ShortArray): String 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 12 | 13 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_favorite_border_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/deploymentTargetSelector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/identify_material_toolbar_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 10 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/baseline_share_24.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 11 | 12 | 11 | 12 | 17 | 18 | 11 | 12 | 17 | 18 | 14 | 15 | 20 | 21 | 14 | 15 | 20 | 21 |