Skip to content

Commit

Permalink
Merge pull request #159 from OSLL/Alex0
Browse files Browse the repository at this point in the history
SOUNDS ADDED
  • Loading branch information
bialger authored Apr 22, 2022
2 parents 04e44c2 + d599305 commit 32f014a
Show file tree
Hide file tree
Showing 88 changed files with 35 additions and 10 deletions.
23 changes: 18 additions & 5 deletions app/src/main/java/com/bigri239/easymusic/AddingfilesActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,23 @@ class AddingfilesActivity : AppCompatActivity() {
private var id = 0
private var len : Long = 3615
private var track = SoundPool(1, AudioManager.STREAM_MUSIC, 0)
private val defaultList : ArrayList<String> = arrayListOf("bassalbane", "basscentury", "bassflowers",
"clapchoppa", "clapforeign", "crashalect", "crashbloods", "crashvinnyx", "fxfreeze",
"fxgunnes", "hihatcheque", "hihatmystery", "kickartillery", "kickinfinite", "percardonme",
"percpaolla", "rimchaser", "rimstount", "snarecompas", "snarewoods", "voxanother", "voxgilens")
private val defaultList : ArrayList<String> = arrayListOf("aaf", "abandana", "abig", "ablockboy",
"afendi", "alongmoney", "anotavalible", "apluggirl", "apunch", "ashawty", "ashotta",
"asnake", "aspirit", "awork", "bassalbane", "basscentury", "bassflowers", "clapaf",
"clapchoppa", "clapcrazy", "clapflip", "clapforeign", "clapjuice", "clapple", "claprev",
"clapslime", "clapsoda", "clapspace", "crashalect", "crashbloods", "crashvinnyx",
"cymbalaf", "cymbalblockboy", "cymbalblueface", "cymbalglasses", "cymbalhoodfight",
"cymbalpancake", "fxcillbill", "fxcrashsiren", "fxcup", "fxfreeze", "fxgotcash",
"fxguncock", "fxgunnes", "fxmario", "fxnoisefall", "fxple", "fxrace", "fxscratch",
"fxshots", "hhbigmoney", "hhgang", "hhgotit", "hhhood", "hhple", "hhpunch", "hhshawty",
"hhsnake", "hhsoft", "hhspace", "hihatcheque", "hihatmystery", "kickaf", "kickartillery",
"kickflip", "kickhood", "kickinfinite", "kickjordan", "kickpunch", "kickslap", "ohaf",
"ohbandana", "ohblockboy", "ohkiss", "ohlow", "ohog", "ohstick", "ohwork", "percaf",
"percardonme", "percblockboy", "percgame", "percgoofy", "percicy", "perclame",
"percnotavalible", "percoldchair", "percpaolla", "percpegas", "percple", "percroll",
"percrun", "percset", "percslime", "percwoodtoy", "rimchaser", "rimstount", "snareaf",
"snareblockboy", "snarechop", "snarecompas", "snarehood", "snareshawty", "snareslime",
"snaretango", "snarewoods", "voxanother", "voxgilens")
private val customList = arrayListOf<String>()
private lateinit var defaultAdapter: CustomAdapter
private lateinit var customAdapter: CustomAdapter
Expand Down Expand Up @@ -142,7 +155,7 @@ class AddingfilesActivity : AppCompatActivity() {
}
else metaRetriever.setDataSource(File(filesDir, "$name.wav").absolutePath)
abs(metaRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)!!.
toLong() - 1)
toLong() - 1)
}
catch (e: Exception) {
0
Expand Down
22 changes: 17 additions & 5 deletions app/src/main/java/com/bigri239/easymusic/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,23 @@ open class MainActivity : AppCompatActivity(){
private var maxSounds: Array<Int> = Array(9) { -1 }
private val emptySound = SoundInfo()
private var sounds: Array<Array<SoundInfo>> = Array(9) { Array(1000) { emptySound } }
private val resourcesArray : Array<String> = arrayOf("bassalbane", "basscentury", "bassflowers",
"clapchoppa", "clapforeign", "crashalect", "crashbloods", "crashvinnyx", "fxfreeze",
"fxgunnes", "hihatcheque", "hihatmystery", "kickartillery", "kickinfinite", "percardonme",
"percpaolla", "rimchaser", "rimstount", "snarecompas", "snarewoods", "voxanother",
"voxgilens")
private val resourcesArray : Array<String> = arrayOf("aaf", "abandana", "abig", "ablockboy",
"afendi", "alongmoney", "anotavalible", "apluggirl", "apunch", "ashawty", "ashotta",
"asnake", "aspirit", "awork", "bassalbane", "basscentury", "bassflowers", "clapaf",
"clapchoppa", "clapcrazy", "clapflip", "clapforeign", "clapjuice", "clapple", "claprev",
"clapslime", "clapsoda", "clapspace", "crashalect", "crashbloods", "crashvinnyx",
"cymbalaf", "cymbalblockboy", "cymbalblueface", "cymbalglasses", "cymbalhoodfight",
"cymbalpancake", "fxcillbill", "fxcrashsiren", "fxcup", "fxfreeze", "fxgotcash",
"fxguncock", "fxgunnes", "fxmario", "fxnoisefall", "fxple", "fxrace", "fxscratch",
"fxshots", "hhbigmoney", "hhgang", "hhgotit", "hhhood", "hhple", "hhpunch", "hhshawty",
"hhsnake", "hhsoft", "hhspace", "hihatcheque", "hihatmystery", "kickaf", "kickartillery",
"kickflip", "kickhood", "kickinfinite", "kickjordan", "kickpunch", "kickslap", "ohaf",
"ohbandana", "ohblockboy", "ohkiss", "ohlow", "ohog", "ohstick", "ohwork", "percaf",
"percardonme", "percblockboy", "percgame", "percgoofy", "percicy", "perclame",
"percnotavalible", "percoldchair", "percpaolla", "percpegas", "percple", "percroll",
"percrun", "percset", "percslime", "percwoodtoy", "rimchaser", "rimstount", "snareaf",
"snareblockboy", "snarechop", "snarecompas", "snarehood", "snareshawty", "snareslime",
"snaretango", "snarewoods", "voxanother", "voxgilens")
private val customArray = arrayListOf<String>()
private var timer : CountDownTimer? = null
private lateinit var autoSaver : CountDownTimer
Expand Down
Binary file added app/src/main/res/raw/ClapCrazy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapFlip.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapJuice.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapPLE.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapRev.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapSlime.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapSoda.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ClapSpace.wav
Binary file not shown.
Binary file added app/src/main/res/raw/CymbalBlockBoy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/CymbalGlasses.wav
Binary file not shown.
Binary file added app/src/main/res/raw/CymbalHoodFight.wav
Binary file not shown.
Binary file added app/src/main/res/raw/CymbalPANcake.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FXCrashSiren.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FXNoiseFall.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FXPLE.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FXRace.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FXScratch.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FXShots.wav
Binary file not shown.
Binary file added app/src/main/res/raw/FxMario.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHBigMoney.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHGang.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHGotIt.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHPLE.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHPunch.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHShawty.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHSnake.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHSoft.wav
Binary file not shown.
Binary file added app/src/main/res/raw/HHSpace.wav
Binary file not shown.
Binary file added app/src/main/res/raw/KickFlip.wav
Binary file not shown.
Binary file added app/src/main/res/raw/KickHood.wav
Binary file not shown.
Binary file added app/src/main/res/raw/KickJordan.wav
Binary file not shown.
Binary file added app/src/main/res/raw/KickPunch.wav
Binary file not shown.
Binary file added app/src/main/res/raw/KickSlap.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHBandana.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHBlockBoy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHKiss.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHLow.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHOG.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHStick.wav
Binary file not shown.
Binary file added app/src/main/res/raw/OHWork.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercBlockBoy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercGame.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercGoofy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercIcy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercLame.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercNotAvalible.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercOldChair.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercPLE.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercPegas.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercRoll.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercRun.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercSet.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercSlime.wav
Binary file not shown.
Binary file added app/src/main/res/raw/PercWoodToy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/SnareBlockBoy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/SnareChop.wav
Binary file not shown.
Binary file added app/src/main/res/raw/SnareHood.wav
Binary file not shown.
Binary file added app/src/main/res/raw/SnareShawty.wav
Binary file not shown.
Binary file added app/src/main/res/raw/SnareSlime.wav
Binary file not shown.
Binary file added app/src/main/res/raw/SnareTango.wav
Binary file not shown.
Binary file added app/src/main/res/raw/aaf.wav
Binary file not shown.
Binary file added app/src/main/res/raw/abandana.wav
Binary file not shown.
Binary file added app/src/main/res/raw/abig.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ablockboy.wav
Binary file not shown.
Binary file added app/src/main/res/raw/afendi.wav
Binary file not shown.
Binary file added app/src/main/res/raw/alongmoney.wav
Binary file not shown.
Binary file added app/src/main/res/raw/anotavalible.wav
Binary file not shown.
Binary file added app/src/main/res/raw/apluggirl.wav
Binary file not shown.
Binary file added app/src/main/res/raw/apunch.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ashawty.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ashotta.wav
Binary file not shown.
Binary file added app/src/main/res/raw/asnake.wav
Binary file not shown.
Binary file added app/src/main/res/raw/aspirit.wav
Binary file not shown.
Binary file added app/src/main/res/raw/awork.wav
Binary file not shown.
Binary file added app/src/main/res/raw/clapaf.wav
Binary file not shown.
Binary file added app/src/main/res/raw/cymbalaf.wav
Binary file not shown.
Binary file added app/src/main/res/raw/cymbalblueface.wav
Binary file not shown.
Binary file added app/src/main/res/raw/fxcillbill.wav
Binary file not shown.
Binary file added app/src/main/res/raw/fxcup.wav
Binary file not shown.
Binary file added app/src/main/res/raw/fxgotcash.wav
Binary file not shown.
Binary file added app/src/main/res/raw/fxguncock.wav
Binary file not shown.
Binary file added app/src/main/res/raw/hhhood.wav
Binary file not shown.
Binary file added app/src/main/res/raw/kickaf.wav
Binary file not shown.
Binary file added app/src/main/res/raw/ohaf.wav
Binary file not shown.
Binary file added app/src/main/res/raw/percaf.wav
Binary file not shown.
Binary file added app/src/main/res/raw/snareaf.wav
Binary file not shown.

0 comments on commit 32f014a

Please sign in to comment.