Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 1,583 Bytes
d079437 001cba6 d079437 001cba6 d079437 001cba6 c1f12bf 001cba6 c1f12bf 001cba6 d079437 001cba6 c1f12bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# /services
Each service represents a core features of Clapper.
They each have their own state (managed using Zustand, so it can be used in and out of a React component), and should be considered like tiny independent apps (each manage one important thing), although they deeply relate to each other.
For instance multiple services might need to tap into the Settings service to pull parameters or default values.
## Assistant
The chatbot assistant.
Usage:
```typescript
useAssistant()
```
## Audio
Audio management, including playing back audio files for dialogues, sound effects and music.
Usage:
```typescript
useAudio()
```
## IO
Input/output management, to import and export various file formats.
Usage:
```typescript
useIO()
```
## Monitor
The video monitor is the big video display component used to preview an existing (pre-generated) full video, or preview a work in progress project composed of many tiny video clips.
The monitor is responsible for handling the play, pause, seek etc..
functions.
Usage:
```typescript
useMonitor()
```
## Renderer
This is the engine that can generate a video stream on the fly from a sequence of tiny video and audio clips.
Usage:
```typescript
useRenderer()
```
## Settings
Responsible for organizing user preferences, which are serialized
and persisted into the browser local storage, that way no login or account management is necessary.
Usage:
```typescript
useSettings()
```
## UI
The user interface service, through which you can show/hidden elements of the interface.
Usage:
```typescript
useUI()
```
|