Ask Your Question
2

Random selection using striate

asked 2016-06-19 03:52:51 -0500

mitchk gravatar image

I have a line of code that is being sliced into chunks by "striate'". For example:

slow 2 $ striateL' 16 (1/32) 2 $ sound "talk:5"

Is there any way to tell "striate'" to choose a random selection of the 16 chunks as it is process through the sample?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2016-06-19 07:38:53 -0500

yaxu gravatar image

Yes I think you want randslice:

d1 $ density 4 $ randslice 8 $ sound "breaks125"

edit flag offensive delete link more

Comments

did not know about this one!

kindohm gravatar imagekindohm ( 2016-06-19 22:19:11 -0500 )edit

Alex, Thanks for this.

mitchk gravatar imagemitchk ( 2016-07-05 15:09:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-19 03:52:51 -0500

Seen: 57 times

Last updated: Jun 19 '16