Skip to content

Commit 119e3ef

Browse files
committed
Merge branch 'develop'
2 parents d54aaf2 + a552361 commit 119e3ef

File tree

260 files changed

+23266
-218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+23266
-218
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SoundpipeAudioKit Code Owners File
2+
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
3+
4+
# Primary Owners
5+
* @aure @wtholliday

.github/CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: [aure]
4+
open_collective: audiokit

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
If your issue is implementing AudioKit in your own code, post your problem to [StackOverflow](https://stackoverflow.com/search?q=AudioKit) with the #AudioKit hashtag.
2+
3+
If you can make the issue happen on [AudioKit 5's Cookbook app](https://github.com/AudioKit/Cookbook/) then you can create an issue directly on that repository as well.
4+
5+
GitHub Issues should only be used for confirmed problems with AudioKit and
6+
well-defined feature requests.
7+
8+
Sponsors will get more attention: https://github.com/sponsors/aure
9+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Confirm you should be adding the bug here**
11+
If your issue is implementing AudioKit in your own code, post your problem to [StackOverflow](https://stackoverflow.com/search?q=AudioKit) with the #AudioKit hashtag.
12+
13+
If you can make the issue happen on [AudioKit 5's Cookbook app](https://github.com/AudioKit/Cookbook/) then you can create an issue directly on that repository as well.
14+
15+
GitHub Issues should only be used for confirmed problems with AudioKit and
16+
well-defined feature requests.
17+
18+
Sponsors will get more attention: https://github.com/sponsors/aure
19+
20+
21+
**Describe the bug**
22+
A clear and concise description of what the bug is.
23+
24+
**To Reproduce**
25+
Steps to reproduce the behavior:
26+
1. Go to '...'
27+
2. Click on '....'
28+
3. See / hear error
29+
30+
**Expected behavior**
31+
A clear and concise description of what you expected to happen.
32+
33+
**Screenshots**
34+
If applicable, add screenshots to help explain your problem.
35+
36+
**Details (please complete the following information):**
37+
- Type: [e.g. iPhone6, iPad, Mac]
38+
- OS: [e.g. iOS13.1]
39+
- AudioKit Version [e.g. 5.0]
40+
41+
**Additional context**
42+
Add any other context about the problem here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Assign yourself to this task**
20+
AudioKit maintainers are not here to do your work for you, so if you can assign yourself to the feature request, that would be ideal.
21+
22+
**Additional context**
23+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*REPLACE ALL OF THIS TEXT WITH A DESCRIPTION OF YOUR CODE CHANGES*
2+
3+
Try to make sure your changes conform to the [Swift API Design Guidelines](https://swift.org/documentation/api-design-guidelines/). If you have 40 minutes you'd like to have well-spent, watch [Modern Swift API Design](https://developer.apple.com/videos/play/wwdc2019/415/) from WWDC 2019.
4+
5+
Ready to send us a pull request? Please make sure your request is based on the a `develop` branch of the repository since `main` should only hold stable releases.

.github/workflows/build.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# GitHub Actions for SoundpipeAudioKit: includes builds, tests and releases
2+
name: CI
3+
4+
on: [push, pull_request]
5+
env:
6+
XCODE_VER: 12.4
7+
8+
jobs:
9+
test:
10+
strategy:
11+
matrix:
12+
xcode_version: ['12.4']
13+
runs-on: macos-latest
14+
env:
15+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
16+
steps:
17+
- name: Check out SoundpipeAudioKit
18+
uses: actions/checkout@v2
19+
- name: Build SoundpipeAudioKit
20+
run: |
21+
set -euo pipefail
22+
swift package clean
23+
swift build --sanitize="address"
24+
- name: Run Tests (ASAN)
25+
run: |
26+
set -euo pipefail
27+
xcodebuild -scheme SoundpipeAudioKit -enableAddressSanitizer YES test | xcpretty
28+
29+
# Generate Wiki docs on release
30+
docs:
31+
needs: test
32+
if: startsWith(github.ref, 'refs/tags/')
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Check out SoundpipeAudioKit
36+
uses: actions/checkout@v2
37+
- name: Generate Documentation
38+
uses: SwiftDocOrg/swift-doc@master
39+
with:
40+
inputs: "Sources"
41+
module-name: SoundpipeAudioKit
42+
output: "Documentation"
43+
- name: Upload Documentation to Wiki
44+
uses: SwiftDocOrg/github-wiki-publish-action@v1
45+
with:
46+
path: "Documentation"
47+
env:
48+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
49+

Package.resolved

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import PackageDescription
66
let package = Package(
77
name: "SoundpipeAudioKit",
88
platforms: [
9-
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13)
9+
.macOS(.v10_14), .iOS(.v13), .tvOS(.v13)
1010
],
1111
products: [
1212
// Products define the executables and libraries a package produces, and make them visible to other packages.
@@ -16,22 +16,40 @@ let package = Package(
1616
],
1717
dependencies: [
1818
// Dependencies declare other packages that this package depends on.
19-
.package(url: "https://github.com/AudioKit/Soundpipe", .branch("main")),
19+
.package(url: "https://github.com/AudioKit/KissFFT", .branch("main")),
2020
.package(url: "https://github.com/AudioKit/AudioKit", .branch("develop")),
2121
],
2222
targets: [
2323
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2424
// Targets can depend on other targets in this package, and on products in packages this package depends on.
25+
.target(name: "Soundpipe",
26+
dependencies: ["KissFFT"],
27+
exclude: [
28+
"lib/kissfft/COPYING",
29+
"lib/kissfft/README",
30+
"lib/inih/LICENSE.txt",
31+
],
32+
publicHeadersPath: "include",
33+
cSettings: [
34+
.headerSearchPath("lib/kissfft"),
35+
.headerSearchPath("lib/inih"),
36+
.headerSearchPath("Sources/soundpipe/lib/inih"),
37+
.headerSearchPath("modules"),
38+
.headerSearchPath("external")
39+
]),
2540
.target(
2641
name: "SoundpipeAudioKit",
2742
dependencies: ["AudioKit", "CSoundpipeAudioKit"]),
2843
.target(
2944
name: "CSoundpipeAudioKit",
30-
dependencies: ["AudioKit", "Soundpipe"]),
45+
dependencies: ["AudioKit", "Soundpipe"]),
3146
.testTarget(
3247
name: "SoundpipeAudioKitTests",
3348
dependencies: ["SoundpipeAudioKit"],
3449
resources: [.copy("TestResources/")]),
50+
.testTarget(
51+
name: "CSoundpipeAudioKitTests",
52+
dependencies: ["CSoundpipeAudioKit"]),
3553
],
3654
cxxLanguageStandard: .cxx14
3755
)

0 commit comments

Comments
 (0)