Docs
Project: Radio
After recording the audio using the recording pi built using pi-0, the audio is saved in a directory pointing to a webserver.
.json
file with filename and the path same as audio fileTo be added
Each audio recording will be associated with a related metadata file in .json
format with the filename same as the audio filename.
Where each audio filename is a preset pattern @recorded+hash of datetime
The metadata file contains the json object from below. The Server will setup few fields as default, and other fields can be edited in the browser.
Main fields editable in browser are mentioned in the features.
Refer to schema.org Thing > CreativeWork > Clip > RadioClip
A short TV or radio program or a segment/part of a program.
{
"@context": "http://schema.org/",
"@type": "RadioClip",
// alias for filename at name prop
"name": "Renamed filename",
// person or device id
"accountablePerson": "",
// path to file
"audio": "",
// if enabled for workflow needs
"comment": "",
"commentCount": "",
"dateCreated": "",
"dateModified": "",
"datePublished": "",
"editor": "",
"funder": "",
"genre": "",
"inLanguage": "",
// comma seperated tags
"keywords": "",
"license": "",
// Spatial coverage
"locationCreated": "",
// The service provider
"provider": "",
// The Event where recorded
"recordedAt": "",
// review by studio
"review": "",
// duration
"timeRequired": "",
// bind with device or a fixed for pi - 0
"version": "",
// original filename
"sameAs": "",
}
To be added
GET:
url: host/audio-filename
response: audio-filename.json
PUT:
url: host/audio-filename
data:
response:
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing