|
| 1 | +# freesound-credits |
| 2 | + |
| 3 | +A command line utility to help you credit [Freesound](https://freesound.org) |
| 4 | +samples for a given project more easily. |
| 5 | + |
| 6 | +[](https://github.com/gacallea/freesound-credits/actions/workflows/commitlint.yml) |
| 7 | +[](https://github.com/gacallea/freesound-credits/actions/workflows/trufflehog.yml) |
| 8 | +[](https://github.com/gacallea/freesound-credits/actions/workflows/ci.yml) |
| 9 | +[](https://github.com/gacallea/freesound-credits/actions/workflows/release-plz.yml) |
| 10 | +[](https://github.com/gacallea/freesound-credits/actions/workflows/release.yml) |
| 11 | +[](https://crates.io/crates/freesound-credits) |
| 12 | +[](https://opensource.org/licenses/Apache-2.0) |
| 14 | +[](https://opensource.org/licenses/MIT) |
| 16 | + |
| 17 | +## Giving credits |
| 18 | + |
| 19 | +Giving credits in the [Creative Commons](https://creativecommons.org) community |
| 20 | +is often the sole requirement to freely use samples in your own creations. This |
| 21 | +tool helps you abide to [Copyleft](https://en.wikipedia.org/wiki/Copyleft) |
| 22 | +and credit the generous artists that contribute sounds on |
| 23 | +[Freesound](https://freesound.org), helping you being more creative. |
| 24 | + |
| 25 | +Until today, giving credits may have been a process that you begrudged. This |
| 26 | +may have been stopping you from giving credits altogether. Not because you |
| 27 | +didn't want to, but because it was cumbersome and tedious. |
| 28 | + |
| 29 | +Not anymore! Thanks to `freesound-credits` it takes seconds now! |
| 30 | + |
| 31 | +## Install |
| 32 | + |
| 33 | +Use [`cargo binstall`](https://github.com/cargo-bins/cargo-binstall) to install |
| 34 | +`freesound-credits` directly from GitHub: |
| 35 | + |
| 36 | +```shell |
| 37 | +cargo binstall freesound-credits |
| 38 | +``` |
| 39 | + |
| 40 | +### Homebrew |
| 41 | + |
| 42 | +On Linux and macOS homebrew is also available: |
| 43 | + |
| 44 | +```shell |
| 45 | +brew install gacallea/tap/freesound-credits |
| 46 | +``` |
| 47 | + |
| 48 | +## Usage |
| 49 | + |
| 50 | +The command line comes with a straight-forward usage function: |
| 51 | + |
| 52 | +```bash |
| 53 | +freesound-credits -h |
| 54 | +``` |
| 55 | + |
| 56 | +### Usage example |
| 57 | + |
| 58 | +1. open your favorite terminal. |
| 59 | +2. `cd` to the folder where you want to save the credits file. |
| 60 | +3. run `freesound-credits` on your desired samples folder. |
| 61 | +4. if necessary, use the absolute path to the samples folder. |
| 62 | + |
| 63 | +#### Ableton Example |
| 64 | + |
| 65 | +Running against an Ableton `Samples/Imported` directory, will generate a |
| 66 | +markdown file named `field-notes-credits.md` in the current directory. |
| 67 | + |
| 68 | +```bash |
| 69 | +freesound-credits -p Samples/Imported/ -t "Field Notes" -a "Aner Andros" -d "2017-10-28" |
| 70 | +``` |
| 71 | + |
| 72 | +## Supported file names |
| 73 | + |
| 74 | +`freesound-credits` matches samples adhering to Freesound naming standard that |
| 75 | +kept their original samples names per downloads from the platform. For example: |
| 76 | + |
| 77 | +- new standard with double underscore: `69604__timkahn__subverse_whisper.wav` |
| 78 | +- old standard with single underscore: `2166_suburban_grilla_bowl_struck.flac` |
| 79 | + |
| 80 | +## Supported DAWs |
| 81 | + |
| 82 | +`freesound-credits` should work for any samples stored in a flat folder. |
| 83 | +`freesound-credits` filters out metadata files associated with audio imports. |
| 84 | +To add more DAWs and associated metadata or extraction, please [file an |
| 85 | +issue](https://github.com/gacallea/freesound-credits/issues/new?assignees=&labels=enhancement&projects=&template=add_a_new_daw.yml&title=feat%28DAW%29%3A+add+). |
| 86 | + |
| 87 | +| DAW | Samples Folder | Metadata | Extraction | Notes | |
| 88 | +| :----: | :----: | :----: | :----: | :----: | |
| 89 | +| Ableton | `Samples/Imported` | `.asd` | no | | |
| 90 | +| Reaper | `Audio Files` | `.reapeaks` | no | | |
| 91 | +| Renoise | `SamplesData` | no | `unzip` | [extraction](#renoise-extraction) | |
| 92 | +| Logic Pro X | `Audio Files` | no | no | [Package vs Folder](https://www.youtube.com/watch?v=33zVydB4MiI) | |
| 93 | + |
| 94 | +### Adding more DAWs |
| 95 | + |
| 96 | +I did the best I could with what I have. I've tested it with Ableton, Reaper, |
| 97 | +and Renoise projects on macOS. Logic Pro X uses no metadata and a clean Audio |
| 98 | +files folder, thus I decided to add it but it hasn't been tested. |
| 99 | + |
| 100 | +However, any DAW with these characteristics should work out of the box. I would |
| 101 | +appreciate anybody confirming more DAWs or [adding new |
| 102 | +ones](https://github.com/gacallea/freesound-credits/issues/new?assignees=&labels=enhancement&projects=&template=add_a_new_daw.yml&title=feat%28DAW%29%3A+add+). |
| 103 | +When you do request or add a new DAW, please keep the [above |
| 104 | +table](#supported-daws) and the [extra steps](#extra-daws-steps) section in |
| 105 | +mind for any extra information. |
| 106 | + |
| 107 | +## Extra DAWs steps |
| 108 | + |
| 109 | +### Renoise extraction |
| 110 | + |
| 111 | +Extract with `unzip your_project.xrns` first. Once unzipped, you will find a |
| 112 | +`Song.xml` file and a `SamplesData` directory containing each `Instrument`. |
| 113 | + |
| 114 | +## Contributing |
| 115 | + |
| 116 | +Thanks for your help improving the project! :balloon: Happy to have you! Peruse |
| 117 | +the [contributing guide](./docs/CONTRIBUTING.org) to help you get involved in |
| 118 | +the project. |
0 commit comments