Skip to content

Instantly share code, notes, and snippets.

@OsmanDroid
OsmanDroid / notevalues.json
Created May 28, 2021 — forked from marcgg/notevalues.json
note frequency value
View notevalues.json
var noteValues = {
'C0': 16.35,
'C#0': 17.32,
'Db0': 17.32,
'D0': 18.35,
'D#0': 19.45,
'Eb0': 19.45,
'E0': 20.60,
'F0': 21.83,
'F#0': 23.12,
@OsmanDroid
OsmanDroid / RealPathUtil.kt
Created Oct 1, 2020 — forked from micer/RealPathUtil.kt
Utility class to get real path from URI object - all API versions
View RealPathUtil.kt
import android.content.ContentUris
import android.content.Context
import android.database.Cursor
import android.net.Uri
import android.os.Build
import android.os.Environment
import android.provider.DocumentsContract
import android.provider.MediaStore
import android.support.v4.content.CursorLoader
import android.text.TextUtils