willowjar / scratchNLP

2 stars 1 forks source link

Support "pick a random ____" #12

Open quachtina96 opened 5 years ago

quachtina96 commented 5 years ago

In the following project, we abstract away the need to index into a list of sounds by number in order to get the particular sound we want. -> should there be a way to allow the user to investigate how Scratch picks a random sound? -> is it find that we provide this method? I would argue yes, because some APIs provide it and it's nice to have.

quachtina96 commented 5 years ago

make silly sounds with data structure abstracted away

do the following forever pick a random sound play the random sound thats it

make silly sounds with more traditional programming paradigms

do the following forever. make a variable called x and set it to a random number between 1 and number of sounds. make a variable called random sound and set it to item x in sounds. play random sound. thats it

depends on issue #13

quachtina96 commented 5 years ago

"number of sounds" currently refers to the size of the entire sound library... not just the sounds that belong to the project.

now i see that it is probably important to support being able to group sounds... (can i make a list of sounds?)