deep-foundation / deep-foundation/deep-memo-app

Save audio

Open
#6 2 comments 0 reactions 1 assignee Claimed by @Romanxz View on GitHub
task
Dominant language
TypeScript
Stars
10
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### .env
```
NEXT_PUBLIC_GQL_PATH=/gql
NEXT_PUBLIC_GQL_SSL=0/1 for local/remote
```
### Make sure to use nodejs version 14.15.0

```bash
npm ci
```
```bash
npm run dev -- -p 4000
```

## Use

![Image](https://user-images.githubusercontent.com/44348954/220382034-ef2db86c-010b-4ec6-8e26-e2795be0a3f9.png)

### 1) INITIALIZE PACKAGE to install package. Also creates an AudioRecord container link.

### 2) CREATE NEW CONTAINER ONLY IF YOU DELETED DOWN DEFAULT ONE.

Make sure you have only one container link at a time.

### 3) CHECK DEVICE SUPPORT. CHECK/GET PERMISSION.

Results will be stored as individual links values inside AudioRecord container.

### 4) RECORDING STATUS.

Promise that returns current recording status.

### 5) START/STOP RECORDING CYCLE.

Each loop records 5s chunks and stores them inside localstore. If there is network connection it will be uploaded as links and then localstore will be cleared.

### 6) RECORD ONE CHUNK.

Records one 5s chunk and uploads if possible.

### 7) LOAD RECORDS.

Load all records existing as links inside AudioRecord container link as playable audio snippets.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.