# janusboandersen/dsp architecture

> Architecture diagram of the GitHub repository janusboandersen/dsp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/janusboandersen/dsp
- Repository: https://github.com/janusboandersen/dsp

## Overview

This repository is a portfolio of applied DSP and image-processing course projects, not one integrated application. A learner selects a case and gets code, analysis, or a documented implementation. The graph preserves the README’s major project capabilities; the sampled code only exposes the real-time notch-filter entry point and its dependencies. Other case internals are represented at project level, with documented domain-stage relationships only. The tree shows datasets and artifacts, but does not establish runtime data wiring for most cases.

Main entry points: [`README.md`](https://github.com/janusboandersen/dsp/blob/master/README.md) (Project collection), [`2.2-iir-notch-realtime/C55x-implementation/main.c`](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/main.c) (Realtime notch), [`1.4-ecg-and-hrr/miniprojekt_4.m`](https://github.com/janusboandersen/dsp/blob/master/1.4-ecg-and-hrr/miniprojekt_4.m) (ECG and HRV), [`1.1-time-domain-analysis/Miniprojekt_1.m`](https://github.com/janusboandersen/dsp/blob/master/1.1-time-domain-analysis/Miniprojekt_1.m) (Sound analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_signal_analysis["Signal analysis"]
  node_sound_analysis["Sound analysis<br/>[Miniprojekt_1.m]"]
  node_ecg_data[("ECG records<br/>[data]")]
  node_ecg_analysis["ECG and HRV<br/>[miniprojekt_4.m]"]
  node_noise_dft["Noise DFT"]
end

subgraph group_filtering_comms["Filtering and communications"]
  node_equalizer["Audio equalizer"]
  node_fsk["FSK transmission<br/>[case_1.m]"]
  node_notch_design["Notch design<br/>[case_2.m]"]
  node_sensor_filters["Sensor MA filters<br/>[case_3.m]"]
  node_sonar["Sonar simulation<br/>[case_4.m]"]
end

subgraph group_realtime["Real-time filtering"]
  node_notch_runtime["Realtime notch<br/>[main.c]"]
  node_iir_filter["IIR filter<br/>[iir_notch.c]"]
  node_audio_codec["Audio codec<br/>[aic3204.c]"]
  node_board_setup["Board support<br/>[usbstk5505.c]"]
  node_pll_setup["PLL setup<br/>[PLL.c]"]
  node_stereo_io["Stereo audio I/O<br/>[stereo.c]"]
end

subgraph group_imaging["Image processing"]
  node_morphology["Binary morphology<br/>[ex05.mlx]"]
  node_segmentation["Image segmentation<br/>[Ex6.mlx]"]
end

node_learner(("DSP learner"))
node_collection["Project collection<br/>[README.md]"]
node_audio_device(("Audio hardware"))

node_learner -->|"selects cases"| node_collection
node_collection -->|"includes"| node_sound_analysis
node_collection -->|"includes"| node_ecg_analysis
node_collection -->|"includes"| node_noise_dft
node_collection -->|"includes"| node_equalizer
node_collection -->|"includes"| node_fsk
node_collection -->|"includes"| node_notch_design
node_collection -->|"includes"| node_sensor_filters
node_collection -->|"includes"| node_sonar
node_collection -->|"includes"| node_morphology
node_collection -->|"includes"| node_segmentation
node_ecg_analysis -.->|"analyzes records"| node_ecg_data
node_notch_design -->|"implemented on"| node_notch_runtime
node_notch_runtime -->|"initializes"| node_board_setup
node_notch_runtime -->|"configures"| node_pll_setup
node_notch_runtime -->|"initializes"| node_audio_codec
node_notch_runtime -->|"uses"| node_iir_filter
node_notch_runtime -->|"uses"| node_stereo_io
node_audio_device -.->|"supplies audio"| node_notch_runtime
node_sound_analysis -->|"reports time and frequency"| node_collection
node_ecg_analysis -->|"examines RR and HRV"| node_collection
node_equalizer -->|"builds filter bank"| node_collection
node_fsk -->|"transmits encoded messages"| node_collection
node_sensor_filters -->|"reduces sensor noise"| node_collection
node_sonar -->|"detects by correlation"| node_collection
node_morphology -->|"applies morphology"| node_collection
node_segmentation -->|"segments images"| node_collection

click node_collection "https://github.com/janusboandersen/dsp/blob/master/README.md"
click node_sound_analysis "https://github.com/janusboandersen/dsp/blob/master/1.1-time-domain-analysis/Miniprojekt_1.m"
click node_ecg_data "https://github.com/janusboandersen/dsp/tree/master/1.4-ecg-and-hrr/data"
click node_ecg_analysis "https://github.com/janusboandersen/dsp/blob/master/1.4-ecg-and-hrr/miniprojekt_4.m"
click node_equalizer "https://github.com/janusboandersen/dsp/blob/master/1.3-equalizer/e3dsb_miniprojekt_3.mlx"
click node_fsk "https://github.com/janusboandersen/dsp/blob/master/2.1-fsk-transmission/case_1.m"
click node_notch_design "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/case_2.m"
click node_notch_runtime "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/main.c"
click node_iir_filter "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/iir_notch.c"
click node_audio_codec "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/aic3204.c"
click node_board_setup "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/usbstk5505.c"
click node_pll_setup "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/PLL.c"
click node_stereo_io "https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/stereo.c"
click node_sensor_filters "https://github.com/janusboandersen/dsp/blob/master/2.3-sensor-data-ma-filters/case_3.m"
click node_sonar "https://github.com/janusboandersen/dsp/blob/master/2.4-sonar/case_4.m"
click node_morphology "https://github.com/janusboandersen/dsp/blob/master/3.5-image-morphology/ex05.mlx"
click node_segmentation "https://github.com/janusboandersen/dsp/blob/master/3.6-image-segmentation-methods/Ex6.mlx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_sound_analysis,node_ecg_data,node_ecg_analysis,node_noise_dft toneBlue
class node_equalizer,node_fsk,node_notch_design,node_sensor_filters,node_sonar toneAmber
class node_notch_runtime,node_iir_filter,node_audio_codec,node_board_setup,node_pll_setup,node_stereo_io toneMint
class node_morphology,node_segmentation toneRose
class node_learner,node_audio_device toneIndigo
class node_collection toneTeal
```

## Components

### Signal analysis

- [Sound analysis](https://github.com/janusboandersen/dsp/blob/master/1.1-time-domain-analysis/Miniprojekt_1.m): `1.1-time-domain-analysis/Miniprojekt_1.m`
- [ECG records](https://github.com/janusboandersen/dsp/tree/master/1.4-ecg-and-hrr/data): `1.4-ecg-and-hrr/data`
- [ECG and HRV](https://github.com/janusboandersen/dsp/blob/master/1.4-ecg-and-hrr/miniprojekt_4.m): `1.4-ecg-and-hrr/miniprojekt_4.m`
- **Noise DFT**

### Filtering and communications

- [Audio equalizer](https://github.com/janusboandersen/dsp/blob/master/1.3-equalizer/e3dsb_miniprojekt_3.mlx): `1.3-equalizer/e3dsb_miniprojekt_3.mlx`
- [FSK transmission](https://github.com/janusboandersen/dsp/blob/master/2.1-fsk-transmission/case_1.m): `2.1-fsk-transmission/case_1.m`
- [Notch design](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/case_2.m): `2.2-iir-notch-realtime/case_2.m`
- [Sensor MA filters](https://github.com/janusboandersen/dsp/blob/master/2.3-sensor-data-ma-filters/case_3.m): `2.3-sensor-data-ma-filters/case_3.m`
- [Sonar simulation](https://github.com/janusboandersen/dsp/blob/master/2.4-sonar/case_4.m): `2.4-sonar/case_4.m`

### Real-time filtering

- [Realtime notch](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/main.c): `2.2-iir-notch-realtime/C55x-implementation/main.c`
- [IIR filter](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/iir_notch.c): `2.2-iir-notch-realtime/C55x-implementation/iir_notch.c`
- [Audio codec](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/aic3204.c): `2.2-iir-notch-realtime/C55x-implementation/aic3204.c`
- [Board support](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/usbstk5505.c): `2.2-iir-notch-realtime/C55x-implementation/usbstk5505.c`
- [PLL setup](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/PLL.c): `2.2-iir-notch-realtime/C55x-implementation/PLL.c`
- [Stereo audio I/O](https://github.com/janusboandersen/dsp/blob/master/2.2-iir-notch-realtime/C55x-implementation/stereo.c): `2.2-iir-notch-realtime/C55x-implementation/stereo.c`

### Image processing

- [Binary morphology](https://github.com/janusboandersen/dsp/blob/master/3.5-image-morphology/ex05.mlx): `3.5-image-morphology/ex05.mlx`
- [Image segmentation](https://github.com/janusboandersen/dsp/blob/master/3.6-image-segmentation-methods/Ex6.mlx): `3.6-image-segmentation-methods/Ex6.mlx`

### Other components

- **DSP learner**
- [Project collection](https://github.com/janusboandersen/dsp/blob/master/README.md): `README.md`
- **Audio hardware**

## Connections

- DSP learner → Project collection: selects cases (evidence: `README.md`)
- Project collection → Sound analysis: includes (evidence: `README.md`)
- Project collection → ECG and HRV: includes (evidence: `README.md`)
- Project collection → Noise DFT: includes (evidence: `README.md`)
- Project collection → Audio equalizer: includes (evidence: `README.md`)
- Project collection → FSK transmission: includes (evidence: `README.md`)
- Project collection → Notch design: includes (evidence: `README.md`)
- Project collection → Sensor MA filters: includes (evidence: `README.md`)
- Project collection → Sonar simulation: includes (evidence: `README.md`)
- Project collection → Binary morphology: includes (evidence: `README.md`)
- Project collection → Image segmentation: includes (evidence: `README.md`)
- ECG and HRV → ECG records: analyzes records
- Notch design → Realtime notch: implemented on (evidence: `README.md`)
- Realtime notch → Board support: initializes (evidence: `2.2-iir-notch-realtime/C55x-implementation/main.c`)
- Realtime notch → PLL setup: configures (evidence: `2.2-iir-notch-realtime/C55x-implementation/main.c`)
- Realtime notch → Audio codec: initializes (evidence: `2.2-iir-notch-realtime/C55x-implementation/main.c`)
- Realtime notch → IIR filter: uses (evidence: `2.2-iir-notch-realtime/C55x-implementation/main.c`)
- Realtime notch → Stereo audio I/O: uses (evidence: `2.2-iir-notch-realtime/C55x-implementation/main.c`)
- Audio hardware → Realtime notch: supplies audio
- Sound analysis → Project collection: reports time and frequency (evidence: `README.md`)
- ECG and HRV → Project collection: examines RR and HRV (evidence: `README.md`)
- Audio equalizer → Project collection: builds filter bank (evidence: `README.md`)
- FSK transmission → Project collection: transmits encoded messages (evidence: `README.md`)
- Sensor MA filters → Project collection: reduces sensor noise (evidence: `README.md`)
- Sonar simulation → Project collection: detects by correlation (evidence: `README.md`)
- Binary morphology → Project collection: applies morphology (evidence: `README.md`)
- Image segmentation → Project collection: segments images (evidence: `README.md`)
