Hide original template posts and add an example competition entry

This commit is contained in:
Orwa Diraneyya 2021-12-01 13:00:43 +01:00
parent f2dcc45ade
commit 233f4b4474
18 changed files with 65 additions and 4 deletions

View file

@ -2,7 +2,7 @@ baseurl = "https://rwth-crmasters-wise2122.gitlab.io/deep-music-visuaizer-showdo
contentdir = "content"
layoutdir = "layouts"
publishdir = "public"
title = "Beautiful Hugo"
title = "Deep Music Visualizer Showdown"
canonifyurls = true
DefaultContentLanguage = "en"
@ -14,7 +14,7 @@ pygmentCodeFences = true
#googleAnalytics = "XXX"
[Params]
subtitle = "Hugo Blog Template for GitLab Pages"
subtitle = "A showdown of all the music visualizations created by DSSIPD students in WiSe 2021/20211"
logo = "img/avatar-icon.png"
favicon = "img/favicon.ico"
dateFormat = "January 2, 2006"

View file

@ -5,5 +5,3 @@ This website is powered by [GitLab Pages](https://about.gitlab.com/features/page
Literally. It uses the `beautifulhugo` theme which supports content on your front page.
Edit `/content/_index.md` to change what appears here. Delete `/content/_index.md`
if you don't want any content here.
Head over to the [GitLab project](https://gitlab.com/pages/hugo) to get started.

View file

@ -1,6 +1,8 @@
---
title: First post!
date: 2015-01-05
_build:
list: never
---
This is my first post, how exciting!

View file

@ -1,6 +1,8 @@
---
title: Pirates arrrr
date: 2015-01-15
_build:
list: never
---
Piracy is typically an act of robbery or criminal violence at sea. The term can include acts committed on land, in the air, or in other major bodies of water or on a shore. It does not normally include crimes committed against persons traveling on the same vessel as the perpetrator (e.g. one passenger stealing from others on the same vessel). The term has been used throughout history to refer to raids across land borders by non-state agents.

View file

@ -2,6 +2,8 @@
title: Soccer
subtitle: Best sport ever!
date: 2015-01-19
_build:
list: never
---
From Wikipedia:

View file

@ -1,6 +1,8 @@
---
title: Dear diary
date: 2015-01-27
_build:
list: never
---
What is it with that Mary girl? Dragging me to school every day. As if I had a choice. What you don't hear in those nursery rhymes is that she starves me if I don't go to school with her; it's the only way I can stay alive! I'm thinking about being adopted by Little Bo Peep, sure I may get lost, but anything is better than being with Mary and those little brats at school (shudder, shudder).

View file

@ -2,6 +2,8 @@
title: To be
subtitle: ... or not to be?
date: 2015-02-13
_build:
list: never
---
To be, or not to be--that is the question:

View file

@ -3,6 +3,8 @@ title: Test markdown
subtitle: Each post also has a subtitle
date: 2015-02-20
tags: ["example", "markdown"]
_build:
list: never
---
You can write regular [markdown](http://markdowntutorial.com/) here and Jekyll will automatically convert it to a nice webpage. I strongly encourage you to [take 5 minutes to learn how to write in markdown](http://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.

View file

@ -3,6 +3,8 @@ title: Flake it till you make it
subtitle: Excerpt from Soulshaping by Jeff Brown
date: 2015-02-26
bigimg: [{src: "/img/path.jpg", desc: "Path"}]
_build:
list: never
---
Under what circumstances should we step off a path? When is it essential that we finish what we start? If I bought a bag of peanuts and had an allergic reaction, no one would fault me if I threw it out. If I ended a relationship with a woman who hit me, no one would say that I had a commitment problem. But if I walk away from a seemingly secure route because my soul has other ideas, I am a flake?

View file

@ -3,6 +3,8 @@ title: Code Sample
subtitle: Using Hugo or Pygments
date: 2016-03-08
tags: ["example", "code"]
_build:
list: never
---
The following are two code samples using syntax highlighting.

View file

@ -3,6 +3,8 @@ title: Math Sample
subtitle: Using KaTeX
date: 2017-03-05
tags: ["example", "math"]
_build:
list: never
---
KaTeX can be used to generate complex math formulas. It supports in-line math using the `\\( ... \\)` delimiters, like this: \\( E = mc^2 \\). By default, it does *not* support in-line delimiters `$...$` because those occur too commonly in typical webpages. It supports displayed math using the `$$` or `\\[...\\]` delimiters, like this:

View file

@ -4,6 +4,8 @@ subtitle: Using Multiple Images
date: 2017-03-07
tags: ["example", "bigimg"]
bigimg: [{src: "/img/triangle.jpg", desc: "Triangle"}, {src: "/img/sphere.jpg", desc: "Sphere"}, {src: "/img/hexagon.jpg", desc: "Hexagon"}]
_build:
list: never
---
The image banners at the top of the page are refered to as "bigimg" in this theme. They are optional, and one more more can be specified. If more than one is specified, the images rotate every 10 seconds. In the front matter, bigimgs are specified using an array of hashes.

View file

@ -3,6 +3,8 @@ title: Photoswipe Gallery Sample
subtitle: Making a Gallery
date: 2017-03-20
tags: ["example", "photoswipe"]
_build:
list: never
---
Beautiful Hugo adds a few custom shortcodes created by [Li-Wen Yip](https://www.liwen.id.au/heg/) and [Gert-Jan van den Berg](https://github.com/GjjvdBurg/HugoPhotoSwipe) for making galleries with [PhotoSwipe](http://photoswipe.com) .

View file

@ -0,0 +1,35 @@
---
title: Orwa's Visualization
subtitle: Inspired by my Dutch party visitations in Sittard
date: 2021-12-01
tags: ["music-visualizer", "competition"]
---
This is Orwa's entry for the competition.
I made two videos, I was inspired by the type of music I heard in the _Soulfully Yours_ parties in Holland.
## Command Variations
I tried different things, the tempo command seems to help me achieve what I wanted to achieve because of this and that.
### Competition Entry 1
```bash
python `visualize.py` --song `song file` --batch_size 3 --duration 25 \
--resolution 256 --pitch_sensitivity 290 --jitter 1 \
--classes 847 483 668 724 652 413 269 403 319 353 603 354 \
--output_file `video file`
```
{{<video "orwa-1">}}
### Competition Entry 2
```bash
python `visualize.py` --song `song file` --batch_size 3 \
--classes 847 483 668 724 652 413 269 403 319 353 603 354 \
--resolution 512 --jitter 1 --output_file `video file`
```
{{<video "orwa-2">}}

View file

@ -0,0 +1,6 @@
{{ if $.Get 0 }}
<video width="100%" controls>
<source src="/video/{{ $.Get 0 }}.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
{{ end }}

BIN
static/img/avatar-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
static/video/orwa-1.mp4 Normal file

Binary file not shown.

BIN
static/video/orwa-2.mp4 Normal file

Binary file not shown.