Mits's's Hackpact

From XPUB & Lens-Based wiki
Revision as of 14:37, 27 September 2022 by Mitsa (talk | contribs) (→‎Editing sound)

It is just a toy .. phew

Scattered thoughts, desires and gestures that need to be united (a bit)

Reading and annotating Situated knowleges by Donna Harraway

pad experiment with body and embodiment in python

who has a body?

Python script: Re-using the prototype that joseph and manetta made for getting sounds from the freesound.org library. Obtaining all the sounds with the entry point "body"

import freesound import IPython.display as display import time import sys

client = freesound.FreesoundClient() client.set_token("I9hnJgZKfaxnWEz0YEwPcjjVYLYYuqBDnBBPUv5R","wZupevhDwA6jIfOgzUgn")



def slowly(s):

   for l in s + '\n':
       sys.stdout.write(l)
       sys.stdout.flush()
       time.sleep(1./100)

slowly("""

             ,---------------------------,
             |  /---------------------\  |
             | |  Hello,               | |
             | |  I am the famous      | |
             | |  foley artist bot!    | |
             | |  What should I play   | |
             | |  for you. Pls type!   | |
             |  \_____________________/  |
             |___________________________|
           ,---\_____     []     _______/------,
         /         /______________\           /|
       /___________________________________ /  | ___
       |                                   |   |    )
       |  _ _ _                 [-------]  |   |   (
       |  o o o                 [-------]  |  /    _)_
       |__________________________________ |/     /  /
   /-------------------------------------/|      ( )/
 /-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ /

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ / 15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)Mitsa (talk) 15:29, 27 September 2022 (CEST) """)


search=input()

print("""

             ,---------------------------,
             |  /---------------------\  |
             | |  Great,               | |
             | |  I will play for you: | |
             | |  """+search[:20]+" "*(20-len(search))+"""  | |
             | |  BTW: Robots of the   | | 
             | |  the world unite <3   | |
             |  \_____________________/  |
             |___________________________|
           ,---\_____     []     _______/------,
         /         /______________\           /|
       /___________________________________ /  | ___
       |                                   |   |    )
       |  _ _ _                 [-------]  |   |   (
       |  o o o                 [-------]  |  /    _)_
       |__________________________________ |/     /  /
   /-------------------------------------/|      ( )/
 /-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ /

/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/ / 15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)15:29, 27 September 2022 (CEST)Mitsa (talk) 15:29, 27 September 2022 (CEST) """)


results = client.text_search(query=search,fields="id,name,previews,url") print(results) counter = 0 for sound in results:

   counter = counter + 1
   if counter == 20:
       break
   print("I will play for you: "+sound.name)
   sound.retrieve_preview("./sounds",sound.name.replace('/','_')+".mp3")
   print(sound.url)
   time.sleep(1)
   display.display(display.Audio("./sounds/"+sound.name.replace('/','_')+".mp3", autoplay=True))

A reflection diagram of past important project and a diffractive reading through them

1. Occupations in P-P, creating an archive or oral narrations to reconstruct spatial memory. Important matter the use of verbal language. What if it is equally important the non-verbal use of sounds, as body movement, timbre, tempo, silences, tone of voice

Editing sound

The different steps for sound editing 1. Define the archive of sound

 a. Import recorded sounds I have made the past months, to create an archive. Try to categorise them with different 
 logics
 b. Try editing already existing archive of sounds . example freseound.org library