# SpaceOut and trigger

Hey, I have a lot of fun with the spaceOut function.
I would like to retrig automatically the function to create a sort of boucing rhythm
Here is my code (not working). Do you understand what I want to do and do you know how can I achieve this?

do
let a = n “[c6’sus4’3, -7,-14]”
let b = n “[g6’sus4’3, -7,-14]”
let ballfx p= trigger 1 \$ spaceOut [0.003,0.01…10.0] \$ p
d1
\$ cat [ballfx a, ballfx b]
# s “arpy”

1 Like

I think another way to say that could be, how can I reset the spaceOut function?

I dont know if i understand, but sequence the cps?

Can you give me an example because I’m not sure I understand well your proposition with cps

Thank you for your answer I found something guys !
I need to test my solution, I don’t know if it work.
I explain :

Another solution to have a spaceOut function which match a cycle could be to create a list which the sum of all element are equal to 1.

in haskell it look like this :

do
let a = [1,2…10]
let a’= [x / (sum a) | x <- a]
a’

here the sum of all the elements of a’ are equals to 1.
{"ft_lang_label":"__label__en","ft_lang_prob":0.80742675,"math_prob":0.8592493,"size":409,"snap":"2022-27-2022-33","text_gpt3_token_len":145,"char_repetition_ratio":0.09876543,"word_repetition_ratio":0.0,"special_character_ratio":0.36674815,"punctuation_ratio":0.13,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9694395,"pos_list":[0,1,2],"im_url_duplicate_count":[null,7,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-06-28T15:53:49Z\",\"WARC-Record-ID\":\"<urn:uuid:1141eff9-ed8c-4e63-ba25-31ec6133906c>\",\"Content-Length\":\"21965\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8883ee0c-4e3e-4d35-97ab-88aa855c5a42>\",\"WARC-Concurrent-To\":\"<urn:uuid:60ac8155-10bd-44be-b4d8-6efa3d336047>\",\"WARC-IP-Address\":\"92.205.63.123\",\"WARC-Target-URI\":\"https://forum.toplap.org/t/spaceout-and-trigger/1043\",\"WARC-Payload-Digest\":\"sha1:VCPU66ISOHGILW4GPIEANLKQHE2DRGNT\",\"WARC-Block-Digest\":\"sha1:VHCJ3NC7JKOV4L3UMYTH6OJS7OMECGSU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103556871.29_warc_CC-MAIN-20220628142305-20220628172305-00287.warc.gz\"}"}