From 0e6fd271f665f73c2f30741a71344a5e23367005 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Mon, 17 Jan 2022 17:35:16 +0900 Subject: [PATCH] 1st_final --- public/entry.js | 5 +- server.js | 14 +- src/pages/entry.en.html | 332 +++++++++++++++++++++++++------------- src/pages/entry.html | 334 ++++++++++++++++++++++++++------------- src/pages/list.en.html | 2 +- src/pages/submit.en.html | 4 +- 6 files changed, 461 insertions(+), 230 deletions(-) diff --git a/public/entry.js b/public/entry.js index 9f06add..73ad932 100644 --- a/public/entry.js +++ b/public/entry.js @@ -29,8 +29,9 @@ function setup() { cnv.parent("p5"); img = createGraphics(cols*(unit+sw)+sw, rows*(unit+sw)+sw); var but = createButton("clear!"); - // var sav = createButton("save!"); + but.attribute('type', 'button'); but.class('but').parent("p5"); + // var sav = createButton("save!"); // sav.class('sav').parent("p5"); for (var i = 0; i < cols*rows; i++) { p.push(0); @@ -119,7 +120,7 @@ function submitForm(event) { event.preventDefault(); // - alert('감사합니다!'); + alert('감사합니다! Thank you!'); location.reload(); } diff --git a/server.js b/server.js index 4e03d7c..4500f33 100644 --- a/server.js +++ b/server.js @@ -240,7 +240,9 @@ fastify.post("/entry", async function (request, reply) { pass: audiofile.fields.pass.value }))); - // reply.view("/src/pages/entry.html", {}); //??? + // res.writeHead(301, {"Location": "/submit"}); + // return res.end(); + }); //socket.io @@ -271,7 +273,7 @@ io.on("connection", function(socket) { var pointer = 0; // pointer : 0 ~ (length-1) var looper; (looper = function(timeout) { - setTimeout(function() { + setTimeout(async function() { //pointer = 20; // console.log(score[pointer]); @@ -293,9 +295,13 @@ var looper; var timegap = 10000 + Math.random()*(40000); console.log(timegap); + //get # list + let list = await fs.readdir('/media/storage/public/sound-parade/'); + console.log(list.length); + + //loop over... pointer++; - // if (pointer >= score.length) pointer = 0; - if (pointer >= 10) pointer = 0; // up to # of folders. + if (pointer >= list.length) pointer = 0; looper(timegap); }, timeout); diff --git a/src/pages/entry.en.html b/src/pages/entry.en.html index 05158ee..1c7862f 100644 --- a/src/pages/entry.en.html +++ b/src/pages/entry.en.html @@ -15,128 +15,240 @@
-
- -
-
-

Walking  Towards  the Flow

+ +
+
+

Walking  Towards  the Flow

+

+ Have you ever seen a parade outside the procession? Drums and shouts are heard in the distance, many beings shouting, flowing by, groups appearing and moving away... +

+

+ «Walking Toward the Flow» is a sound parade that creates a procession of sounds in the online space. Anyone can participate. This parade is made by collecting the sounds you sent. +

+

+ «Walking Toward the Flow» consists of a total of five 'flock' of sounds: the sounds of promises, the sounds of speaking, the sounds of the body, the sounds of objects around, and the sounds of someone. They will flow in groups for about 3 minutes each and a total of 15 minutes or more. +

+

+ On the night of January 27 (Thursday), the «Walking to the Flow» parade will be broadcasted along with a live performance at the 'the Night of Ideas' hosted by Cultural Service of the Embassy of France in Korea, Liszt Institut Hungarian Cultural Center Seoul and Embassy of Belgium in Seoul and sponsored by UNESCO Korea and Institut Français. Thank you for your participation and interest. +

+

- Have you ever seen a parade outside the procession? Drums and shouts are heard in the distance, many beings shouting, flowing by, groups appearing and moving away... + Recruiting sounds
+ January 17, 2022 (Mon) – January 26, 2022 (Wed)

- «Walking Toward the Flow» is a sound parade that creates a procession of sounds in the online space. Anyone can participate in this parade, which is made by collecting the sounds you send. + Live performance
+ January 27th, 2022 (Thursday)
+ 20:45-21:00 (KST), 12:45-13:00 (CET)

- «Walking Toward the Flow» consists of a total of five 'flock' of sounds: the sounds of promises, the sounds of speaking, the sounds of the body, the sounds of objects around, and the sounds of someone. They will flow in groups for about 3 minutes each and a total of 15 minutes. + Place
+ walkingtowardstheflow.xyz, France en Corée - YouTube channel

- On the night of January 27 (Thursday), the «Walking to the Flow» parade will be broadcasted along with a live performance at the 'the Night of Ideas' hosted by the Embassy of France (Ambassade de France en Corée du Sud). Thank you for your participation and interest. + Parade Composition
+ Flock0 promises — Flock1 flags — Flock2 bodies — Flock3 objects — Flock4 Whoness

-
-

- Recruiting sounds
- January 17, 2022 (Mon) – January 26, 2022 (Wed) -

-

- Live performance
- January 27th, 2022 (Thursday)
- 20:45-21:00 (KST), 12:45-13:00 (CET)
-

-

- Place
- walkingtowardstheflow.xyz, France en Corée - YouTube channel -

-

- Parade Composition
- Flock0 promises — Flock1 flags — Flock2 bodies — Flock3 objects — Flock4 Whoness -

-

- Inquiry
- wonjung24@gmail.com -

-
-
-

-

How to participate

-
    -
  1. 1. Record the sound for about 30 seconds with a recording device or phone according to the characteristics of the flock. -
      -
    1. • Flock1 flags — Speak out five times about what you like or value.
    2. -
    3. • Flock2 bodies —Record the sound of your body. Applause and whistling.
    4. -
    5. • Flock3 objects — find the sound of things around you. Bubble wrap sound, Beads sound.
    6. -
    7. • Whoness —Collect the sound of others. animal, sound of water, place to take a walk.
    8. -
    -
  2. -
  3. 2. Upload the recorded sound file.
  4. -
  5. 3. After filling out the title and description of the sound, draw the shape of the sound and submit it.
  6. + Inquiry
    + wonjung24@gmail.com +

    +
+
+
+

How to participate

+
    +
  1. 1. Record the sound for about 30 seconds with a recording device or phone according to the characteristics of the flock. +
      +
    1. • Flock1 flags — Speak out five times about what you like or value.
    2. +
    3. • Flock2 bodies —Record the sound of your body. Applause and whistling.
    4. +
    5. • Flock3 objects — find the sound of things around you. Bubble wrap sound, Beads sound.
    6. +
    7. • Whoness —Collect the sound of others. animal, sound of water, place to take a walk.
    -

    -
-
-

Sound Submission

-
-
    + +
  • 2. Upload the recorded sound file.
  • +
  • 3. After filling out the title and description of the sound, draw the shape of the sound and submit it.
  • + +
+
+

Sound Submission

+ +
    +

    1. Sound Type

    +
    • -

      1. Sound Type

      -
      -
        -
      • - Flock1 flags -
      • -
      • - Flock2 bodies -
      • -
      • - Flock3 objects -
      • -
      • - Flock4 Whoness -
      • -
      -
      -
    • -

      2. Sound File

      -
      - -
      -
    • -
    • -

      3. title

      -
      - -
      -
    • -
    • -

      4. Descript the sound

      -
      - -
      -
    • - -
    • -

      5. Draw an image of the sound

      -
      -
      -
    • -
    • -

      6. passward 2 numbers. It's required if you delete it.

      -
      - -
      -
    • -
    • -
      - -
      -
    • + Flock1 flags + +
    • + Flock2 bodies +
    • +
    • + Flock3 objects +
    • +
    • + Flock4 Whoness
    - -
-
-
- -
+
  • +

    2. Sound File

    + +
  • +
  • +

    3. Title

    + +
  • +
  • +

    4. Description of the sound

    + +
  • + +
  • +

    5. Draw an image of the sound

    +
    +
    +
  • +
  • +

    6. passward 2 numbers. It's required if you delete it.

    + +
  • +
  • + +
  • + + + + + + diff --git a/src/pages/entry.html b/src/pages/entry.html index e6bc06f..a095aee 100644 --- a/src/pages/entry.html +++ b/src/pages/entry.html @@ -15,129 +15,241 @@
    -
    - -
    -
    -

    흐름을  향하여  걷는

    + +
    +
    +

    흐름을  향하여  걷는

    +

    + 퍼레이드를 행렬 밖에서 바라본 적이 있나요? 북소리와 함성소리가 멀리서 들리고, 많은 존재들이 외치고, 흐르듯 지나가고, 무리가 등장하고, 멀어지는...... +

    +

    + «흐름을 향하여 걷는»은 온라인 공간에 소리의 행렬을 만드는 사운드 퍼레이드입니다. 누구나 참여할 수 있는 이 퍼레이드는 여러분이 보내주시는 소리가 모여 만들어집니다. +

    +

    + «흐름을 향하여 걷는»은 총 다섯 개의 소리 무리로 이루어집니다. 약속하는 소리들, 말하는 소리들, 몸이 내는 소리들, 주변의 사물들, 그리고 누군가의 소리들이 무리를 지어 각 3분 내외 총 15분 가량 흘러가게 됩니다. +

    +

    + 1월 27일(목) 밤, ‘사유의 밤’ 행사에서 «흐름을 향하여 걷는» 퍼레이드는 라이브 공연과 함께 송출될 예정입니다. '사유의 밤'은 주한 프랑스대사관 문화과, 주한 리스트 헝가리 문화원, 주한 벨기에 대사관이 주최하고, 유네스코 한국위원회와 프랑스 해외문화진흥원이 후원하여 개최됩니다. + 많은 참여 및 관심 부탁드립니다. +

    +

    - 퍼레이드를 행렬 밖에서 바라본 적이 있나요? 북소리와 함성소리가 멀리서 들리고, 많은 존재들이 외치고, 흐르듯 지나가고, 무리가 등장하고, 멀어지는...... + 소리 모집
    + 2022년 1월 17일(월)–2022년 1월 26일(수)

    - «흐름을 향하여 걷는»은 온라인 공간에 소리의 행렬을 만드는 사운드 퍼레이드입니다. 누구나 참여할 수 있는 이 퍼레이드는 여러분이 보내주시는 소리가 모여 만들어집니다. + 라이브 공연
    + 2022년 1월 27일(목)
    + 20:45-21:00 (KST), 12:45-13:00 (CET)

    - «흐름을 향하여 걷는»은 총 다섯 개의 소리 무리로 이루어집니다. 약속하는 소리들, 말하는 소리들, 몸이 내는 소리들, 주변의 사물들, 그리고 누군가의 소리들이 무리를 지어 각 3분 내외 총 15분 가량 흘러가게 됩니다. + 장소
    + walkingtowardstheflow.xyz, 주한프랑스대사관 문화과 유튜브 채널

    - 1월 27일(목) 밤, ‘사유의 밤’ 행사에서 «흐름을 향하여 걷는» 퍼레이드는 라이브 공연과 함께 송출될 예정입니다. '사유의 밤'은 주한 프랑스대사관 문화과, 주한 리스트 헝가리 문화원, 주한 벨기에 대사관이 주최하고, 유네스코 한국위원회와 프랑스 해외문화진흥원이 후원하여 개최됩니다. - 많은 참여 및 관심 부탁드립니다. + 퍼레이드 구성
    + 무리0 약속들 — 무리1 깃발들 — 무리2 신체들 — 무리3 사물들 — 무리4 누구들

    -
    -

    - 소리 모집
    - 2022년 1월 17일(월)–2022년 1월 26일(수) -

    -

    - 라이브 공연
    - 2022년 1월 27일(목)
    - 20:45-21:00 (KST), 12:45-13:00 (CET)
    -

    -

    - 장소
    - walkingtowardstheflow.xyz, 주한프랑스대사관 문화과 유튜브 채널 -

    -

    - 퍼레이드 구성
    - 무리0 약속들 — 무리1 깃발들 — 무리2 신체들 — 무리3 사물들 — 무리4 누구들 -

    -

    - 문의
    - wonjung24@gmail.com -

    -
    -
    -

    -

    참여 방법

    -
      -
    1. 1. 무리의 특성에 따라 녹음기기나 핸드폰으로 30초 가량의 소리를 녹음해주세요. -
        -
      1. • 무리1 깃발들 — 좋아하는 것, 가치에 대해 다섯 번 외쳐주세요.
      2. -
      3. • 무리2 신체들 — 몸에서 나는 소리를 녹음해 보아요. 박수, 휘파람도 좋아요.
      4. -
      5. • 무리3 사물들 — 주변 사물들의 소리를 찾아 주세요. 뽁뽁이 소리, 구슬 소리
      6. -
      7. • 무리4 누구들 — 누구의 소리를 모아주세요. 반려동물, 물 소리, 산책의 장소
      8. -
      -
    2. -
    3. 2. 녹음한 소리 파일을 업로드해주세요.
    4. -
    5. 3. 소리의 제목과 묘사을 입력한 뒤, 소리의 모양을 그려 제출해주세요.
    6. + 문의
      + wonjung24@gmail.com +

      +
    +
    +
    +

    참여 방법

    +
      +
    1. 1. 무리의 특성에 따라 녹음기기나 핸드폰으로 30초 가량의 소리를 녹음해주세요. +
        +
      1. • 무리1 깃발들 — 좋아하는 것, 가치에 대해 다섯 번 외쳐주세요.
      2. +
      3. • 무리2 신체들 — 몸에서 나는 소리를 녹음해 보아요. 박수, 휘파람도 좋아요.
      4. +
      5. • 무리3 사물들 — 주변 사물들의 소리를 찾아 주세요. 뽁뽁이 소리, 구슬 소리
      6. +
      7. • 무리4 누구들 — 누구의 소리를 모아주세요. 반려동물, 물 소리, 산책의 장소
      -

      -
    -
    -

    소리 제출

    -
    -
      + +
    • 2. 녹음한 소리 파일을 업로드해주세요.
    • +
    • 3. 소리의 제목과 묘사을 입력한 뒤, 소리의 모양을 그려 제출해주세요.
    • + +
    +
    +

    소리 제출

    + +
      +

      1. 소리 유형

      +
      • -

        1. 소리 유형

        -
        -
          -
        • - 무리1 깃발들 -
        • -
        • - 무리2 신체들 -
        • -
        • - 무리3 사물들 -
        • -
        • - 무리4 누구들 -
        • -
        -
        -
      • -

        2. 소리 파일

        -
        - -
        -
      • -
      • -

        3. 소리 제목

        -
        - -
        -
      • -
      • -

        4. 소리 묘사

        -
        - -
        -
      • - -
      • -

        5. 소리 모양

        -
        -
        -
      • -
      • -

        6. 비밀번호 숫자 2개_삭제시 필요

        -
        - -
        -
      • -
      • -
        - -
        -
      • + 무리1 깃발들 + +
      • + 무리2 신체들 +
      • +
      • + 무리3 사물들 +
      • +
      • + 무리4 누구들
      - -
    -
    -
    - -
    +
  • +

    2. 소리 파일

    + +
  • +
  • +

    3. 소리 제목

    + +
  • +
  • +

    4. 소리 묘사

    + +
  • + +
  • +

    5. 소리 모양

    +
    +
    +
  • +
  • +

    6. 비밀번호 숫자 2개_삭제시 필요

    + +
  • +
  • + +
  • + + + + + + diff --git a/src/pages/list.en.html b/src/pages/list.en.html index db9852a..cd8c989 100644 --- a/src/pages/list.en.html +++ b/src/pages/list.en.html @@ -17,7 +17,7 @@
    - +

    Walking  Towards  the Flow

    diff --git a/src/pages/submit.en.html b/src/pages/submit.en.html index 5609028..366027e 100644 --- a/src/pages/submit.en.html +++ b/src/pages/submit.en.html @@ -21,10 +21,10 @@