Automated bird species detection from acoustic recordings.
- About
- Download
- Features
- Usage
- Workflow
- Keyboard shortcuts
- Core Concepts
- Models
- Troubleshooting
- Changelog
- Acknowledgements
- Citation
- License
PAM Analyzer is a cross-platform desktop application designed to help researchers performing Passive Acoustic Monitoring (PAM). It provides a complete workflow for processing Autonomous Recording Unit (ARU) field recordings: from importing SD card contents and running automated species detection (using BirdNET v2.4 or Google Perch v2), to reviewing, annotating, and exporting detections. The application organizes data into a hierarchical structure of projects and campaigns, making it easy to manage large-scale monitoring studies.
Pre-built binaries are available for the following platforms:
- macOS (Apple Silicon): PAM-Analyzer-macos-arm64.zip
- Windows (x86_64): PAM-Analyzer-windows-x86_64.zip
- Linux (x86_64): PAM-Analyzer-linux-x86_64.tar.gz
- Linux (arm64): PAM-Analyzer-linux-arm64.tar.gz
Note: On any supported OS you can also easily run PAM Analyzer from source using uv run poe run
- Project & campaign management: Organizes monitoring deployments into self-contained project folders. A project folder contains the campaigns, each supporting independent species filters (via geographic coordinates and/or custom species lists). Projects and campaigns store no absolute paths, so they are relocatable.
- SD card import: Automatically detects ARU SD cards matching a configured volume name pattern and imports audio into a structured
campaign/ARU/weekdirectory layout. Both AudioMoth and Wildlife Acoustics Song Meter Micro cards are supported, including Song Meter'sData/subfolder layout. WAV recordings are transcoded to FLAC (lossless, 16-bit PCM) on import to save disk space. - Multi-model analysis: Run BirdNET-2.4 or Google's Perch-2.0 from the same panel via a model selector. Both support per-campaign or batch-across-campaigns runs with a configurable confidence threshold and segment overlap. Each model writes its own CSV per campaign so multiple model runs can coexist (see Output files).
- Detection review: Provides a tabular interface for detections with multi-column sorting, filtering, inline annotation (verification status, species correction, comments), and integrated audio playback.
- Data export: Supports exporting filtered detections to CSV format and extracting annotated audio snippets with metadata embedded in filenames.
Download and execute the binary for your platform from the Download section.
Upon first launch, use New Project and pick (or create) the folder that will hold your data such as recordings and detection CSVs. The app marks it as a project by writing a pam-analyzer.toml settings file into it. Then create at least one campaign in the Campaigns panel (audio import from SD cards is also handled there), run species detection in the BirdNET panel (select BirdNET-2.4 or Perch-2.0 from the model dropdown), and review detections in the Examine panel. More details are in the workflow section below.
If you used an older version of PAM Analyzer that stored projects as .pamproj files, use File > Open Legacy Project File⦠to select the .pamproj file. The app will offer to migrate it: detection CSVs are moved into their campaign folders, and the old file is kept as .bak. If the audio recordings folder moved since the project was created, a folder picker lets you relocate it. When opening a project folder that contains a .pamproj file, migration is offered automatically.
The application is organized into four panels that map to the steps of a typical PAM analysis workflow.
Configure a study in the project settings.
- If needed adjust the SD card volume name pattern: A regular expression to match SD card volume names for your ARUs. The default matches both AudioMoth (
MSD-) and Song Meter (2MM) cards; widen or narrow it to suit your devices. - Model settings:
- Min confidence: the minimum detection score (0 to 1) a species prediction must reach to appear in the output CSV. Lower values result in more detections but increasingly more false positives.
- Overlap: how much consecutive analysis windows overlap, in seconds (0 to 2.5 s). Overlap might help to catch vocalizations that would otherwise be split across a window boundary, at the cost of longer analysis time and/or duplicate detections.
- Species languages:
- Main sets the preferred language for the Species column in all CSV outputs and for exported audio snippets
- Extra adds one additional common-name column per checked language to the examine data table.
- Species taxonomy: the scientific-name axis every model's output is written under (default BirdNET-2.4). BirdNET and Perch name a handful of birds differently, for example
Accipiter gentilisvsAstur gentilis. Normalizing to one axis makes both models' detections of such a bird line up in the Examine grid. See Taxonomy differences.
All settings are saved automatically to the pam-analyzer.toml file inside the project folder.
Create and manage the campaigns that belong to this project. The panel on the left shows a list of all discovered campaigns. When no campaign is selected, a project-wide overview is shown on the right, displaying total campaigns, ARUs, recordings, disk usage, and date range. Clicking a campaign opens its settings where you can:
- Create a new campaign using the
+button. Each campaign must be configured with a species filter:- Location mode: specify a lat/lon on a map or enter coordinates manually; BirdNET derives the species list from this location. Here you can also add species you want to have always included when feeding the detection models. Enter these must-have names in either taxonomy (BirdNET's or Perch's): the app matches both spellings against whichever model runs. This matters for Perch runs, because the regional list itself stays on BirdNET's axis, so a renamed bird like the Northern Goshawk (
Accipiter gentilis/Astur gentilis) is only guaranteed to survive a Perch run if you list it here. See Taxonomy differences. - Species list mode: provide a
.txtspecies list file, which is copied into the campaign folder alongside the audio.
- Location mode: specify a lat/lon on a map or enter coordinates manually; BirdNET derives the species list from this location. Here you can also add species you want to have always included when feeding the detection models. Enter these must-have names in either taxonomy (BirdNET's or Perch's): the app matches both spellings against whichever model runs. This matters for Perch runs, because the regional list itself stays on BirdNET's axis, so a renamed bird like the Northern Goshawk (
- Edit species filter settings at any time.
- Specifying species (species list mode and the location-mode must-have list use the same input and format): type or paste species names directly into the text box, one per line, or drag-and-drop a
.txtfile onto it (or use the import button to browse for one). Either way, the file's contents are loaded into the box rather than just referenced by path.-
Example, one entry per line:
# This is comment Turdus merula Parus major_Great Tit # another comment Fringilla coelebs_Buchfink Corvus coraxEach line is a scientific (Latin binomial) name, e.g.
Turdus merula. Lines copied from a BirdNET-style species list inScientific name_Common nameform also work, since everything from the underscore onward is ignored, regardless of which language the common name is in, soParus major_Great Tit(English) andFringilla coelebs_Buchfink(German) are parsed the same way as their bare scientific names. A#starts a comment that runs to the end of the line, whether on its own line or trailing a species name; the app uses this to mark must-have entries when it writesapplied-species-list*.txt, so that file can be pasted straight back into the species list or must-have box. Blank lines are ignored.For birds the two models name differently (e.g.
Accipiter gentilisvsAstur gentilis), either spelling is accepted: the app reconciles the names you type against whichever model runs. See Taxonomy differences.
-
The species names BirdNET v2.4 was trained on can be found at https://zenodo.org/records/15050749. The labels directory has a label file per language, each listing the detectable species as Scientific name_Common name, so any single language's file also doubles as the full scientific-name reference.
- Delete a campaign via the trash icon on its list card, with an inline confirmation step.
- Import audio from SD cards directly within a campaign's detail view. Click the import button to start monitoring for SD card volumes matching the configured name pattern. When a matching card is inserted, files are imported into the
campaign/ARU/weekdirectory structure with deduplication and conflict resolution. WAV recordings are transcoded to FLAC (lossless, 16-bit PCM) to save disk space, and any GUANO metadata (timestamp, location, device) is carried across into the FLAC. The encode is verified against the source before a card is cleared, so a recording is never lost to a bad transcode; FLAC sources and the device's provenance file are copied through untouched. The device family is recognised from the card layout: AudioMoth keeps recordings and aCONFIG.TXTat the card root, while Song Meter keeps recordings underData/and a<serial>_Summary.txtlog at the root.
Campaigns are discovered automatically from the project folder: any subdirectory containing a campaign.toml sidecar is treated as a campaign.
Pick a model from the dropdown and choose which campaign(s) to run it against. The min confidence, overlap, and species language settings come from Project Settings and apply to both models. See Models for a side-by-side comparison of BirdNET-2.4 and Perch-2.0 and guidance on when to use each.
Each detection is assigned a within-segment Rank (1 = highest-confidence species in that window), useful for deprioritising detections that are consistently outcompeted by other species in the same clip. Analyses can be run per-campaign or across all campaigns. See Output files for what is written to disk.
Analysis results are written directly into each campaign folder, next to the audio, with one detections CSV per model run:
{project}/
βββ {campaign}/
βββ detections-BirdNET-2.4.csv # one row per BirdNET detection
βββ detections-Perch-2.0.csv # one row per Perch v2 detection (only if Perch was run)
βββ applied-species-list-week-NN.txt # per BirdNET week, when the audio is organised in week_NN folders
- For each campaign
detections-{model_key}.csvis the file where the species detections are stored. The{model_key}suffix is the runner's identifier (BirdNET-2.4orPerch-2.0), so multiple model runs coexist for the same campaign. Every row carries aModelcolumn identifying its source, plus the annotation columns (Verified,Corrected_Species,Comment). The Examine panel loads every model file it finds for the campaign and concatenates them. Annotations are written back to the file the row came from. TheFilecolumn is stored relative to the campaign folder, so renaming or moving a campaign never breaks its CSVs. applied-species-list*.txtis the merged list (geographic list plus an optional must-have species list, the latter tagged# must-have) the run actually filtered against, exported in location mode for reference.
No combined, summary, or per-week CSVs are produced: the "All campaigns" view in the Examine panel concatenates the per-campaign CSVs in memory, so it always reflects the current per-campaign files.
Review and annotate results. Detection CSVs are loaded into a grid with multi-column sorting and filtering, inline annotation editing (Verified, Corrected_Species, Comment), and audio playback per detection. When more than one model has been run for a campaign, all detections appear in the same grid; sort or filter on the Model column to slice by source. The info label above the table shows detection counts per model.
- Column filters: Click a column header to open the filter menu. Text columns support
contains,starts with, andends withoperators. TheCampaign,ARU,Species,Model,Verified, andCorrected_Speciescolumns also support an "Is one of" operator for multi-value selection. Date and time columns have dedicated date range and time range filters. PressingEnterin a filter input applies the filter immediately and moves focus to the table. - Max per ARU/Species: This control caps how many detections to keep for each ARU and species pair, keeping the highest-confidence ones (set it to
Allto disable). The cap is applied after the per-column filters, so it thins only the rows that already passed those filters. For example, filteringModelto Perch and then setting the cap to 1 shows the single best Perch detection per ARU and species. - Playback padding: The
βbutton lets you configure how many seconds of audio to play before and after each detection, helpful for hearing context around the vocalization. These values are saved per-project. - Annotations: Verified, Corrected_Species, and Comment edits are written back to the source CSV automatically.
- Export: The
β¬button offers CSV export of the currently filtered rows and audio snippet extraction with configurable padding.
When exporting audio snippets, annotation values are reflected in the output filenames:
- Verified: appends
_confirmed,_incorrect, or_uncertaindepending on the value. - Corrected_Species: replaces the original species name in the filename with the corrected one (scientific name looked up from the project language) and appends
_corrected.
Both suffixes can appear together, e.g. β¦_corrected_confirmed.wav.
| Windows/Linux | macOS | Action | Description |
|---|---|---|---|
| Ctrl+N | βN | New Project Folder | Initialize a folder as a new project |
| Ctrl+O | βO | Open Project Folder... | Open an existing project folder |
| Ctrl+W | βW | Close Project | Close the current project and return to the welcome screen |
| Ctrl+Q | βQ | Quit | Exit the application |
| Key | Action |
|---|---|
Ctrl+N / βN |
Create a new campaign |
F2 |
Rename the selected campaign |
Delete |
Delete the selected campaign |
Escape |
Leave campaign details and return to the overview |
These shortcuts work whenever a row is selected in the Examine panel and no cell editor is open.
| Key | Action |
|---|---|
Space |
Play / pause the current detection's audio |
J |
Jump to the detection start marker in the audio player |
B |
Seek to the beginning of the audio file |
T |
Set Verified to true |
F |
Set Verified to false |
U |
Set Verified to uncertain |
C |
Open the Comment field for text editing |
S |
Open the Corrected Species dropdown |
Tip: While the Comment field or the Corrected Species dropdown is open, all single-key shortcuts are automatically suspended so you can type freely. Press
EscapeorEnter/Returnto confirm and return to normal navigation.
The largest organisational unit. A project represents a study or monitoring programme, e.g. "Bird survey of Lake Constance wetlands 2026". A project is a folder: it holds a pam-analyzer.toml settings file (ARU SD card volume name pattern, preferred species name language) and one subfolder per campaign. The settings file stores no paths, so the whole project can be moved, backed up, or shared as one folder. The project name is simply the folder name.
Note: Species filter settings (lat/lon location or species list) are campaign-scoped, not project-scoped.
A campaign is a time-bounded field deployment during which a set of ARUs were active. The campaign name is chosen by the researcher and typically encodes start date, end date, and study area, e.g. Campaign-20260114-20260216-Federsee. On the file system each campaign lives in its own subdirectory under the project folder and carries a campaign.toml sidecar that stores its species filter configuration. Detection CSVs are written into the campaign folder too, with audio paths stored relative to it, so a campaign is fully self-contained and can be moved, archived, or shared, including its analysis results and annotations. Campaigns are discovered automatically from the project folder. Individual ARUs within a campaign may be deployed at distinct locations within the study area.
species_filter_mode = "location" # "location" or "list"
latitude = 47.94
longitude = 9.32
species_list_path = "" # relative path to .txt, empty when using location modeThe combination of campaign + ARU device ID uniquely identifies a recording set within a project while the same physical ARU redeployed at a different time usually belongs to a different campaign.
An individual recording device, identified by its SD card volume name (e.g. MSD-109 for AudioMoth, 2MM30692 for a Song Meter serial). Within a campaign folder, each ARU gets its own subfolder. Recordings are further organised into weekly subfolders (week_08) derived from the file timestamps.
After setting up a project and importing ARU SD cards, the resulting directory structure looks like this:
{project}/
βββ pam-analyzer.toml # project settings, written automatically
βββ {campaign}/
βββ campaign.toml # species filter configuration sidecar
βββ species_list.txt # species-list mode only: the campaign's species filter list
βββ must_have_species.txt # optional: extra species forced into a location-mode run
βββ {aru}/
campaign.toml, species_list.txt, must_have_species.txt, and (after a run) the detection CSVs live in the campaign folder, beside the audio, so a campaign stays self-contained and can be moved, archived, or shared independently of the project. The species-list files are present only when the corresponding filter option is used.
Example:
~/Studies/2026-SW-Germany-PAM-Project/
βββ Campaign-20260114-20260216-Federsee/
β βββ campaign.toml
β βββ MSD-109/
β β βββ week_02/
β β βββ week_03/
β β βββ week_04/
β β βββ week_05/
β β βββ week_06/
β βββ MSD-110/
β βββ week_02/
β βββ week_03/
β βββ week_04/
β βββ week_05/
β βββ week_06/
β βββ week_07/
βββ Campaign-20260317-20260328-Lake-Constance/
βββ campaign.toml
βββ MSD-109/
β βββ week_11/
β βββ week_12/
βββ MSD-110/
βββ week_11/
βββ week_12/
PAM Analyzer ships two bird-detection models. Both run locally on CPU, write to the same per-detection CSV schema, and honor the campaign's species filter (location-mode or species-list mode). They can be run on the same campaign and their outputs coexist in separate files.
| BirdNET v2.4 | Perch v2 | |
|---|---|---|
| Backend | TFLite via the birdnet library |
TensorFlow SavedModel via the same library |
| Audio window | 3 s | 5 s |
| Sample rate | 48 kHz | 32 kHz |
| Classes | ~6500 species (all birds) | 14,795 classes (birds, other animals, sound events) |
| Taxonomy | eBird 2021 | iNaturalist 2024 + FSD50K |
| Speed (Apple M4 Pro, CPU, ~4 h audio) | ~1050x real-time | ~77x real-time |
| Confidence units in CSV | Sigmoid probability (0-1) | Calibrated probability (0-1), see Logit calibration |
A compact CNN for global birdsong classification. The runner uses the campaign's coordinates to derive a per-week regional species list, so the model only emits species that are plausible at that location and time of year. BirdNET is the fast first-pass model: a four-hour campaign runs in under a minute on a modern laptop. Its confidence scores are sigmoid probabilities and need no calibration.
A conformer-based open-world bird vocalization classifier from Google. Perch analyzes 5 s windows at 32 kHz, emits the top-5 species per window, and recognizes ~14,795 classes globally. It is more sensitive than BirdNET at the cost of being roughly 13x slower (on my CPU). Perch's added value seem to lie in low-amplitude calls (distant, partially-occluded, or under-modeled species) that BirdNET misses.
In location mode the runner post-filters Perch's open-world output against the campaign's regional species list (derived from BirdNET's geographic filter), so Perch and BirdNET runs on the same campaign return comparably-scoped species sets.
The two models do not speak the same taxonomy, and this affects how their outputs line up. BirdNET v2.4 labels its ~6500 classes with eBird 2021 scientific names, all of them birds. Perch v2 labels its 14,795 classes under iNaturalist 2024 taxonomy plus the FSD50K sound-event set, so the classes span birds, amphibians (frogs, toads), mammals, insects, and general audio events. The newer taxonomy also renames many genera through recent splits: the Northern Goshawk is Accipiter gentilis for BirdNET but Astur gentilis for Perch, and the same pattern runs through Charadrius/Anarhynchus plovers, Ciccaba/Strix owls, Ixobrychus/Botaurus bitterns, and more.
Comparing the two label sets by exact scientific name:
| Label sets compared | Count |
|---|---|
| Perch v2 classes | 14,795 |
| BirdNET v2.4 species | 6,522 |
| Names present in both | 6,266 |
| BirdNET birds with no matching Perch name | 256 |
| Perch classes not on BirdNET's axis | 8,529 |
The app bridges this gap in two places.
For your own species lists (species-list mode, and the must-have list added on top of location mode), a bundled rename crosswalk (infrastructure/data/taxonomy_crosswalk.tsv) expands each name you type to include its equivalent on the other axis. So an entry written as Accipiter gentilis also matches Perch's Astur gentilis, and either spelling works whichever model runs. Only the names you type are bridged.
For output, a project-wide taxonomy setting (Project Settings, Species taxonomy) normalizes the Scientific_name every model writes to one axis, default BirdNET-2.4. A renamed bird then appears under the same name whether BirdNET or Perch found it, so both line up in the Examine grid, and its common-name columns fill in (they are looked up through the BirdNET axis). Perch classes with no BirdNET equivalent (the non-bird 8,529) keep their own name, and because the common-name lookup is BirdNET-axis only, their Species cell just repeats that scientific name while any extra per-language columns stay blank, the visible sign of an off-axis class.
The location-mode regional list stays on BirdNET's axis as there is no Perch geo model. A renamed bird you did not list is still dropped where the region filter applies, along with every non-bird Perch class. That is usually what you want for a bird study, but Perch also detects amphibians, insects, and mammals, and the bird-only regional filter drops all of them. To keep non-bird detections, run in species-list mode, which applies no regional filter, so every Perch class comes through. In location mode, add the specific classes you want to the must-have box (either taxonomy's spelling works), and they survive the filter. The debug log reports the split for each campaign, for example perch: per-week species filter dropped 412 row(s): 190 out-of-region, 222 not on BirdNET's axis (taxonomy mismatch or non-bird). 1391 kept. A large second number is the taxonomy gap at work rather than geography.
This gap is specific to the v2.4 axis and should shrink with BirdNET v3.0. The v3.0 preview model (and its aligned v3.0 geo model) adopts the newer taxonomy that Perch already uses, so the renamed birds like Astur gentilis would match. Moving the app's filter and common-name axis from v2.4 to v3.0 would recover most of those 256 birds, and running the v3.0 acoustic model against the v3.0 geo model would close the gap entirely, since both then share one taxonomy. BirdNET v3.0 is still a preview and is not yet in a released birdnet library version.
Perch's classification head emits raw logits, not probabilities. Pure silence sits around +4.5 and ambient noise (wind, distant traffic) sits higher still, so a naive sigmoid would mark every 5 s window as ~99% confident in something. The runner therefore applies a hardcoded offset before the sigmoid (_PERCH_LOGIT_OFFSET) that is currently set to 11.2. The offset makes the probabilities written to the CSV somewhat comparable to BirdNET's units in the 0-1 range. This is not ideal and might change in the future.
The offset was tuned (empirically) by cross-comparison against BirdNET (also not ideal, because we're missing ground truth). scripts/calibrate_perch_offset.py analyzes pairs of BirdNET/Perch detection CSVs and generates per-offset statistics and graphs (raw-logit histogram, per-species histograms, BN-agreement curves).
- Run BirdNET as the default first pass over every campaign. It is fast and has a low false-positive rate.
- Add Perch v2 when you suspect BirdNET is missing quiet or distant calls (e.g. for corvids and other low-pitched or sparse vocalizers), or when you want a second opinion on borderline detections. Perch's added detections live mostly in the 0.25 to 0.5 calibrated-confidence range, exactly where manual review is most useful.
- Run both on the same campaign when you have the time budget. The Examine panel concatenates per-model CSVs and exposes the
Modelcolumn for sorting and filtering, so each detection is traceable to its source.
The application writes a rotating debug log (pam-analyzer.log, capped at 1 MB with one backup) to the platform's standard log directory:
- Windows:
%LOCALAPPDATA%\PAM Analyzer\Logs\pam-analyzer.log - macOS:
~/Library/Logs/PAM Analyzer/pam-analyzer.log - Linux:
~/.local/state/PAM Analyzer/log/pam-analyzer.log
The easiest way to find it is Help > Open Log Folder in the app, which opens the folder directly in your file browser.
On Windows, %LOCALAPPDATA% lives under a hidden AppData folder that File Explorer doesn't show by default, so browsing there manually is not straightforward. If you don't have access to the app's menu, paste the path above into File Explorer's address bar (not the search box) and press Enter; Explorer will expand %LOCALAPPDATA% and navigate straight there.
The changelog can be found at the CHANGELOG page.
The author would like to thank the following projects:
- BirdNET
- Perch 2.0
- Qt / PySide6
- Python
- Polars
- SciPy
- GUANO
- Mutagen
- NumPy
- platformdirs
- soundfile
- psutil
If you use PAM Analyzer in your work, you can cite it:
@software{Werner_PAM_Analyzer_2026,
author = {Werner, Ken},
title = {PAM Analyzer},
url = {https://github.com/kenwer/pam-analyzer},
version = {0.6.0},
year = {2026}
}This project is licensed under the AGPL-3.0 license. See the LICENSE file for the full text.
