|
Download README.md from nbrochec/ipt_models: direct link, hf CLI and curl.
- Browser
- Download file 2.08 kB
-
https://huggingface.co/nbrochec/ipt_models/resolve/main/README.md
- Command line
-
hf download hf://nbrochec/ipt_models/README.md
-
curl -L -o README.md https://huggingface.co/nbrochec/ipt_models/resolve/main/README.md
2.08 kB
| license: cc-by-nc-4.0 | |
| pipeline_tag: audio-classification | |
| tags: | |
| - audio | |
| - audio-classification | |
| - torchscript | |
| - music | |
| - playing-techniques | |
| - real-time | |
| - max-msp | |
| # ipt_models | |
| Pretrained instrumental playing-technique recognition models for [ipt~](https://github.com/DYCI2/ipt_tilde), `pipo.ipt` and any host built on [libipt](https://github.com/nbrochec/libipt). | |
| Models are TorchScript (`.ts`) files trained and exported with [ipt_recognition](https://github.com/nbrochec/ipt_recognition). Documentation, classes and specifications of each model live in the [ipt_models](https://github.com/DYCI2/ipt_models) GitHub repository. | |
| | Model | Instrument | Classes | Sample rate | Latency floor | Dataset | Card | | |
| |---|---|---|---|---|---|---| | |
| | `eguitar_ircam.ts` | Electric guitar | 14 | 8 kHz | 896 ms | [EG-IPT](https://doi.org/10.5281/zenodo.15205644) | [card](https://github.com/DYCI2/ipt_models/blob/main/cards/eguitar_ircam.md) | | |
| | `flute_ircam.ts` | Flute | 11 | 44.1 kHz | 333 ms | [GFD](https://doi.org/10.5281/zenodo.14712391) | [card](https://github.com/DYCI2/ipt_models/blob/main/cards/flute_ircam.md) | | |
| | `trumpet_ircam.ts` | Trumpet | 14 | 44.1 kHz | 333 ms | T-IPT (not public yet) | [card](https://github.com/DYCI2/ipt_models/blob/main/cards/trumpet_ircam.md) | | |
| | `trumpet_harmon_ircam.ts` | Trumpet, harmon mute | 14 | 44.1 kHz | 333 ms | T-IPT (not public yet) | [card](https://github.com/DYCI2/ipt_models/blob/main/cards/trumpet_harmon_ircam.md) | | |
| ## Usage | |
| Download a `.ts` file, put it in Max's search path (or give an absolute path), then: | |
| ``` | |
| ipt~ flute_ircam.ts | |
| pipo~ ipt @ipt.model flute_ircam.ts | |
| ``` | |
| Or from the command line: | |
| ``` | |
| hf download nbrochec/ipt_models flute_ircam.ts --local-dir . | |
| ``` | |
| A model takes `(batch, 1, segment_length)` float32 raw audio and returns logits `(batch, num_classes)`; it exports `get_sr()`, `get_seglen()` and `get_classnames()`. Exported with torch 2.4.1, the version libipt links against. | |
| ## License | |
| CC-BY-NC-4.0. | |
| ## Contact | |
| Please write to `nicolas.brochec[at]ircam.fr` for any questions. | |