Interface and application programming תכנות יישום וממשק

On this weeks assignment i decided to use Firefly with Grasshopper in Rhino. i decided to create an elusion of explosion made by sound in rhino. for that i need a microphone. first i downloaded the Hello mic.45 (Traces ,Interior.
after milling and soldering,i started with the grasshopper code. i decided that the sound comming from the mic will effect the code. so i started with "Frequncy spectrum" component in the firefly plugin.
במשימה של השבוע החלטתי להשתמש בפיירפליי שבגרסהופר, ריינו. החלטתי שאני רוצה ליצור אשלייה של פיצוץ שנוצר בהשפעת קול בריינו. עבור זה אני צריכה מיקרופון. תחילה הורדתי את המעגל עם המיקרופון (פנימי ,חיצוני
אחרי הכרסום וההלחמה של המעגל, התחלתי עם הקוד. החלטתי שהקול שמגיע מהמיקרופון ישפיע על הקוד. התחלתי עם רכיב שנקרא ספקטרום של תדר (רשום באנגלית)

when you speak to the microphone the frequncy changes. כאשר מדברים למיקרופון התדר משתנה.

each frequncy produces a number, to create an "explosion" i created cubes in rhino and moved them according to the frequncy. כל תדר מניב מספרף כדי ליצור "פיצוץ" יצרתי בריינו קוביות שהזזתי אותן ביחס לתדר.

i connected the mic board to the computer and when i spoke the cubes move. you can see it in themovie חיברתי את המעגל עם המיקרופון למחשב וכל פעם שדיברתי הקוביות זזו. ניתן לראות זאת בסרט.

you can download the gh code