Mic lab: record one verse three ways
To doDue Fri 21 Nov, 23:59100 points
Record the same verse with the mic at 5 cm, 15 cm, and 30 cm.
Hand in three WAV files and one line on what changed.
English
An assignment with the instructions, the due date, a submission, and the grade
Shows a learner what to do, takes their work, and later gives the grade and the feedback.
<template>
<div style="display: grid; gap: 16px">
<BlessAssignment
v-model="files"
title="Mic lab: record one verse three ways"
due="Fri 21 Nov, 23:59"
:points="100"
instructions="Record the same verse with the mic at 5 cm, 15 cm, and 30 cm.
Hand in three WAV files and one line on what changed."
accept=".wav,audio/wav"
:submitted
@submit="submitted = 'today'"
/>
<BlessAssignment
title="Quiz 1: polar patterns"
due="Mon 10 Nov"
:points="20"
submitted="Mon 10 Nov, 14:02"
grade="18 / 20"
feedback="Good work. Look again at the figure-8 pattern: it picks up sound from the back as well."
/>
</div>
</template>
<script setup lang="ts">
import { ref } from "vue";
import { BlessAssignment } from "blessing-ui";
const files = ref<File[]>([]);
const submitted = ref<string>();
</script>title, due, points, and instructions describe the work. Line breaks in the instructions stay.v-model. accept limits the file types. Hand in emits submit with the files.submitted is the time of the hand-in as text. Then the files show as a list. late marks a late hand-in.grade and feedback show in a box when the work is graded.labels or a label pack. The API table lists the keys.import { BlessAssignment } from "blessing-ui";| Name | Type | Default | Description |
|---|---|---|---|
title* | string | — | |
due | string | — | the due date as text |
points | number | — | |
instructions | string | — | |
submitted | string | — | when the work was handed in, as text; leave it out before that |
late | boolean | — | |
grade | string | — | the grade as text, for example "88 / 100" or "A-" |
feedback | string | — | |
accept | string | — | |
labels | Partial<{ due: (when: string) => string; points: (n: number) => string; todo: string; done: string; late: string; graded: string; yourWork: string; drop: string; submit: string; submittedAt: (when: string) => string; grade: string; feedback: string; }> | — | |
modelValue | File[] | [] |
| Name | Payload | Description |
|---|---|---|
update:modelValue | [value: File[]] | |
submit | [files: File[]] |