├── .gitignore
├── LICENSE
├── OF-AK-HelloWorld(OSX)
├── Makefile
├── OF-AK-HelloWorld.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ ├── OF-AK-HelloWorld Debug.xcscheme
│ │ └── OF-AK-HelloWorld Release.xcscheme
├── Project.xcconfig
├── addons.make
├── bin
│ ├── OF-AK-HelloWorldDebug.app
│ │ └── Contents
│ │ │ ├── Frameworks
│ │ │ ├── AudioKit.framework
│ │ │ │ ├── AudioKit
│ │ │ │ ├── Resources
│ │ │ │ └── Versions
│ │ │ │ │ ├── A
│ │ │ │ │ ├── AudioKit
│ │ │ │ │ └── Resources
│ │ │ │ │ │ ├── Info.plist
│ │ │ │ │ │ ├── Skeleton.aupreset
│ │ │ │ │ │ ├── fwavblnk.raw
│ │ │ │ │ │ ├── mand1.raw
│ │ │ │ │ │ ├── mand10.raw
│ │ │ │ │ │ ├── mand11.raw
│ │ │ │ │ │ ├── mand12.raw
│ │ │ │ │ │ ├── mand2.raw
│ │ │ │ │ │ ├── mand3.raw
│ │ │ │ │ │ ├── mand4.raw
│ │ │ │ │ │ ├── mand5.raw
│ │ │ │ │ │ ├── mand6.raw
│ │ │ │ │ │ ├── mand7.raw
│ │ │ │ │ │ ├── mand8.raw
│ │ │ │ │ │ ├── mand9.raw
│ │ │ │ │ │ ├── mandpluk.raw
│ │ │ │ │ │ └── sinewave.raw
│ │ │ │ │ └── Current
│ │ │ ├── GLUT.framework
│ │ │ │ ├── GLUT
│ │ │ │ ├── Headers
│ │ │ │ ├── Resources
│ │ │ │ └── Versions
│ │ │ │ │ ├── A
│ │ │ │ │ ├── GLUT
│ │ │ │ │ ├── Headers
│ │ │ │ │ │ ├── copy.h
│ │ │ │ │ │ ├── extrude.h
│ │ │ │ │ │ ├── glsmap.h
│ │ │ │ │ │ ├── glsmapint.h
│ │ │ │ │ │ ├── glut.h
│ │ │ │ │ │ ├── glutbitmap.h
│ │ │ │ │ │ ├── glutf90.h
│ │ │ │ │ │ ├── glutstroke.h
│ │ │ │ │ │ ├── gutil.h
│ │ │ │ │ │ ├── intersect.h
│ │ │ │ │ │ ├── port.h
│ │ │ │ │ │ ├── rot.h
│ │ │ │ │ │ ├── segment.h
│ │ │ │ │ │ ├── tube.h
│ │ │ │ │ │ ├── tube_gc.h
│ │ │ │ │ │ └── vvector.h
│ │ │ │ │ └── Resources
│ │ │ │ │ │ ├── Caution.tiff
│ │ │ │ │ │ ├── English.lproj
│ │ │ │ │ │ ├── GLUT.nib
│ │ │ │ │ │ │ └── objects.nib
│ │ │ │ │ │ ├── GLUTClipboard.nib
│ │ │ │ │ │ │ └── objects.nib
│ │ │ │ │ │ ├── GLUTPreferences.nib
│ │ │ │ │ │ │ └── objects.nib
│ │ │ │ │ │ ├── GLUTUI.strings
│ │ │ │ │ │ └── InfoPlist.strings
│ │ │ │ │ │ ├── Info.plist
│ │ │ │ │ │ ├── blankCursor.tiff
│ │ │ │ │ │ ├── bottomCursor.tiff
│ │ │ │ │ │ ├── bottomleftCursor.tiff
│ │ │ │ │ │ ├── bottomrightCursor.tiff
│ │ │ │ │ │ ├── crossCursor.tiff
│ │ │ │ │ │ ├── cycleCursor.tiff
│ │ │ │ │ │ ├── destroyCursor.tiff
│ │ │ │ │ │ ├── fingerCursor.tiff
│ │ │ │ │ │ ├── helpCursor.tiff
│ │ │ │ │ │ ├── leftCursor.tiff
│ │ │ │ │ │ ├── leftRightCursor.tiff
│ │ │ │ │ │ ├── rightArrowCursor.tiff
│ │ │ │ │ │ ├── rightCursor.tiff
│ │ │ │ │ │ ├── sprayCursor.tiff
│ │ │ │ │ │ ├── topCursor.tiff
│ │ │ │ │ │ ├── topleftCursor.tiff
│ │ │ │ │ │ ├── toprightCursor.tiff
│ │ │ │ │ │ ├── upDownCursor.tiff
│ │ │ │ │ │ └── waitCursor.tiff
│ │ │ │ │ └── Current
│ │ │ ├── libfmodex.dylib
│ │ │ ├── libswiftAVFoundation.dylib
│ │ │ ├── libswiftAccelerate.dylib
│ │ │ ├── libswiftAppKit.dylib
│ │ │ ├── libswiftCore.dylib
│ │ │ ├── libswiftCoreAudio.dylib
│ │ │ ├── libswiftCoreData.dylib
│ │ │ ├── libswiftCoreFoundation.dylib
│ │ │ ├── libswiftCoreGraphics.dylib
│ │ │ ├── libswiftCoreImage.dylib
│ │ │ ├── libswiftCoreMedia.dylib
│ │ │ ├── libswiftDarwin.dylib
│ │ │ ├── libswiftDispatch.dylib
│ │ │ ├── libswiftFoundation.dylib
│ │ │ ├── libswiftGLKit.dylib
│ │ │ ├── libswiftIOKit.dylib
│ │ │ ├── libswiftMetal.dylib
│ │ │ ├── libswiftObjectiveC.dylib
│ │ │ ├── libswiftQuartzCore.dylib
│ │ │ ├── libswiftXPC.dylib
│ │ │ ├── libswiftos.dylib
│ │ │ └── libswiftsimd.dylib
│ │ │ ├── Info.plist
│ │ │ ├── MacOS
│ │ │ └── OF-AK-HelloWorldDebug
│ │ │ ├── PkgInfo
│ │ │ └── Resources
│ │ │ ├── icon-debug.icns
│ │ │ └── libswiftRemoteMirror.dylib
│ ├── OF_AK_HelloWorldDebug.swiftmodule
│ │ ├── x86_64.swiftdoc
│ │ └── x86_64.swiftmodule
│ └── data
│ │ └── .gitkeep
├── config.make
├── openFrameworks-Info.plist
└── src
│ ├── AudioKit.framework
│ ├── AudioKit
│ ├── Headers
│ ├── Modules
│ ├── Resources
│ └── Versions
│ │ ├── A
│ │ ├── AudioKit
│ │ ├── Headers
│ │ │ ├── AKAmplitudeEnvelopeAudioUnit.h
│ │ │ ├── AKAmplitudeTrackerAudioUnit.h
│ │ │ ├── AKAudioUnit.h
│ │ │ ├── AKAutoWahAudioUnit.h
│ │ │ ├── AKBalancerAudioUnit.h
│ │ │ ├── AKBandPassButterworthFilterAudioUnit.h
│ │ │ ├── AKBandRejectButterworthFilterAudioUnit.h
│ │ │ ├── AKBankAudioUnit.h
│ │ │ ├── AKBitCrusherAudioUnit.h
│ │ │ ├── AKBoosterAudioUnit.h
│ │ │ ├── AKBrownianNoiseAudioUnit.h
│ │ │ ├── AKChowningReverbAudioUnit.h
│ │ │ ├── AKClarinetAudioUnit.h
│ │ │ ├── AKClipperAudioUnit.h
│ │ │ ├── AKCombFilterReverbAudioUnit.h
│ │ │ ├── AKConvolutionAudioUnit.h
│ │ │ ├── AKCostelloReverbAudioUnit.h
│ │ │ ├── AKDCBlockAudioUnit.h
│ │ │ ├── AKDripAudioUnit.h
│ │ │ ├── AKDynaRageCompressorAudioUnit.h
│ │ │ ├── AKDynamicRangeCompressorAudioUnit.h
│ │ │ ├── AKEqualizerFilterAudioUnit.h
│ │ │ ├── AKFMOscillatorAudioUnit.h
│ │ │ ├── AKFMOscillatorBankAudioUnit.h
│ │ │ ├── AKFlatFrequencyResponseReverbAudioUnit.h
│ │ │ ├── AKFluteAudioUnit.h
│ │ │ ├── AKFormantFilterAudioUnit.h
│ │ │ ├── AKFrequencyTrackerAudioUnit.h
│ │ │ ├── AKHighPassButterworthFilterAudioUnit.h
│ │ │ ├── AKHighShelfParametricEqualizerFilterAudioUnit.h
│ │ │ ├── AKKorgLowPassFilterAudioUnit.h
│ │ │ ├── AKLazyTap.h
│ │ │ ├── AKLowPassButterworthFilterAudioUnit.h
│ │ │ ├── AKLowShelfParametricEqualizerFilterAudioUnit.h
│ │ │ ├── AKMandolinAudioUnit.h
│ │ │ ├── AKMetalBarAudioUnit.h
│ │ │ ├── AKMicrophoneTrackerEngine.h
│ │ │ ├── AKModalResonanceFilterAudioUnit.h
│ │ │ ├── AKMoogLadderAudioUnit.h
│ │ │ ├── AKMorphingOscillatorAudioUnit.h
│ │ │ ├── AKMorphingOscillatorBankAudioUnit.h
│ │ │ ├── AKOfflineRenderAudioUnit.h
│ │ │ ├── AKOperationEffectAudioUnit.h
│ │ │ ├── AKOperationGeneratorAudioUnit.h
│ │ │ ├── AKOscillatorAudioUnit.h
│ │ │ ├── AKOscillatorBankAudioUnit.h
│ │ │ ├── AKPWMOscillatorAudioUnit.h
│ │ │ ├── AKPWMOscillatorBankAudioUnit.h
│ │ │ ├── AKPannerAudioUnit.h
│ │ │ ├── AKPeakingParametricEqualizerFilterAudioUnit.h
│ │ │ ├── AKPhaseDistortionOscillatorAudioUnit.h
│ │ │ ├── AKPhaseDistortionOscillatorBankAudioUnit.h
│ │ │ ├── AKPhaseLockedVocoderAudioUnit.h
│ │ │ ├── AKPhaserAudioUnit.h
│ │ │ ├── AKPinkNoiseAudioUnit.h
│ │ │ ├── AKPitchShifterAudioUnit.h
│ │ │ ├── AKPluckedStringAudioUnit.h
│ │ │ ├── AKPresetManager.h
│ │ │ ├── AKRenderTap.h
│ │ │ ├── AKResonantFilterAudioUnit.h
│ │ │ ├── AKRhinoGuitarProcessorAudioUnit.h
│ │ │ ├── AKRhodesPianoAudioUnit.h
│ │ │ ├── AKRolandTB303FilterAudioUnit.h
│ │ │ ├── AKSamplePlayerAudioUnit.h
│ │ │ ├── AKSamplerMetronome.h
│ │ │ ├── AKShakerAudioUnit.h
│ │ │ ├── AKSporthStack.h
│ │ │ ├── AKStereoFieldLimiterAudioUnit.h
│ │ │ ├── AKStringResonatorAudioUnit.h
│ │ │ ├── AKTanhDistortionAudioUnit.h
│ │ │ ├── AKTesterAudioUnit.h
│ │ │ ├── AKThreePoleLowpassFilterAudioUnit.h
│ │ │ ├── AKTimeline.h
│ │ │ ├── AKTimelineTap.h
│ │ │ ├── AKToneComplementFilterAudioUnit.h
│ │ │ ├── AKToneFilterAudioUnit.h
│ │ │ ├── AKTremoloAudioUnit.h
│ │ │ ├── AKTubularBellsAudioUnit.h
│ │ │ ├── AKVariableDelayAudioUnit.h
│ │ │ ├── AKVocalTractAudioUnit.h
│ │ │ ├── AKWhiteNoiseAudioUnit.h
│ │ │ ├── AKZitaReverbAudioUnit.h
│ │ │ ├── AudioKit-Swift.h
│ │ │ ├── AudioKit.h
│ │ │ ├── EZAudio.h
│ │ │ ├── EZAudioDevice.h
│ │ │ ├── EZAudioFFT.h
│ │ │ ├── EZAudioFile.h
│ │ │ ├── EZAudioFileMarker.h
│ │ │ ├── EZAudioFloatConverter.h
│ │ │ ├── EZAudioFloatData.h
│ │ │ ├── EZAudioPlayer.h
│ │ │ ├── EZAudioUtilities.h
│ │ │ ├── EZMicrophone.h
│ │ │ ├── EZOutput.h
│ │ │ ├── EZRecorder.h
│ │ │ ├── TPCircularBuffer+AudioBufferList.h
│ │ │ ├── TPCircularBuffer+Unit.h
│ │ │ └── TPCircularBuffer.h
│ │ ├── Modules
│ │ │ ├── AudioKit.swiftmodule
│ │ │ │ ├── x86_64.swiftdoc
│ │ │ │ └── x86_64.swiftmodule
│ │ │ └── module.modulemap
│ │ └── Resources
│ │ │ ├── Info.plist
│ │ │ ├── Skeleton.aupreset
│ │ │ ├── fwavblnk.raw
│ │ │ ├── mand1.raw
│ │ │ ├── mand10.raw
│ │ │ ├── mand11.raw
│ │ │ ├── mand12.raw
│ │ │ ├── mand2.raw
│ │ │ ├── mand3.raw
│ │ │ ├── mand4.raw
│ │ │ ├── mand5.raw
│ │ │ ├── mand6.raw
│ │ │ ├── mand7.raw
│ │ │ ├── mand8.raw
│ │ │ ├── mand9.raw
│ │ │ ├── mandpluk.raw
│ │ │ └── sinewave.raw
│ │ └── Current
│ ├── OscillatorInstrument.swift
│ ├── main.mm
│ ├── ofApp.h
│ └── ofApp.mm
├── README.md
└── tutorialImages
├── AudioKitFrameworkSearchPath.png
├── LICENSE
├── akProject.png
├── copiedFramework.png
├── cpp.png
├── deploymentTarget.png
├── embeddedBinaries.png
├── frameworkPath.png
├── frameworkSearchPaths.png
├── generalTab.png
├── interfaceHeader.png
├── mm.png
├── myApps.png
├── ofInstall.png
└── oscillatorCreation.png
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata
19 |
20 | ## Other
21 | *.xccheckout
22 | *.moved-aside
23 | *.xcuserstate
24 | *.xcscmblueprint
25 |
26 | ## Obj-C/Swift specific
27 | *.hmap
28 | *.ipa
29 |
30 | # CocoaPods
31 | #
32 | # We recommend against adding the Pods directory to your .gitignore. However
33 | # you should judge for yourself, the pros and cons are mentioned at:
34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
35 | #
36 | # Pods/
37 |
38 | # Carthage
39 | #
40 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
41 | # Carthage/Checkouts
42 |
43 | Carthage/Build
44 |
45 | # fastlane
46 | #
47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
48 | # screenshots whenever they are needed.
49 | # For more information about the recommended setup visit:
50 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
51 |
52 | fastlane/report.xml
53 | fastlane/screenshots
54 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016 Nicholas Arner
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/Makefile:
--------------------------------------------------------------------------------
1 | # Attempt to load a config.make file.
2 | # If none is found, project defaults in config.project.make will be used.
3 | ifneq ($(wildcard config.make),)
4 | include config.make
5 | endif
6 |
7 | # make sure the the OF_ROOT location is defined
8 | ifndef OF_ROOT
9 | OF_ROOT=$(realpath ../../../..)
10 | endif
11 |
12 | # call the project makefile!
13 | include $(OF_ROOT)/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk
14 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/OF-AK-HelloWorld.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/OF-AK-HelloWorld.xcodeproj/xcshareddata/xcschemes/OF-AK-HelloWorld Debug.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/OF-AK-HelloWorld.xcodeproj/xcshareddata/xcschemes/OF-AK-HelloWorld Release.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/Project.xcconfig:
--------------------------------------------------------------------------------
1 | //THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT.
2 | //THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED
3 | OF_PATH = ../../../..
4 |
5 | //THIS HAS ALL THE HEADER AND LIBS FOR OF CORE
6 | #include "../../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig"
7 |
8 | //ICONS - NEW IN 0072
9 | ICON_NAME_DEBUG = icon-debug.icns
10 | ICON_NAME_RELEASE = icon.icns
11 | ICON_FILE_PATH = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/
12 |
13 | //IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to:
14 | //ICON_FILE_PATH = bin/data/
15 |
16 | OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OF_CORE_FRAMEWORKS)
17 | HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/addons.make:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/addons.make
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/AudioKit:
--------------------------------------------------------------------------------
1 | Versions/Current/AudioKit
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Resources:
--------------------------------------------------------------------------------
1 | Versions/Current/Resources
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/AudioKit:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/AudioKit
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 16G29
7 | CFBundleDevelopmentRegion
8 | en
9 | CFBundleExecutable
10 | AudioKit
11 | CFBundleIdentifier
12 | io.audiokit.AudioKit
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | AudioKit
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 4.0
21 | CFBundleSignature
22 | ????
23 | CFBundleSupportedPlatforms
24 |
25 | MacOSX
26 |
27 | CFBundleVersion
28 | 1
29 | DTCompiler
30 | com.apple.compilers.llvm.clang.1_0
31 | DTPlatformBuild
32 | 9A235
33 | DTPlatformVersion
34 | GM
35 | DTSDKBuild
36 | 17A360
37 | DTSDKName
38 | macosx10.13
39 | DTXcode
40 | 0900
41 | DTXcodeBuild
42 | 9A235
43 | NSHumanReadableCopyright
44 | Copyright © 2016 AudioKit. All rights reserved.
45 |
46 |
47 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/fwavblnk.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/fwavblnk.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand1.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand1.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand10.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand10.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand11.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand11.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand12.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand12.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand2.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand2.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand3.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand3.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand4.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand4.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand5.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand5.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand6.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand6.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand7.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand7.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand8.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand8.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand9.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mand9.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mandpluk.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/mandpluk.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/sinewave.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/A/Resources/sinewave.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/AudioKit.framework/Versions/Current:
--------------------------------------------------------------------------------
1 | A
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/GLUT:
--------------------------------------------------------------------------------
1 | Versions/Current/GLUT
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Headers:
--------------------------------------------------------------------------------
1 | Versions/Current/Headers
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Resources:
--------------------------------------------------------------------------------
1 | Versions/Current/Resources
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/GLUT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/GLUT
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/copy.h:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | *
4 | * Written By Linas Vepstas November 1991
5 | */
6 |
7 |
8 | #define COPY_THREE_WORDS(A,B) { \
9 | struct three_words { int a, b, c, }; \
10 | *(struct three_words *) (A) = *(struct three_words *) (B); \
11 | }
12 |
13 | #define COPY_FOUR_WORDS(A,B) { \
14 | struct four_words { int a, b, c, d, }; \
15 | *(struct four_words *) (A) = *(struct four_words *) (B); \
16 | }
17 |
18 | /* ============================================================= */
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/extrude.h:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | * extrude.h
4 | *
5 | * FUNCTION:
6 | * prototypes for privately used subroutines for the tubing library
7 | *
8 | * HISTORY:
9 | * Linas Vepstas 1991
10 | */
11 |
12 | #include "port.h" /* for gleDouble */
13 |
14 | #ifndef M_PI
15 | #define M_PI 3.14159265358979323846
16 | #endif
17 |
18 | /* ============================================================ */
19 | /*
20 | * Provides choice of calling subroutine, vs. invoking macro.
21 | * Basically, inlines the source, or not.
22 | * Trades performance for executable size.
23 | */
24 |
25 | #define INLINE_INTERSECT
26 | #ifdef INLINE_INTERSECT
27 | #define INNERSECT(sect,p,n,v1,v2) { INTERSECT(sect,p,n,v1,v2); }
28 | #else
29 | #define INNERSECT(sect,p,n,v1,v2) intersect(sect,p,n,v1,v2)
30 | #endif /* INLINE_INTERSECT */
31 |
32 | /* ============================================================ */
33 | /* The folowing defines give a kludgy way of accessing the qmesh primitive */
34 |
35 | /*
36 | #define bgntmesh _emu_qmesh_bgnqmesh
37 | #define endtmesh _emu_qmesh_endqmesh
38 | #define c3f _emu_qmesh_c3f
39 | #define n3f _emu_qmesh_n3f
40 | #define v3f _emu_qmesh_v3f
41 | */
42 |
43 | /* ============================================================ */
44 |
45 | extern void up_sanity_check (gleDouble up[3], /* up vector for contour */
46 | int npoints, /* numpoints in poly-line */
47 | gleDouble point_array[][3]); /* polyline */
48 |
49 |
50 | extern void draw_raw_style_end_cap (int ncp, /* number of contour points */
51 | gleDouble contour[][2], /* 2D contour */
52 | gleDouble zval, /* where to draw cap */
53 | int frontwards); /* front or back cap */
54 |
55 | extern void draw_round_style_cap_callback (int iloop,
56 | double cap[][3],
57 | float face_color[3],
58 | gleDouble cut_vector[3],
59 | gleDouble bisect_vector[3],
60 | double norms[][3],
61 | int frontwards);
62 |
63 | extern void draw_angle_style_front_cap (int ncp,
64 | gleDouble bi[3],
65 | gleDouble point_array[][3]);
66 |
67 | extern void extrusion_raw_join (int ncp, /* number of contour points */
68 | gleDouble contour[][2], /* 2D contour */
69 | gleDouble cont_normal[][2],/* 2D contour normal vecs */
70 | gleDouble up[3], /* up vector for contour */
71 | int npoints, /* numpoints in poly-line */
72 | gleDouble point_array[][3], /* polyline */
73 | float color_array[][3], /* color of polyline */
74 | gleDouble xform_array[][2][3]); /* 2D contour xforms */
75 |
76 |
77 | extern void extrusion_round_or_cut_join (int ncp, /* number of contour points */
78 | gleDouble contour[][2], /* 2D contour */
79 | gleDouble cont_normal[][2],/* 2D contour normal vecs */
80 | gleDouble up[3], /* up vector for contour */
81 | int npoints, /* numpoints in poly-line */
82 | gleDouble point_array[][3], /* polyline */
83 | float color_array[][3], /* color of polyline */
84 | gleDouble xform_array[][2][3]); /* 2D contour xforms */
85 |
86 |
87 | extern void extrusion_angle_join (int ncp, /* number of contour points */
88 | gleDouble contour[][2], /* 2D contour */
89 | gleDouble cont_normal[][2],/* 2D contour normal vecs */
90 | gleDouble up[3], /* up vector for contour */
91 | int npoints, /* numpoints in poly-line */
92 | gleDouble point_array[][3], /* polyline */
93 | float color_array[][3], /* color of polyline */
94 | gleDouble xform_array[][2][3]); /* 2D contour xforms */
95 |
96 | /* -------------------------- end of file -------------------------------- */
97 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glsmap.h:
--------------------------------------------------------------------------------
1 | #ifndef __glsmap_h__
2 | #define __glsmap_h__
3 |
4 | /* Copyright (c) Mark J. Kilgard, 1998. */
5 |
6 | /* This program is freely distributable without licensing fees
7 | and is provided without guarantee or warrantee expressed or
8 | implied. This program is -not- in the public domain. */
9 |
10 | #if defined(_WIN32)
11 |
12 | /* Try hard to avoid including to avoid name space pollution,
13 | but Win32's needs APIENTRY and WINGDIAPI defined properly. */
14 | # if 0
15 | # define WIN32_LEAN_AND_MEAN
16 | # include
17 | # else
18 | /* XXX This is from Win32's */
19 | # ifndef APIENTRY
20 | # if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
21 | # define APIENTRY __stdcall
22 | # else
23 | # define APIENTRY
24 | # endif
25 | # endif
26 | # ifndef CALLBACK
27 | /* XXX This is from Win32's */
28 | # if (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
29 | # define CALLBACK __stdcall
30 | # else
31 | # define CALLBACK
32 | # endif
33 | # endif
34 | /* XXX This is from Win32's and */
35 | # ifndef WINGDIAPI
36 | # define WINGDIAPI __declspec(dllimport)
37 | # endif
38 | /* XXX This is from Win32's */
39 | # ifndef _WCHAR_T_DEFINED
40 | typedef unsigned short wchar_t;
41 | # define _WCHAR_T_DEFINED
42 | # endif
43 | # endif
44 |
45 | #pragma warning (disable:4244) /* Disable bogus conversion warnings. */
46 | #pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */
47 |
48 | #endif /* _WIN32 */
49 |
50 | #include
51 |
52 | #ifdef __cplusplus
53 | extern "C" {
54 | #endif
55 |
56 | typedef enum {
57 | SMAP_CLEAR_SMAP_TEXTURE = 0x1,
58 | SMAP_GENERATE_VIEW_MIPMAPS = 0x2,
59 | SMAP_GENERATE_SMAP_MIPMAPS = 0x4,
60 | SMAP_GENERATE_MIPMAPS = 0x6 /* both of above */
61 | } SphereMapFlags;
62 |
63 | /* Cube view enumerants. */
64 | enum {
65 | SMAP_FRONT = 0,
66 | SMAP_TOP = 1,
67 | SMAP_BOTTOM = 2,
68 | SMAP_LEFT = 3,
69 | SMAP_RIGHT = 4,
70 | SMAP_BACK = 5
71 | };
72 |
73 | typedef struct _SphereMap SphereMap;
74 |
75 | extern SphereMap *smapCreateSphereMap(SphereMap *shareSmap);
76 | extern void smapDestroySphereMap(SphereMap *smap);
77 |
78 | extern void smapConfigureSphereMapMesh(SphereMap *smap, int steps, int rings, int edgeExtend);
79 |
80 | extern void smapSetSphereMapTexObj(SphereMap *smap, GLuint texobj);
81 | extern void smapSetViewTexObj(SphereMap *smap, GLuint texobj);
82 | extern void smapSetViewTexObjs(SphereMap *smap, GLuint texobjs[6]);
83 | extern void smapGetSphereMapTexObj(SphereMap *smap, GLuint *texobj);
84 | extern void smapGetViewTexObj(SphereMap *smap, GLuint *texobj);
85 | extern void smapGetViewTexObjs(SphereMap *smap, GLuint texobjs[6]);
86 |
87 | extern void smapSetFlags(SphereMap *smap, SphereMapFlags flags);
88 | extern void smapGetFlags(SphereMap *smap, SphereMapFlags *flags);
89 |
90 | extern void smapSetViewOrigin(SphereMap *smap, GLint x, GLint y);
91 | extern void smapSetSphereMapOrigin(SphereMap *smap, GLint x, GLint y);
92 | extern void smapGetViewOrigin(SphereMap *smap, GLint *x, GLint *y);
93 | extern void smapGetSphereMapOrigin(SphereMap *smap, GLint *x, GLint *y);
94 |
95 | extern void smapSetEye(SphereMap *smap, GLfloat eyex, GLfloat eyey, GLfloat eyez);
96 | extern void smapSetEyeVector(SphereMap *smap, GLfloat *eye);
97 | extern void smapSetUp(SphereMap *smap, GLfloat upx, GLfloat upy, GLfloat upz);
98 | extern void smapSetUpVector(SphereMap *smap, GLfloat *up);
99 | extern void smapSetObject(SphereMap *smap, GLfloat objx, GLfloat objy, GLfloat objz);
100 | extern void smapSetObjectVector(SphereMap *smap, GLfloat *obj);
101 | extern void smapGetEye(SphereMap *smap, GLfloat *eyex, GLfloat *eyey, GLfloat *eyez);
102 | extern void smapGetEyeVector(SphereMap *smap, GLfloat *eye);
103 | extern void smapGetUp(SphereMap *smap, GLfloat *upx, GLfloat *upy, GLfloat *upz);
104 | extern void smapGetUpVector(SphereMap *smap, GLfloat *up);
105 | extern void smapGetObject(SphereMap *smap, GLfloat *objx, GLfloat *objy, GLfloat *objz);
106 | extern void smapGetObjectVector(SphereMap *smap, GLfloat *obj);
107 |
108 | extern void smapSetNearFar(SphereMap *smap, GLfloat viewNear, GLfloat viewFar);
109 | extern void smapGetNearFar(SphereMap *smap, GLfloat *viewNear, GLfloat *viewFar);
110 |
111 | extern void smapSetSphereMapTexDim(SphereMap *smap, GLsizei texdim);
112 | extern void smapSetViewTexDim(SphereMap *smap, GLsizei texdim);
113 | extern void smapGetSphereMapTexDim(SphereMap *smap, GLsizei *texdim);
114 | extern void smapGetViewTexDim(SphereMap *smap, GLsizei *texdim);
115 |
116 | extern void smapSetContextData(SphereMap *smap, void *context);
117 | extern void smapGetContextData(SphereMap *smap, void **context);
118 |
119 | extern void smapSetPositionLightsFunc(SphereMap *smap, void (*positionLights)(int view, void *context));
120 | extern void smapSetDrawViewFunc(SphereMap *smap, void (*drawView)(int view, void *context));
121 | extern void smapGetPositionLightsFunc(SphereMap *smap, void (**positionLights)(int view, void *context));
122 | extern void smapGetDrawViewFunc(SphereMap *smap, void (**drawView)(int view, void *context));
123 |
124 | extern void smapGenViewTex(SphereMap *smap, int view);
125 | extern void smapGenViewTexs(SphereMap *smap);
126 | extern void smapGenSphereMapFromViewTexs(SphereMap *smap);
127 | extern void smapGenSphereMap(SphereMap *smap);
128 | extern void smapGenSphereMapWithOneViewTex(SphereMap *smap);
129 |
130 | extern int smapRvecToSt(float rvec[3], float st[2]);
131 | extern void smapStToRvec(float *st, float *rvec);
132 |
133 | #ifdef __cplusplus
134 | }
135 |
136 | #endif
137 | #endif /* __glsmap_h__ */
138 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glsmapint.h:
--------------------------------------------------------------------------------
1 | #ifndef __glsmapint_h__
2 | #define __glsmapint_h__
3 |
4 | /* Copyright (c) Mark J. Kilgard, 1998. */
5 |
6 | /* This program is freely distributable without licensing fees
7 | and is provided without guarantee or warrantee expressed or
8 | implied. This program is -not- in the public domain. */
9 |
10 | #include "glsmap.h"
11 |
12 | enum { X = 0, Y = 1, Z = 2 };
13 |
14 | #define INITFACE(mesh) \
15 | int steps = mesh->steps; \
16 | int sqsteps = mesh->steps * mesh->steps
17 |
18 | #define FACE(side,y,x) \
19 | mesh->face[(side)*sqsteps + (y)*steps + (x)]
20 |
21 | #define FACExy(side,i,j) \
22 | (&FACE(side,i,j).x)
23 |
24 | #define FACEst(side,i,j) \
25 | (&FACE(side,i,j).s)
26 |
27 | #define INITBACK(mesh) \
28 | int allrings = mesh->rings + mesh->edgeExtend; \
29 | int ringedspokes = allrings * mesh->steps
30 |
31 | #define BACK(edge,ring,spoke) \
32 | mesh->back[(edge)*ringedspokes + (ring)*mesh->steps + (spoke)]
33 |
34 | #define BACKxy(edge,ring,spoke) \
35 | (&BACK(edge,ring,spoke).x)
36 |
37 | #define BACKst(edge,ring,spoke) \
38 | (&BACK(edge,ring,spoke).s)
39 |
40 | typedef struct _STXY {
41 | GLfloat s, t;
42 | GLfloat x, y;
43 | } STXY;
44 |
45 | typedef struct _SphereMapMesh {
46 |
47 | int refcnt;
48 |
49 | int steps;
50 | int rings;
51 | int edgeExtend;
52 |
53 | STXY *face;
54 | STXY *back;
55 |
56 | } SphereMapMesh;
57 |
58 | struct _SphereMap {
59 |
60 | /* Shared sphere map mesh vertex data. */
61 | SphereMapMesh *mesh;
62 |
63 | /* Texture object ids. */
64 | GLuint smapTexObj;
65 | GLuint viewTexObjs[6];
66 | GLuint viewTexObj;
67 |
68 | /* Flags */
69 | SphereMapFlags flags;
70 |
71 | /* Texture dimensions must be a power of two. */
72 | int viewTexDim; /* view texture dimension */
73 | int smapTexDim; /* sphere map texture dimension */
74 |
75 | /* Viewport origins for view and sphere map rendering. */
76 | int viewOrigin[2];
77 | int smapOrigin[2];
78 |
79 | /* Viewing vectors. */
80 | GLfloat eye[3];
81 | GLfloat up[3];
82 | GLfloat obj[3];
83 |
84 | /* Projection parameters. */
85 | GLfloat viewNear;
86 | GLfloat viewFar;
87 |
88 | /* Rendering callbacks. */
89 | void (*positionLights)(int view, void *context);
90 | void (*drawView)(int view, void *context);
91 |
92 | /* Application specified callback data. */
93 | void *context;
94 |
95 | };
96 |
97 | /* Library internal routines. */
98 | extern void __smapDrawSphereMapMeshSide(SphereMapMesh *mesh, int side);
99 | extern void __smapDrawSphereMapMeshBack(SphereMapMesh *mesh);
100 | extern void __smapValidateSphereMapMesh(SphereMapMesh *mesh);
101 |
102 | #endif /* __glsmapint_h__ */
103 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glutbitmap.h:
--------------------------------------------------------------------------------
1 | #ifndef __glutbitmap_h__
2 | #define __glutbitmap_h__
3 |
4 | /* Copyright (c) Mark J. Kilgard, 1994. */
5 |
6 | /* This program is freely distributable without licensing fees
7 | and is provided without guarantee or warrantee expressed or
8 | implied. This program is -not- in the public domain. */
9 |
10 | #include "glut.h"
11 |
12 | typedef struct {
13 | const GLsizei width;
14 | const GLsizei height;
15 | const GLfloat xorig;
16 | const GLfloat yorig;
17 | const GLfloat advance;
18 | const GLubyte *bitmap;
19 | } BitmapCharRec, *BitmapCharPtr;
20 |
21 | typedef struct {
22 | const char *name;
23 | const int num_chars;
24 | const int first;
25 | const BitmapCharRec * const *ch;
26 | } BitmapFontRec, *BitmapFontPtr;
27 |
28 | typedef void *GLUTbitmapFont;
29 |
30 | #endif /* __glutbitmap_h__ */
31 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glutf90.h:
--------------------------------------------------------------------------------
1 | #ifndef __glutf90_h__
2 | #define __glutf90_h__
3 |
4 | /* Copyright (c) Mark J. Kilgard & Willam F. Mitchell, 1998. */
5 |
6 | /* This program is freely distributable without licensing fees
7 | and is provided without guarantee or warrantee expressed or
8 | implied. This program is -not- in the public domain. */
9 |
10 | /* This header provides the binding interface for William Mitchell's
11 | f90gl Fortran 90 GLUT binding. Other GLUT language bindings
12 | can and should use this interace. */
13 |
14 | /* I appreciate the guidance from William Mitchell
15 | (mitchell@cam.nist.gov) in developing this friend interface
16 | for use by the f90gl package. See ../../README.fortran */
17 |
18 | #include
19 |
20 | #ifndef GLUTCALLBACK
21 | #define GLUTCALLBACK
22 | #endif
23 | #ifndef APIENTRY
24 | #define APIENTRY
25 | #endif
26 |
27 | /* Which callback enumerants for the __glutSetFCB/__glutGetFCB routines. */
28 | /* NOTE These values are part of a binary interface for the f90gl Fortran
29 | 90 binding and so must NOT changes (additions are allowed). */
30 |
31 | /* GLUTwindow callbacks. */
32 | #define GLUT_FCB_DISPLAY 0 /* GLUTdisplayFCB */
33 | #define GLUT_FCB_RESHAPE 1 /* GLUTreshapeFCB */
34 | #define GLUT_FCB_MOUSE 2 /* GLUTmouseFCB */
35 | #define GLUT_FCB_MOTION 3 /* GLUTmotionFCB */
36 | #define GLUT_FCB_PASSIVE 4 /* GLUTpassiveFCB */
37 | #define GLUT_FCB_ENTRY 5 /* GLUTentryFCB */
38 | #define GLUT_FCB_KEYBOARD 6 /* GLUTkeyboardFCB */
39 | #define GLUT_FCB_KEYBOARD_UP 7 /* GLUTkeyboardFCB */
40 | #define GLUT_FCB_WINDOW_STATUS 8 /* GLUTwindowStatusFCB */
41 | #define GLUT_FCB_VISIBILITY 9 /* GLUTvisibilityFCB */
42 | #define GLUT_FCB_SPECIAL 10 /* GLUTspecialFCB */
43 | #define GLUT_FCB_SPECIAL_UP 11 /* GLUTspecialFCB */
44 | #define GLUT_FCB_BUTTON_BOX 12 /* GLUTbuttonBoxFCB */
45 | #define GLUT_FCB_DIALS 13 /* GLUTdialsFCB */
46 | #define GLUT_FCB_SPACE_MOTION 14 /* GLUTspaceMotionFCB */
47 | #define GLUT_FCB_SPACE_ROTATE 15 /* GLUTspaceRotateFCB */
48 | #define GLUT_FCB_SPACE_BUTTON 16 /* GLUTspaceButtonFCB */
49 | #define GLUT_FCB_TABLET_MOTION 17 /* GLUTtabletMotionFCB */
50 | #define GLUT_FCB_TABLET_BUTTON 18 /* GLUTtabletButtonFCB */
51 | #define GLUT_FCB_JOYSTICK 19 /* GLUTjoystickFCB */
52 | #define GLUT_FCB_WMCLOSE 20 /* GLUTwmcloseFCB */
53 | /* Non-GLUTwindow callbacks. */
54 | #define GLUT_FCB_OVERLAY_DISPLAY 100 /* GLUTdisplayFCB */
55 | #define GLUT_FCB_SELECT 101 /* GLUTselectFCB */
56 | #define GLUT_FCB_TIMER 102 /* GLUTtimerFCB */
57 |
58 | /* GLUT Fortran callback function types. */
59 | typedef void (GLUTCALLBACK *GLUTdisplayFCB) (void);
60 | typedef void (GLUTCALLBACK *GLUTwmcloseFCB) (void);
61 | typedef void (GLUTCALLBACK *GLUTreshapeFCB) (int *, int *);
62 | /* NOTE the pressed key is int, not unsigned char for Fortran! */
63 | typedef void (GLUTCALLBACK *GLUTkeyboardFCB) (int *, int *, int *);
64 | typedef void (GLUTCALLBACK *GLUTmouseFCB) (int *, int *, int *, int *);
65 | typedef void (GLUTCALLBACK *GLUTmotionFCB) (int *, int *);
66 | typedef void (GLUTCALLBACK *GLUTpassiveFCB) (int *, int *);
67 | typedef void (GLUTCALLBACK *GLUTentryFCB) (int *);
68 | typedef void (GLUTCALLBACK *GLUTwindowStatusFCB) (int *);
69 | typedef void (GLUTCALLBACK *GLUTvisibilityFCB) (int *);
70 | typedef void (GLUTCALLBACK *GLUTspecialFCB) (int *, int *, int *);
71 | typedef void (GLUTCALLBACK *GLUTbuttonBoxFCB) (int *, int *);
72 | typedef void (GLUTCALLBACK *GLUTdialsFCB) (int *, int *);
73 | typedef void (GLUTCALLBACK *GLUTspaceMotionFCB) (int *, int *, int *);
74 | typedef void (GLUTCALLBACK *GLUTspaceRotateFCB) (int *, int *, int *);
75 | typedef void (GLUTCALLBACK *GLUTspaceButtonFCB) (int *, int *);
76 | typedef void (GLUTCALLBACK *GLUTtabletMotionFCB) (int *, int *);
77 | typedef void (GLUTCALLBACK *GLUTtabletButtonFCB) (int *, int *, int *, int *);
78 | typedef void (GLUTCALLBACK *GLUTjoystickFCB) (unsigned int *buttonMask, int *x, int *y, int *z);
79 |
80 | typedef void (GLUTCALLBACK *GLUTselectFCB) (int *);
81 | typedef void (GLUTCALLBACK *GLUTtimerFCB) (int *);
82 | typedef void (GLUTCALLBACK *GLUTmenuStateFCB) (int *); /* DEPRICATED. */
83 | typedef void (GLUTCALLBACK *GLUTmenuStatusFCB) (int *, int *, int *);
84 | typedef void (GLUTCALLBACK *GLUTidleFCB) (void);
85 |
86 | /* Functions that set and return Fortran callback functions. */
87 | extern void* APIENTRY __glutGetFCB(int which);
88 | extern void APIENTRY __glutSetFCB(int which, void *func);
89 |
90 | #endif /* __glutf90_h__ */
91 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glutstroke.h:
--------------------------------------------------------------------------------
1 | #ifndef __glutstroke_h__
2 | #define __glutstroke_h__
3 |
4 | /* Copyright (c) Mark J. Kilgard, 1994. */
5 |
6 | /* This program is freely distributable without licensing fees
7 | and is provided without guarantee or warrantee expressed or
8 | implied. This program is -not- in the public domain. */
9 |
10 | #if defined(_WIN32)
11 | #pragma warning (disable:4244) /* disable bogus conversion warnings */
12 | #pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */
13 | #endif
14 |
15 | typedef struct {
16 | float x;
17 | float y;
18 | } CoordRec, *CoordPtr;
19 |
20 | typedef struct {
21 | int num_coords;
22 | const CoordRec *coord;
23 | } StrokeRec, *StrokePtr;
24 |
25 | typedef struct {
26 | int num_strokes;
27 | const StrokeRec *stroke;
28 | float center;
29 | float right;
30 | } StrokeCharRec, *StrokeCharPtr;
31 |
32 | typedef struct {
33 | const char *name;
34 | int num_chars;
35 | const StrokeCharRec *ch;
36 | float top;
37 | float bottom;
38 | } StrokeFontRec, *StrokeFontPtr;
39 |
40 | typedef void *GLUTstrokeFont;
41 |
42 | #endif /* __glutstroke_h__ */
43 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/gutil.h:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | * gutil.h
4 | *
5 | * FUNCTION:
6 | * Provide utilities that allow rotation to occur
7 | * around any axis.
8 | *
9 | * HISTORY:
10 | * created by Linas Vepstas 1990
11 | * added single & double precision, June 1991, Linas Vepstas
12 | */
13 |
14 | #ifndef __GUTIL_H__
15 | #define __GUTIL_H__
16 |
17 | #ifdef __GUTIL_DOUBLE
18 | #define gutDouble double
19 | #else
20 | #define gutDouble float
21 | #endif
22 |
23 |
24 | #ifdef _NO_PROTO /* NO ANSI C PROTOTYPING */
25 |
26 | /* Rotation Utilities */
27 | extern void rot_axis_f ();
28 | extern void rot_about_axis_f ();
29 | extern void rot_omega_f ();
30 | extern void urot_axis_f ();
31 | extern void urot_about_axis_f ();
32 | extern void urot_omega_f ();
33 |
34 | /* double-precision versions */
35 | extern void rot_axis_d ();
36 | extern void rot_about_axis_d ();
37 | extern void rot_omega_d ();
38 | extern void urot_axis_d ();
39 | extern void urot_about_axis_d ();
40 | extern void urot_omega_d ();
41 |
42 | /* viewpoint functions */
43 | extern void uview_direction_d ();
44 | extern void uview_direction_f ();
45 | extern void uviewpoint_d ();
46 | extern void uviewpoint_f ();
47 |
48 | #else /* _NO_PROTO */ /* ANSI C PROTOTYPING */
49 |
50 | /* Rotation Utilities */
51 | extern void rot_axis_f (float omega, float axis[3]);
52 | extern void rot_about_axis_f (float angle, float axis[3]);
53 | extern void rot_omega_f (float axis[3]);
54 | extern void urot_axis_f (float m[4][4], float omega, float axis[3]);
55 | extern void urot_about_axis_f (float m[4][4], float angle, float axis[3]);
56 | extern void urot_omega_f (float m[4][4], float axis[3]);
57 |
58 | /* double-precision versions */
59 | extern void rot_axis_d (double omega, double axis[3]);
60 | extern void rot_about_axis_d (double angle, double axis[3]);
61 | extern void rot_omega_d (double axis[3]);
62 | extern void urot_axis_d (double m[4][4], double omega, double axis[3]);
63 | extern void urot_about_axis_d (double m[4][4], double angle, double axis[3]);
64 | extern void urot_omega_d (double m[4][4], double axis[3]);
65 |
66 | /* viewpoint functions */
67 | extern void uview_direction_d (double m[4][4], /* returned */
68 | double v21[3], /* input */
69 | double up[3]); /* input */
70 |
71 | extern void uview_direction_f (float m[4][4], /* returned */
72 | float v21[3], /* input */
73 | float up[3]); /* input */
74 |
75 | extern void uviewpoint_d (double m[4][4], /* returned */
76 | double v1[3], /* input */
77 | double v2[3], /* input */
78 | double up[3]); /* input */
79 |
80 | extern void uviewpoint_f (float m[4][4], /* returned */
81 | float v1[3], /* input */
82 | float v2[3], /* input */
83 | float up[3]); /* input */
84 |
85 | #endif /* _NO_PROTO */
86 |
87 | #endif /* _GUTIL_H__ */
88 |
89 | /* ------------------- end of file ---------------------- */
90 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/rot.h:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | * rot.h
4 | *
5 | * FUNCTION:
6 | * rotation matrix utilities
7 | *
8 | * HISTORY:
9 | * Linas Vepstas Aug 1990
10 | */
11 |
12 | /* ========================================================== */
13 | /*
14 | * The MACROS below generate and return more traditional rotation
15 | * matrices -- matrices for rotations about principal axes.
16 | */
17 | /* ========================================================== */
18 |
19 | #define ROTX_CS(m,cosine,sine) \
20 | { \
21 | /* rotation about the x-axis */ \
22 | \
23 | m[0][0] = 1.0; \
24 | m[0][1] = 0.0; \
25 | m[0][2] = 0.0; \
26 | m[0][3] = 0.0; \
27 | \
28 | m[1][0] = 0.0; \
29 | m[1][1] = (cosine); \
30 | m[1][2] = (sine); \
31 | m[1][3] = 0.0; \
32 | \
33 | m[2][0] = 0.0; \
34 | m[2][1] = -(sine); \
35 | m[2][2] = (cosine); \
36 | m[2][3] = 0.0; \
37 | \
38 | m[3][0] = 0.0; \
39 | m[3][1] = 0.0; \
40 | m[3][2] = 0.0; \
41 | m[3][3] = 1.0; \
42 | }
43 |
44 | /* ========================================================== */
45 |
46 | #define ROTY_CS(m,cosine,sine) \
47 | { \
48 | /* rotation about the y-axis */ \
49 | \
50 | m[0][0] = (cosine); \
51 | m[0][1] = 0.0; \
52 | m[0][2] = -(sine); \
53 | m[0][3] = 0.0; \
54 | \
55 | m[1][0] = 0.0; \
56 | m[1][1] = 1.0; \
57 | m[1][2] = 0.0; \
58 | m[1][3] = 0.0; \
59 | \
60 | m[2][0] = (sine); \
61 | m[2][1] = 0.0; \
62 | m[2][2] = (cosine); \
63 | m[2][3] = 0.0; \
64 | \
65 | m[3][0] = 0.0; \
66 | m[3][1] = 0.0; \
67 | m[3][2] = 0.0; \
68 | m[3][3] = 1.0; \
69 | }
70 |
71 | /* ========================================================== */
72 |
73 | #define ROTZ_CS(m,cosine,sine) \
74 | { \
75 | /* rotation about the z-axis */ \
76 | \
77 | m[0][0] = (cosine); \
78 | m[0][1] = (sine); \
79 | m[0][2] = 0.0; \
80 | m[0][3] = 0.0; \
81 | \
82 | m[1][0] = -(sine); \
83 | m[1][1] = (cosine); \
84 | m[1][2] = 0.0; \
85 | m[1][3] = 0.0; \
86 | \
87 | m[2][0] = 0.0; \
88 | m[2][1] = 0.0; \
89 | m[2][2] = 1.0; \
90 | m[2][3] = 0.0; \
91 | \
92 | m[3][0] = 0.0; \
93 | m[3][1] = 0.0; \
94 | m[3][2] = 0.0; \
95 | m[3][3] = 1.0; \
96 | }
97 |
98 | /* ========================================================== */
99 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/segment.h:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | * MODULE: segment.h
4 | *
5 | * FUNCTION:
6 | * Contains function prototypes for segment drawing subroutines.
7 | * These are used only internally, and are not to be exported to
8 | * the user.
9 | *
10 | * HISTORY:
11 | * Create by Linas Vepstas
12 | * Added tube.h include to define gleDouble, tad February 2002
13 | */
14 |
15 | /* ============================================================ */
16 |
17 | #include "tube.h"
18 |
19 | extern void draw_segment_plain (int ncp, /* number of contour points */
20 | gleDouble front_contour[][3],
21 | gleDouble back_contour[][3],
22 | int inext, double len);
23 |
24 | extern void draw_segment_color (int ncp, /* number of contour points */
25 | gleDouble front_contour[][3],
26 | gleDouble back_contour[][3],
27 | float color_last[3],
28 | float color_next[3],
29 | int inext, double len);
30 |
31 | extern void draw_segment_edge_n (int ncp, /* number of contour points */
32 | gleDouble front_contour[][3],
33 | gleDouble back_contour[][3],
34 | double norm_cont[][3],
35 | int inext, double len);
36 |
37 | extern void draw_segment_c_and_edge_n (int ncp,
38 | gleDouble front_contour[][3],
39 | gleDouble back_contour[][3],
40 | double norm_cont[][3],
41 | float color_last[3],
42 | float color_next[3],
43 | int inext, double len);
44 |
45 | extern void draw_segment_facet_n (int ncp,
46 | gleDouble front_contour[][3],
47 | gleDouble back_contour[][3],
48 | double norm_cont[][3],
49 | int inext, double len);
50 |
51 | extern void draw_segment_c_and_facet_n (int ncp,
52 | gleDouble front_contour[][3],
53 | gleDouble back_contour[][3],
54 | double norm_cont[][3],
55 | float color_last[3],
56 | float color_next[3],
57 | int inext, double len);
58 |
59 | /* ============================================================ */
60 |
61 | extern void draw_binorm_segment_edge_n (int ncp,
62 | double front_contour[][3],
63 | double back_contour[][3],
64 | double front_norm[][3],
65 | double back_norm[][3],
66 | int inext, double len);
67 |
68 | extern void draw_binorm_segment_c_and_edge_n (int ncp,
69 | double front_contour[][3],
70 | double back_contour[][3],
71 | double front_norm[][3],
72 | double back_norm[][3],
73 | float color_last[3],
74 | float color_next[3],
75 | int inext, double len);
76 |
77 | extern void draw_binorm_segment_facet_n (int ncp,
78 | double front_contour[][3],
79 | double back_contour[][3],
80 | double front_norm[][3],
81 | double back_norm[][3],
82 | int inext, double len);
83 |
84 | extern void draw_binorm_segment_c_and_facet_n (int ncp,
85 | double front_contour[][3],
86 | double back_contour[][3],
87 | double front_norm[][3],
88 | double back_norm[][3],
89 | float color_last[3],
90 | float color_next[3],
91 | int inext, double len);
92 |
93 | extern void draw_angle_style_back_cap (int ncp, /* number of contour points */
94 | gleDouble bi[3], /* biscetor */
95 | gleDouble point_array[][3]); /* polyline */
96 |
97 | /* -------------------------- end of file -------------------------------- */
98 |
99 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/tube_gc.h:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | * tube_gc.h
4 | *
5 | * FUNCTION:
6 | * This file allows for easy changes to changes in the way the extrusion
7 | * library handles state info (i.e. context).
8 | *
9 | * HISTORY:
10 | * Linas Vepstas --- February 1993
11 | * Added auto texture coord generation hacks, Linas April 1994
12 | * Added tube.h include to define gleDouble, tad February 2002
13 | */
14 |
15 | #include "tube.h"
16 | #include "port.h" /* for gleVector */
17 |
18 | typedef float gleColor[3];
19 | typedef double gleTwoVec[2];
20 |
21 | typedef struct {
22 |
23 | /* public methods */
24 | void (*bgn_gen_texture) (int, double);
25 | void (*n3f_gen_texture) (float *);
26 | void (*n3d_gen_texture) (double *);
27 | void (*v3f_gen_texture) (float *, int, int);
28 | void (*v3d_gen_texture) (double *, int, int);
29 | void (*end_gen_texture) (void);
30 |
31 | /* protected members -- "general knowledge" stuff */
32 | int join_style;
33 |
34 | /* arguments passed into extrusion code */
35 | int ncp; /* number of contour points */
36 | gleTwoVec *contour; /* 2D contour */
37 | gleTwoVec *cont_normal; /* 2D contour normals */
38 | gleDouble *up; /* up vector */
39 | int npoints; /* number of points in polyline */
40 | gleVector *point_array; /* path */
41 | gleColor *color_array; /* path colors */
42 | gleAffine *xform_array; /* contour xforms */
43 |
44 | /* private members, used by texturing code */
45 | int num_vert;
46 | int segment_number;
47 | double segment_length;
48 | double accum_seg_len;
49 | double prev_x;
50 | double prev_y;
51 |
52 | void (*save_bgn_gen_texture) (int, double);
53 | void (*save_n3f_gen_texture) (float *);
54 | void (*save_n3d_gen_texture) (double *);
55 | void (*save_v3f_gen_texture) (float *, int, int);
56 | void (*save_v3d_gen_texture) (double *, int, int);
57 | void (*save_end_gen_texture) (void);
58 |
59 | } gleGC;
60 |
61 | extern gleGC *_gle_gc;
62 | extern gleGC * gleCreateGC (void);
63 |
64 | #define INIT_GC() {if (!_gle_gc) _gle_gc = gleCreateGC(); }
65 | #define extrusion_join_style (_gle_gc->join_style)
66 |
67 | #define __TUBE_CLOSE_CONTOUR (extrusion_join_style & TUBE_CONTOUR_CLOSED)
68 | #define __TUBE_DRAW_CAP (extrusion_join_style & TUBE_JN_CAP)
69 | #define __TUBE_DRAW_FACET_NORMALS (extrusion_join_style & TUBE_NORM_FACET)
70 | #define __TUBE_DRAW_PATH_EDGE_NORMALS (extrusion_join_style & TUBE_NORM_PATH_EDGE)
71 |
72 | #define __TUBE_STYLE (extrusion_join_style & TUBE_JN_MASK)
73 | #define __TUBE_RAW_JOIN (extrusion_join_style & TUBE_JN_RAW)
74 | #define __TUBE_CUT_JOIN (extrusion_join_style & TUBE_JN_CUT)
75 | #define __TUBE_ANGLE_JOIN (extrusion_join_style & TUBE_JN_ANGLE)
76 | #define __TUBE_ROUND_JOIN (extrusion_join_style & TUBE_JN_ROUND)
77 |
78 | /* ======================= END OF FILE ========================== */
79 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/Caution.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/Caution.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUT.nib/objects.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUT.nib/objects.nib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTClipboard.nib/objects.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTClipboard.nib/objects.nib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTPreferences.nib/objects.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTPreferences.nib/objects.nib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTUI.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTUI.strings
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | GLUT
9 | CFBundleGetInfoString
10 | 3.4.0, Copyright (c) 2001-2008 Apple Inc., All Rights Reserved
11 | CFBundleIconFile
12 |
13 | CFBundleIdentifier
14 | com.apple.glut
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 3.4.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | GLUT-3.4.0
25 | NSPrincipalClass
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/blankCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/blankCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomleftCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomleftCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomrightCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomrightCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/crossCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/crossCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/cycleCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/cycleCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/destroyCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/destroyCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/fingerCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/fingerCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/helpCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/helpCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/leftCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/leftCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/leftRightCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/leftRightCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/rightArrowCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/rightArrowCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/rightCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/rightCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/sprayCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/sprayCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/topCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/topCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/topleftCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/topleftCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/toprightCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/toprightCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/upDownCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/upDownCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/waitCursor.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/waitCursor.tiff
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/GLUT.framework/Versions/Current:
--------------------------------------------------------------------------------
1 | A
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libfmodex.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libfmodex.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftAVFoundation.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftAVFoundation.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftAccelerate.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftAccelerate.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftAppKit.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftAppKit.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCore.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCore.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreAudio.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreAudio.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreData.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreData.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreFoundation.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreFoundation.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreGraphics.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreGraphics.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreImage.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreImage.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreMedia.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftCoreMedia.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftDarwin.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftDarwin.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftDispatch.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftDispatch.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftFoundation.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftFoundation.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftGLKit.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftGLKit.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftIOKit.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftIOKit.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftMetal.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftMetal.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftObjectiveC.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftObjectiveC.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftQuartzCore.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftQuartzCore.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftXPC.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftXPC.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftos.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftos.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftsimd.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Frameworks/libswiftsimd.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 16G29
7 | CFBundleDevelopmentRegion
8 | English
9 | CFBundleExecutable
10 | OF-AK-HelloWorldDebug
11 | CFBundleIconFile
12 | icon-debug.icns
13 | CFBundleIdentifier
14 | cc.openFrameworks.ofapp
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundlePackageType
18 | APPL
19 | CFBundleSignature
20 | ????
21 | CFBundleSupportedPlatforms
22 |
23 | MacOSX
24 |
25 | CFBundleVersion
26 | 1.0
27 | DTCompiler
28 | com.apple.compilers.llvm.clang.1_0
29 | DTPlatformBuild
30 | 9A235
31 | DTPlatformVersion
32 | GM
33 | DTSDKBuild
34 | 17A360
35 | DTSDKName
36 | macosx10.13
37 | DTXcode
38 | 0900
39 | DTXcodeBuild
40 | 9A235
41 |
42 |
43 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/MacOS/OF-AK-HelloWorldDebug:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/MacOS/OF-AK-HelloWorldDebug
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/PkgInfo:
--------------------------------------------------------------------------------
1 | APPL????
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Resources/icon-debug.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Resources/icon-debug.icns
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Resources/libswiftRemoteMirror.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF-AK-HelloWorldDebug.app/Contents/Resources/libswiftRemoteMirror.dylib
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF_AK_HelloWorldDebug.swiftmodule/x86_64.swiftdoc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF_AK_HelloWorldDebug.swiftmodule/x86_64.swiftdoc
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/OF_AK_HelloWorldDebug.swiftmodule/x86_64.swiftmodule:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/OF_AK_HelloWorldDebug.swiftmodule/x86_64.swiftmodule
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/bin/data/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/bin/data/.gitkeep
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/config.make:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # CONFIGURE PROJECT MAKEFILE (optional)
3 | # This file is where we make project specific configurations.
4 | ################################################################################
5 |
6 | ################################################################################
7 | # OF ROOT
8 | # The location of your root openFrameworks installation
9 | # (default) OF_ROOT = ../../../..
10 | ################################################################################
11 | # OF_ROOT = ../../../..
12 |
13 | ################################################################################
14 | # PROJECT ROOT
15 | # The location of the project - a starting place for searching for files
16 | # (default) PROJECT_ROOT = . (this directory)
17 | #
18 | ################################################################################
19 | # PROJECT_ROOT = .
20 |
21 | ################################################################################
22 | # PROJECT SPECIFIC CHECKS
23 | # This is a project defined section to create internal makefile flags to
24 | # conditionally enable or disable the addition of various features within
25 | # this makefile. For instance, if you want to make changes based on whether
26 | # GTK is installed, one might test that here and create a variable to check.
27 | ################################################################################
28 | # None
29 |
30 | ################################################################################
31 | # PROJECT EXTERNAL SOURCE PATHS
32 | # These are fully qualified paths that are not within the PROJECT_ROOT folder.
33 | # Like source folders in the PROJECT_ROOT, these paths are subject to
34 | # exlclusion via the PROJECT_EXLCUSIONS list.
35 | #
36 | # (default) PROJECT_EXTERNAL_SOURCE_PATHS = (blank)
37 | #
38 | # Note: Leave a leading space when adding list items with the += operator
39 | ################################################################################
40 | # PROJECT_EXTERNAL_SOURCE_PATHS =
41 |
42 | ################################################################################
43 | # PROJECT EXCLUSIONS
44 | # These makefiles assume that all folders in your current project directory
45 | # and any listed in the PROJECT_EXTERNAL_SOURCH_PATHS are are valid locations
46 | # to look for source code. The any folders or files that match any of the
47 | # items in the PROJECT_EXCLUSIONS list below will be ignored.
48 | #
49 | # Each item in the PROJECT_EXCLUSIONS list will be treated as a complete
50 | # string unless teh user adds a wildcard (%) operator to match subdirectories.
51 | # GNU make only allows one wildcard for matching. The second wildcard (%) is
52 | # treated literally.
53 | #
54 | # (default) PROJECT_EXCLUSIONS = (blank)
55 | #
56 | # Will automatically exclude the following:
57 | #
58 | # $(PROJECT_ROOT)/bin%
59 | # $(PROJECT_ROOT)/obj%
60 | # $(PROJECT_ROOT)/%.xcodeproj
61 | #
62 | # Note: Leave a leading space when adding list items with the += operator
63 | ################################################################################
64 | # PROJECT_EXCLUSIONS =
65 |
66 | ################################################################################
67 | # PROJECT LINKER FLAGS
68 | # These flags will be sent to the linker when compiling the executable.
69 | #
70 | # (default) PROJECT_LDFLAGS = -Wl,-rpath=./libs
71 | #
72 | # Note: Leave a leading space when adding list items with the += operator
73 | ################################################################################
74 |
75 | # Currently, shared libraries that are needed are copied to the
76 | # $(PROJECT_ROOT)/bin/libs directory. The following LDFLAGS tell the linker to
77 | # add a runtime path to search for those shared libraries, since they aren't
78 | # incorporated directly into the final executable application binary.
79 | # TODO: should this be a default setting?
80 | # PROJECT_LDFLAGS=-Wl,-rpath=./libs
81 |
82 | ################################################################################
83 | # PROJECT DEFINES
84 | # Create a space-delimited list of DEFINES. The list will be converted into
85 | # CFLAGS with the "-D" flag later in the makefile.
86 | #
87 | # (default) PROJECT_DEFINES = (blank)
88 | #
89 | # Note: Leave a leading space when adding list items with the += operator
90 | ################################################################################
91 | # PROJECT_DEFINES =
92 |
93 | ################################################################################
94 | # PROJECT CFLAGS
95 | # This is a list of fully qualified CFLAGS required when compiling for this
96 | # project. These CFLAGS will be used IN ADDITION TO the PLATFORM_CFLAGS
97 | # defined in your platform specific core configuration files. These flags are
98 | # presented to the compiler BEFORE the PROJECT_OPTIMIZATION_CFLAGS below.
99 | #
100 | # (default) PROJECT_CFLAGS = (blank)
101 | #
102 | # Note: Before adding PROJECT_CFLAGS, note that the PLATFORM_CFLAGS defined in
103 | # your platform specific configuration file will be applied by default and
104 | # further flags here may not be needed.
105 | #
106 | # Note: Leave a leading space when adding list items with the += operator
107 | ################################################################################
108 | # PROJECT_CFLAGS =
109 |
110 | ################################################################################
111 | # PROJECT OPTIMIZATION CFLAGS
112 | # These are lists of CFLAGS that are target-specific. While any flags could
113 | # be conditionally added, they are usually limited to optimization flags.
114 | # These flags are added BEFORE the PROJECT_CFLAGS.
115 | #
116 | # PROJECT_OPTIMIZATION_CFLAGS_RELEASE flags are only applied to RELEASE targets.
117 | #
118 | # (default) PROJECT_OPTIMIZATION_CFLAGS_RELEASE = (blank)
119 | #
120 | # PROJECT_OPTIMIZATION_CFLAGS_DEBUG flags are only applied to DEBUG targets.
121 | #
122 | # (default) PROJECT_OPTIMIZATION_CFLAGS_DEBUG = (blank)
123 | #
124 | # Note: Before adding PROJECT_OPTIMIZATION_CFLAGS, please note that the
125 | # PLATFORM_OPTIMIZATION_CFLAGS defined in your platform specific configuration
126 | # file will be applied by default and further optimization flags here may not
127 | # be needed.
128 | #
129 | # Note: Leave a leading space when adding list items with the += operator
130 | ################################################################################
131 | # PROJECT_OPTIMIZATION_CFLAGS_RELEASE =
132 | # PROJECT_OPTIMIZATION_CFLAGS_DEBUG =
133 |
134 | ################################################################################
135 | # PROJECT COMPILERS
136 | # Custom compilers can be set for CC and CXX
137 | # (default) PROJECT_CXX = (blank)
138 | # (default) PROJECT_CC = (blank)
139 | # Note: Leave a leading space when adding list items with the += operator
140 | ################################################################################
141 | # PROJECT_CXX =
142 | # PROJECT_CC =
143 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/openFrameworks-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIconFile
10 | ${ICON}
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundlePackageType
16 | APPL
17 | CFBundleSignature
18 | ????
19 | CFBundleVersion
20 | 1.0
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/AudioKit:
--------------------------------------------------------------------------------
1 | Versions/Current/AudioKit
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Headers:
--------------------------------------------------------------------------------
1 | Versions/Current/Headers
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Modules:
--------------------------------------------------------------------------------
1 | Versions/Current/Modules
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Resources:
--------------------------------------------------------------------------------
1 | Versions/Current/Resources
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/AudioKit:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/AudioKit
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKAmplitudeEnvelopeAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKAmplitudeEnvelopeAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKAmplitudeEnvelopeAudioUnit : AKAudioUnit
13 | @property (nonatomic) float attackDuration;
14 | @property (nonatomic) float decayDuration;
15 | @property (nonatomic) float sustainLevel;
16 | @property (nonatomic) float releaseDuration;
17 | @end
18 |
19 |
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKAmplitudeTrackerAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKAmplitudeTrackerAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | typedef void (^AKThresholdCallback)(BOOL);
14 |
15 | @interface AKAmplitudeTrackerAudioUnit : AKAudioUnit
16 | @property (readonly) float leftAmplitude;
17 | @property (readonly) float rightAmplitude;
18 | @property (nonatomic) float threshold;
19 | //@property (nonatomic) float smoothness; //in development
20 | @property (nonatomic) AKThresholdCallback thresholdCallback;
21 | - (void)setHalfPowerPoint:(float)halfPowerPoint;
22 | @end
23 |
24 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKAutoWahAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKAutoWahAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKAutoWahAudioUnit : AKAudioUnit
13 | @property (nonatomic) float wah;
14 | @property (nonatomic) float mix;
15 | @property (nonatomic) float amplitude;
16 | @end
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBalancerAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBalancerAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import
11 |
12 | @interface AKBalancerAudioUnit : AUAudioUnit
13 | - (void)start;
14 | - (void)stop;
15 | - (BOOL)isPlaying;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBandPassButterworthFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBandPassButterworthFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKBandPassButterworthFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float centerFrequency;
14 | @property (nonatomic) float bandwidth;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBandRejectButterworthFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBandRejectButterworthFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKBandRejectButterworthFilterAudioUnit : AKAudioUnit
14 | @property (nonatomic) float centerFrequency;
15 | @property (nonatomic) float bandwidth;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBankAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBankAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka on 8/15/17.
6 | // Copyright © 2017 AudioKit. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKBankAudioUnit : AKAudioUnit
14 |
15 | @property (nonatomic) float attackDuration;
16 | @property (nonatomic) float decayDuration;
17 | @property (nonatomic) float sustainLevel;
18 | @property (nonatomic) float releaseDuration;
19 | @property (nonatomic) float pitchBend;
20 | @property (nonatomic) float vibratoDepth;
21 | @property (nonatomic) float vibratoRate;
22 |
23 | - (void)startNote:(uint8_t)note velocity:(uint8_t)velocity;
24 | - (void)startNote:(uint8_t)note velocity:(uint8_t)velocity frequency:(float)frequency;
25 | - (void)stopNote:(uint8_t)note;
26 |
27 | @end
28 |
29 | #define numberOfBankEnumElements 7
30 |
31 | #define standardBankEnumElements() \
32 | attackDurationAddress = 0, \
33 | decayDurationAddress = 1, \
34 | sustainLevelAddress = 2, \
35 | releaseDurationAddress = 3, \
36 | pitchBendAddress = 4, \
37 | vibratoDepthAddress = 5, \
38 | vibratoRateAddress = 6
39 |
40 | #define standardBankAUParameterList() \
41 | attackDurationAUParameter, \
42 | decayDurationAUParameter, \
43 | sustainLevelAUParameter, \
44 | releaseDurationAUParameter, \
45 | pitchBendAUParameter, \
46 | vibratoDepthAUParameter, \
47 | vibratoRateAUParameter
48 |
49 | #define standardBankFunctions() \
50 | - (BOOL)isSetUp { return _kernel.resetted; } \
51 | - (void)setAttackDuration:(float)attackDuration { _kernel.setAttackDuration(attackDuration); } \
52 | - (void)setDecayDuration:(float)decayDuration { _kernel.setDecayDuration(decayDuration); } \
53 | - (void)setSustainLevel:(float)sustainLevel { _kernel.setSustainLevel(sustainLevel); } \
54 | - (void)setReleaseDuration:(float)releaseDuration { _kernel.setReleaseDuration(releaseDuration); } \
55 | - (void)setPitchBend:(float)pitchBend { _kernel.setPitchBend(pitchBend); } \
56 | - (void)setVibratoDepth:(float)vibratoDepth { _kernel.setVibratoDepth(vibratoDepth); } \
57 | - (void)setVibratoRate:(float)vibratoRate { _kernel.setVibratoRate(vibratoRate); } \
58 | - (void)stopNote:(uint8_t)note { _kernel.stopNote(note); } \
59 | - (void)startNote:(uint8_t)note velocity:(uint8_t)velocity { _kernel.startNote(note, velocity); } \
60 | - (void)startNote:(uint8_t)note velocity:(uint8_t)velocity frequency:(float)frequency { \
61 | _kernel.startNote(note, velocity, frequency); \
62 | }
63 |
64 | #define standardBankParameters() \
65 | AudioUnitParameterOptions flags = kAudioUnitParameterFlag_IsWritable | kAudioUnitParameterFlag_IsReadable | kAudioUnitParameterFlag_DisplayLogarithmic;\
66 | AUParameter *attackDurationAUParameter = \
67 | [AUParameterTree createParameterWithIdentifier:@"attackDuration" \
68 | name:@"Attack" \
69 | address:attackDurationAddress \
70 | min:0 \
71 | max:1 \
72 | unit:kAudioUnitParameterUnit_Seconds \
73 | unitName:nil \
74 | flags:flags \
75 | valueStrings:nil \
76 | dependentParameters:nil]; \
77 | AUParameter *decayDurationAUParameter = \
78 | [AUParameterTree createParameterWithIdentifier:@"decayDuration" \
79 | name:@"Decay" \
80 | address:decayDurationAddress \
81 | min:0 \
82 | max:1 \
83 | unit:kAudioUnitParameterUnit_Seconds \
84 | unitName:nil \
85 | flags:flags \
86 | valueStrings:nil \
87 | dependentParameters:nil]; \
88 | AUParameter *sustainLevelAUParameter = \
89 | [AUParameterTree createParameterWithIdentifier:@"sustainLevel" \
90 | name:@"Sustain Level" \
91 | address:sustainLevelAddress \
92 | min:0 \
93 | max:1 \
94 | unit:kAudioUnitParameterUnit_Generic \
95 | unitName:nil \
96 | flags:flags \
97 | valueStrings:nil \
98 | dependentParameters:nil]; \
99 | AUParameter *releaseDurationAUParameter = \
100 | [AUParameterTree createParameterWithIdentifier:@"releaseDuration" \
101 | name:@"Release" \
102 | address:releaseDurationAddress \
103 | min:0 \
104 | max:1 \
105 | unit:kAudioUnitParameterUnit_Seconds \
106 | unitName:nil \
107 | flags:flags \
108 | valueStrings:nil \
109 | dependentParameters:nil]; \
110 | AUParameter *pitchBendAUParameter = \
111 | [AUParameterTree createParameterWithIdentifier:@"pitchBend" \
112 | name:@"Pitch Bend" \
113 | address:pitchBendAddress \
114 | min:-48 \
115 | max:48 \
116 | unit:kAudioUnitParameterUnit_RelativeSemiTones \
117 | unitName:nil \
118 | flags:0 \
119 | valueStrings:nil \
120 | dependentParameters:nil]; \
121 | AUParameter *vibratoDepthAUParameter = \
122 | [AUParameterTree createParameterWithIdentifier:@"vibratoDepth" \
123 | name:@"Vibrato Depth" \
124 | address:vibratoDepthAddress \
125 | min:0 \
126 | max:24 \
127 | unit:kAudioUnitParameterUnit_RelativeSemiTones \
128 | unitName:nil \
129 | flags:0 \
130 | valueStrings:nil \
131 | dependentParameters:nil]; \
132 | AUParameter *vibratoRateAUParameter = \
133 | [AUParameterTree createParameterWithIdentifier:@"vibratoRate" \
134 | name:@"Vibrato Rate" \
135 | address:vibratoRateAddress \
136 | min:0 \
137 | max:600 \
138 | unit:kAudioUnitParameterUnit_Hertz \
139 | unitName:nil \
140 | flags:0 \
141 | valueStrings:nil \
142 | dependentParameters:nil]; \
143 | attackDurationAUParameter.value = 0.1; \
144 | decayDurationAUParameter.value = 0.1; \
145 | sustainLevelAUParameter.value = 1.0; \
146 | releaseDurationAUParameter.value = 0.1; \
147 | pitchBendAUParameter.value = 0; \
148 | vibratoDepthAUParameter.value = 0; \
149 | vibratoRateAUParameter.value = 0; \
150 | _kernel.setParameter(attackDurationAddress, attackDurationAUParameter.value); \
151 | _kernel.setParameter(decayDurationAddress, decayDurationAUParameter.value); \
152 | _kernel.setParameter(sustainLevelAddress, sustainLevelAUParameter.value); \
153 | _kernel.setParameter(releaseDurationAddress, releaseDurationAUParameter.value); \
154 | _kernel.setParameter(pitchBendAddress, pitchBendAUParameter.value); \
155 | _kernel.setParameter(vibratoDepthAddress, vibratoDepthAUParameter.value);\
156 | _kernel.setParameter(vibratoRateAddress, vibratoRateAUParameter.value);
157 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBitCrusherAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBitCrusherAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKBitCrusherAudioUnit : AKAudioUnit
13 | @property (nonatomic) float bitDepth;
14 | @property (nonatomic) float sampleRate;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBoosterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBoosterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKBoosterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float leftGain;
14 | @property (nonatomic) float rightGain;
15 | @end
16 |
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKBrownianNoiseAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKBrownianNoiseAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKBrownianNoiseAudioUnit : AKAudioUnit
13 | @property (nonatomic) float amplitude;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKChowningReverbAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKChowningReverbAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKChowningReverbAudioUnit : AKAudioUnit
14 | @end
15 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKClarinetAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKClarinetAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKClarinetAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float amplitude;
15 |
16 | - (void)triggerFrequency:(float)frequency amplitude:(float)amplitude;
17 |
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKClipperAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKClipperAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKClipperAudioUnit : AKAudioUnit
13 | @property (nonatomic) float limit;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKCombFilterReverbAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKCombFilterReverbAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKCombFilterReverbAudioUnit : AKAudioUnit
13 | @property (nonatomic) float reverbDuration;
14 | - (void)setLoopDuration:(float)duration;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKConvolutionAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKConvolutionAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKConvolutionAudioUnit : AKAudioUnit
13 | - (void)setupAudioFileTable:(float *)data size:(UInt32)size;
14 | - (void)setPartitionLength:(int)partitionLength;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKCostelloReverbAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKCostelloReverbAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKCostelloReverbAudioUnit : AKAudioUnit
13 | @property (nonatomic) float feedback;
14 | @property (nonatomic) float cutoffFrequency;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKDCBlockAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKDCBlockAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKDCBlockAudioUnit : AKAudioUnit
13 | @end
14 |
15 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKDripAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKDripAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKDripAudioUnit : AKAudioUnit
13 | @property (nonatomic) float intensity;
14 | @property (nonatomic) float dampingFactor;
15 | @property (nonatomic) float energyReturn;
16 | @property (nonatomic) float mainResonantFrequency;
17 | @property (nonatomic) float firstResonantFrequency;
18 | @property (nonatomic) float secondResonantFrequency;
19 | @property (nonatomic) float amplitude;
20 |
21 | - (void)trigger;
22 |
23 | @end
24 |
25 |
26 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKDynaRageCompressorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKDynaRageCompressorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Mike Gazzaruso, revision history on Github.
6 | // Copyright © 2017 Mike Gazzaruso, Devoloop Srls. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKDynaRageCompressorAudioUnit : AKAudioUnit
13 | @property (nonatomic) float ratio;
14 | @property (nonatomic) float threshold;
15 | @property (nonatomic) float attackTime;
16 | @property (nonatomic) float releaseTime;
17 | @property (nonatomic) float rageAmount;
18 | @property (nonatomic) BOOL rageIsOn;
19 | @end
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKDynamicRangeCompressorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKDynamicRangeCompressorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKDynamicRangeCompressorAudioUnit : AKAudioUnit
13 | @property (nonatomic) float ratio;
14 | @property (nonatomic) float threshold;
15 | @property (nonatomic) float attackTime;
16 | @property (nonatomic) float releaseTime;
17 | @end
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKEqualizerFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKEqualizerFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKEqualizerFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float centerFrequency;
14 | @property (nonatomic) float bandwidth;
15 | @property (nonatomic) float gain;
16 | @end
17 |
18 |
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKFMOscillatorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKFMOscillatorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKFMOscillatorAudioUnit : AKAudioUnit
13 | @property (nonatomic) float baseFrequency;
14 | @property (nonatomic) float carrierMultiplier;
15 | @property (nonatomic) float modulatingMultiplier;
16 | @property (nonatomic) float modulationIndex;
17 | @property (nonatomic) float amplitude;
18 |
19 | - (void)setupWaveform:(int)size;
20 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
21 |
22 | @end
23 |
24 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKFMOscillatorBankAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKFMOscillatorBankAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKBankAudioUnit.h"
12 |
13 | @interface AKFMOscillatorBankAudioUnit : AKBankAudioUnit
14 |
15 | @property (nonatomic) float carrierMultiplier;
16 | @property (nonatomic) float modulatingMultiplier;
17 | @property (nonatomic) float modulationIndex;
18 |
19 | - (void)setupWaveform:(int)size;
20 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
21 |
22 | @end
23 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKFlatFrequencyResponseReverbAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKFlatFrequencyResponseReverbAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKFlatFrequencyResponseReverbAudioUnit : AKAudioUnit
13 | @property (nonatomic) float reverbDuration;
14 | - (void)setLoopDuration:(float)duration;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKFluteAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKFluteAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKFluteAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float amplitude;
15 |
16 | - (void)triggerFrequency:(float)frequency amplitude:(float)amplitude;
17 |
18 | @end
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKFormantFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKFormantFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKFormantFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float x;
14 | @property (nonatomic) float y;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKFrequencyTrackerAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKFrequencyTrackerAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKFrequencyTrackerAudioUnit : AKAudioUnit
14 | @property (readonly) float amplitude;
15 | @property (readonly) float frequency;
16 | @end
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKHighPassButterworthFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKHighPassButterworthFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKHighPassButterworthFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float cutoffFrequency;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKHighShelfParametricEqualizerFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKHighShelfParametricEqualizerFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKHighShelfParametricEqualizerFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float centerFrequency;
14 | @property (nonatomic) float gain;
15 | @property (nonatomic) float q;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKKorgLowPassFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKKorgLowPassFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKKorgLowPassFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float cutoffFrequency;
14 | @property (nonatomic) float resonance;
15 | @property (nonatomic) float saturation;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKLazyTap.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKLazyTap.h
3 | // AudioKit
4 | //
5 | // Created by David O'Neill on 8/16/17.
6 | // Copyright © AudioKit. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 | #import "AKRenderTap.h"
13 |
14 | @interface AKLazyTap : NSObject
15 |
16 | /*!
17 | * Initializes a tap by adding a render notify callback to the node's
18 | * underlying audioUnit.
19 | *
20 | * The render notify will be removed on dealloc.
21 | *
22 | * @param node The AVAudioNode that will the tap will pull buffers from.
23 | * @return An AKLazyTap if sucessful in adding the renderNotify.
24 | */
25 | -(instancetype _Nullable)initWithNode:(AVAudioNode * _Nonnull)node;
26 |
27 | /*!
28 | * Initializes a tap by adding a render notify callback to the audioUnit.
29 | *
30 | * The render notify will be removed on dealloc.
31 | *
32 | * @param audioUnit The audioUnit that the tap will pull buffers from.
33 | * @return An AKLazyTap if sucessful in adding the renderNotify.
34 | */
35 | -(instancetype _Nullable)initWithAudioUnit:(AudioUnit _Nonnull)audioUnit;
36 |
37 | /*!
38 | * Initializes a tap by adding a render notify callback to the node's
39 | * underlying audioUnit.
40 | *
41 | * The render notify will be removed on dealloc.
42 | *
43 | * @param node The AVAudioNode that will the tap will pull buffers from.
44 | * @param seconds Minumum seconds of audio that the tap will hold.
45 | * @return An AKLazyTap if sucessful in adding the renderNotify.
46 | */
47 | -(instancetype _Nullable)initWithNode:(AVAudioNode * _Nonnull)node queueTime:(double)seconds;
48 |
49 | /*!
50 | * Initializes a tap by adding a render notify callback to the audioUnit.
51 | *
52 | * The render notify will be removed on dealloc.
53 | *
54 | * @param audioUnit The audioUnit that the tap will pull buffers from.
55 | * @param seconds Minumum seconds of audio that the tap will hold.
56 | * @return An AKLazyTap if sucessful in adding the renderNotify.
57 | */
58 | -(instancetype _Nullable)initWithAudioUnit:(AudioUnit _Nonnull)audioUnit queueTime:(double)seconds NS_DESIGNATED_INITIALIZER;
59 | -(instancetype _Nonnull )init NS_UNAVAILABLE;
60 |
61 | /*!
62 | * Removes all audio held in the inernal buffer.
63 | */
64 | -(void)clear;
65 |
66 | /*!
67 | * Will pull the next audioBufferlist from the queue and copy
68 | * it to bufferlistOut.
69 | *
70 | * @param bufferlistOut An audioBufferList that the audio will be copied
71 | * to, Should be allocated to store at least one render cylce of audio.
72 | * @param timeStamp On output, the timeStamp for the audioBufferlist.
73 | * @return True if audio was copied, false if no audio to copy.
74 | */
75 | -(BOOL)copyNextBufferList:(AudioBufferList * _Nonnull)bufferlistOut timeStamp:(inout AudioTimeStamp * _Nullable)timeStamp;
76 |
77 | /*!
78 | * Will fill the suplied buffer with as much audio as it can hold or
79 | * as much audio as the internal buffer contains, whichever is less.
80 | *
81 | * @param buffer A buffer that will be filled with audio.
82 | * @param timeStamp On output, the timeStamp for the first sample of
83 | * audio in the buffer.
84 | * @return True if audio was copied, false if no audio to copy.
85 | */
86 | -(BOOL)fillNextBuffer:(AVAudioPCMBuffer * _Nonnull)buffer timeStamp:(inout AudioTimeStamp * _Nullable)timeStamp;
87 |
88 | @end
89 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKLowPassButterworthFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKLowPassButterworthFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKLowPassButterworthFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float cutoffFrequency;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKLowShelfParametricEqualizerFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKLowShelfParametricEqualizerFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKLowShelfParametricEqualizerFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float cornerFrequency;
14 | @property (nonatomic) float gain;
15 | @property (nonatomic) float q;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKMandolinAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKMandolinAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKMandolinAudioUnit : AKAudioUnit
13 | @property (nonatomic) float detune;
14 | @property (nonatomic) float bodySize;
15 |
16 | - (void)setFrequency:(float)frequency course:(int)course;
17 | - (void)pluckCourse:(int)course position:(float)position velocity:(int)velocity;
18 | - (void)muteCourse:(int)course;
19 |
20 | @end
21 |
22 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKMetalBarAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKMetalBarAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKMetalBarAudioUnit : AKAudioUnit
14 | @property (nonatomic) float leftBoundaryCondition;
15 | @property (nonatomic) float rightBoundaryCondition;
16 | @property (nonatomic) float decayDuration;
17 | @property (nonatomic) float scanSpeed;
18 | @property (nonatomic) float position;
19 | @property (nonatomic) float strikeVelocity;
20 | @property (nonatomic) float strikeWidth;
21 |
22 | - (void)trigger;
23 |
24 | @end
25 |
26 |
27 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKMicrophoneTrackerEngine.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKMicrophoneTrackerEngine.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka on 5/9/17.
6 | // Copyright © 2017 AudioKit. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "EZAudio.h"
12 |
13 | @interface AKMicrophoneTrackerEngine : NSObject
14 | @property float amplitude;
15 | @property float frequency;
16 |
17 | - (void)start;
18 | - (void)stop;
19 | @end
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKModalResonanceFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKModalResonanceFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKModalResonanceFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float qualityFactor;
15 | @end
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKMoogLadderAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKMoogLadderAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKMoogLadderAudioUnit : AKAudioUnit
13 | @property (nonatomic) float cutoffFrequency;
14 | @property (nonatomic) float resonance;
15 | @end
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKMorphingOscillatorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKMorphingOscillatorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKMorphingOscillatorAudioUnit : AKAudioUnit
14 | @property (nonatomic) float frequency;
15 | @property (nonatomic) float amplitude;
16 | @property (nonatomic) float index;
17 | @property (nonatomic) float detuningOffset;
18 | @property (nonatomic) float detuningMultiplier;
19 |
20 | - (void)setupWaveform:(UInt32)waveform size:(int)size;
21 | - (void)setWaveform:(UInt32)waveform withValue:(float)value atIndex:(UInt32)index;
22 |
23 | @end
24 |
25 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKMorphingOscillatorBankAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKMorphingOscillatorBankAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKBankAudioUnit.h"
11 |
12 | @interface AKMorphingOscillatorBankAudioUnit : AKBankAudioUnit
13 |
14 | @property (nonatomic) float index;
15 |
16 | - (void)setupWaveform:(UInt32)waveform size:(int)size;
17 | - (void)setWaveform:(UInt32)waveform withValue:(float)value atIndex:(UInt32)index;
18 | - (void)reset;
19 |
20 | @end
21 |
22 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKOfflineRenderAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKOfflineRenderAudioUnit.h
3 | // AudioKit For iOS
4 | //
5 | // Created by David O'Neill on 8/7/17.
6 | // Copyright © 2017 AudioKit. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKOfflineRenderAudioUnit : AKAudioUnit
13 | @property BOOL internalRenderEnabled; // default = true;
14 |
15 | -(AVAudioPCMBuffer * _Nullable)renderToBuffer:(NSTimeInterval)seconds error:(NSError *_Nullable*__null_unspecified)outError;
16 |
17 | -(BOOL)renderToFile:(NSURL * _Nonnull)fileURL seconds:(double)seconds settings:(NSDictionary * _Nullable)settings error:(NSError * _Nullable * _Nullable)error;
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKOperationEffectAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKOperationEffectAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @class AKCustomUgen;
14 |
15 | @interface AKOperationEffectAudioUnit : AKAudioUnit
16 | @property (nonatomic) NSArray *parameters;
17 | - (void)setSporth:(NSString *)sporth;
18 | - (void)addCustomUgen:(AKCustomUgen *)ugen;
19 | @end
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKOperationGeneratorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKOperationGeneratorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @class AKCustomUgen;
13 |
14 | @interface AKOperationGeneratorAudioUnit : AKAudioUnit
15 | @property (nonatomic) NSArray *parameters;
16 | - (void)setSporth:(NSString *)sporth;
17 | - (void)trigger:(int)trigger;
18 | - (void)addCustomUgen:(AKCustomUgen *)ugen;
19 | @end
20 |
21 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKOscillatorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKOscillatorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKOscillatorAudioUnit : AKAudioUnit
14 | @property (nonatomic) float frequency;
15 | @property (nonatomic) float amplitude;
16 | @property (nonatomic) float detuningOffset;
17 | @property (nonatomic) float detuningMultiplier;
18 |
19 | - (void)setupWaveform:(int)size;
20 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
21 |
22 | @end
23 |
24 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKOscillatorBankAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKOscillatorBankAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKBankAudioUnit.h"
12 |
13 | @interface AKOscillatorBankAudioUnit : AKBankAudioUnit
14 |
15 | - (void)setupWaveform:(int)size;
16 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
17 |
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPWMOscillatorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPWMOscillatorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPWMOscillatorAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float amplitude;
15 | @property (nonatomic) float pulseWidth;
16 | @property (nonatomic) float detuningOffset;
17 | @property (nonatomic) float detuningMultiplier;
18 | @end
19 |
20 |
21 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPWMOscillatorBankAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPWMOscillatorBankAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKBankAudioUnit.h"
12 |
13 | @interface AKPWMOscillatorBankAudioUnit : AKBankAudioUnit
14 |
15 | @property (nonatomic) float pulseWidth;
16 |
17 | @end
18 |
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPannerAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPannerAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPannerAudioUnit : AKAudioUnit
13 | @property (nonatomic) float pan;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPeakingParametricEqualizerFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPeakingParametricEqualizerFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPeakingParametricEqualizerFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float centerFrequency;
14 | @property (nonatomic) float gain;
15 | @property (nonatomic) float q;
16 | @end
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPhaseDistortionOscillatorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPhaseDistortionOscillatorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKPhaseDistortionOscillatorAudioUnit : AKAudioUnit
14 | @property (nonatomic) float frequency;
15 | @property (nonatomic) float amplitude;
16 | @property (nonatomic) float phaseDistortion;
17 | @property (nonatomic) float detuningOffset;
18 | @property (nonatomic) float detuningMultiplier;
19 |
20 | - (void)setupWaveform:(int)size;
21 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
22 |
23 | @end
24 |
25 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPhaseDistortionOscillatorBankAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPhaseDistortionOscillatorBankAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKBankAudioUnit.h"
12 |
13 | @interface AKPhaseDistortionOscillatorBankAudioUnit : AKBankAudioUnit
14 |
15 | @property (nonatomic) float phaseDistortion;
16 |
17 | - (void)setupWaveform:(int)size;
18 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
19 |
20 | @end
21 |
22 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPhaseLockedVocoderAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPhaseLockedVocoderAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPhaseLockedVocoderAudioUnit : AKAudioUnit
13 | @property (nonatomic) float position;
14 | @property (nonatomic) float amplitude;
15 | @property (nonatomic) float pitchRatio;
16 |
17 | - (void)setupAudioFileTable:(float *)data size:(UInt32)size;
18 |
19 | @end
20 |
21 |
22 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPhaserAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPhaserAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPhaserAudioUnit : AKAudioUnit
13 | @property (nonatomic) float notchMinimumFrequency;
14 | @property (nonatomic) float notchMaximumFrequency;
15 | @property (nonatomic) float notchWidth;
16 | @property (nonatomic) float notchFrequency;
17 | @property (nonatomic) float vibratoMode;
18 | @property (nonatomic) float depth;
19 | @property (nonatomic) float feedback;
20 | @property (nonatomic) float inverted;
21 | @property (nonatomic) float lfoBPM;
22 | @end
23 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPinkNoiseAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPinkNoiseAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPinkNoiseAudioUnit : AKAudioUnit
13 | @property (nonatomic) float amplitude;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPitchShifterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPitchShifterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKPitchShifterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float shift;
14 | @property (nonatomic) float windowSize;
15 | @property (nonatomic) float crossfade;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPluckedStringAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPluckedStringAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKPluckedStringAudioUnit : AKAudioUnit
14 | @property (nonatomic) float frequency;
15 | @property (nonatomic) float amplitude;
16 |
17 | - (void)triggerFrequency:(float)frequency amplitude:(float)amplitude;
18 |
19 | @end
20 |
21 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKPresetManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKPresetManager.h
3 | //
4 | // Created by David O'Neill on 1/8/17.
5 | // Copyright © 2017 AudioKit. All rights reserved.
6 | //
7 |
8 | #import
9 | #import
10 | #import
11 |
12 |
13 |
14 | /// AKPresetZone and AKPresetManager create AUPreset Dictionaries that can be loaded by
15 | /// an AUSampler or AVAudioUnitSampler.
16 | @interface AKPresetZone : NSObject
17 | @property BOOL enabled;
18 | @property BOOL loopEnabled;
19 | @property BOOL pitchTracking;
20 | @property int maxKey;
21 | @property int minKey;
22 | @property int rootKey;
23 | @property NSString * _Nonnull filePath;
24 |
25 | /// Initializes to a non pitch tracking sample (ie: for drums)
26 | -(instancetype _Nullable)initWithFilePath:(NSString * _Nonnull)filePath andKey:(int)key;
27 |
28 | /// Initializes to a non pitch tracking sample (ie: for drums)
29 | +(AKPresetZone * _Nullable)zoneWithFilePath:(NSString * _Nonnull)filePath andKey:(int)key;
30 | @end
31 |
32 | @interface AKPresetManager : NSObject
33 |
34 | /// This creates a preset where each file's note is set to it's index in the filePaths array.
35 | +(NSDictionary * _Nullable)presetWithFilePaths:(NSArray * _Nonnull)filePaths oneShot:(BOOL)oneShot;
36 |
37 | /// Creates a preset with an array of zones
38 | +(NSDictionary * _Nullable)presetWithZones:(NSArray * _Nonnull)presetZones oneShot:(BOOL)oneShot;
39 |
40 | /// Retrieve preset from a sampler audio unit.
41 | +(NSDictionary * _Nullable)samplerPreset:(AudioUnit _Nonnull)samplerUnit;
42 |
43 | /// Set thre preset for a sampler
44 | +(BOOL)setPreset:(NSDictionary * _Nonnull)preset forSampler:(AudioUnit _Nonnull)sampler error:(NSError *_Nullable * _Nullable)outError;
45 | @end
46 |
47 | /// Convenience methods for setting ang getting preset.
48 | @interface AVAudioUnitSampler (PresetLoading)
49 | @property NSDictionary * _Nullable preset;
50 | @end
51 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKRenderTap.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKRenderTap.h
3 | // AudioKit
4 | //
5 | // Created by David O'Neill on 8/16/17.
6 | // Copyright © AudioKit. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 |
13 | /**
14 | * A block that will be called every pre and post render for an audio unit.
15 | * Will be called from the render thread, so no locks, Swift functions or
16 | * Objective-C messages from within this block. Make sure not to capture self.
17 | */
18 | typedef void(^AKRenderNotifyBlock)(AudioUnitRenderActionFlags * _Nonnull ioActionFlags,const AudioTimeStamp * _Nonnull inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList * _Nullable ioData);
19 |
20 |
21 | @interface AKRenderTap : NSObject
22 |
23 | /**
24 | * A block that will be called every pre and post render for an audio unit.
25 | * Will be called from the render thread, so no locks, Swift functions or
26 | * Objective-C messages from within this block. Make sure not to capture self.
27 | * If not initialize with a renderNotify block, then this should be implemented
28 | * by subclasses.
29 | */
30 | @property (readonly) AKRenderNotifyBlock _Nullable renderNotifyBlock NS_SWIFT_UNAVAILABLE("No render code in Swift");
31 |
32 | /*!
33 | * Initializes a renderTap, holds reference to audioUnit.
34 | *
35 | * @param audioUnit The audioUnit that will the tap notify on.
36 | * @param block The block tha will be called every pre and post render.
37 | * @return A renderTap ready to start.
38 | */
39 | -(instancetype _Nullable )initWithAudioUnit:(AudioUnit _Nonnull)audioUnit renderNotify:(AKRenderNotifyBlock _Nullable )block NS_DESIGNATED_INITIALIZER NS_SWIFT_UNAVAILABLE("No render code in Swift");
40 |
41 | /*!
42 | * Initializes a renderTap, holds reference to underlying audioUnit.
43 | * underlying audioUnit.
44 | *
45 | * @param node The AVAudioNode that will the tap will notify on.
46 | * @param block The block tha will be called every pre and post render.
47 | * @return A renderTap ready to start.
48 | */
49 | -(instancetype _Nullable )initWithNode:(AVAudioNode * _Nonnull)node renderNotify:(AKRenderNotifyBlock _Nullable )block NS_SWIFT_UNAVAILABLE("No render code in Swift");
50 |
51 | -(instancetype _Nonnull )init NS_UNAVAILABLE;
52 |
53 | @end
54 |
55 |
56 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKResonantFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKResonantFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKResonantFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float bandwidth;
15 | @end
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKRhinoGuitarProcessorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKRhinoGuitarProcessorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Mike Gazzaruso, revision history on Github.
6 | // Copyright © 2017 Mike Gazzaruso, Devoloop Srls. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKRhinoGuitarProcessorAudioUnit : AKAudioUnit
13 | @property (nonatomic) float preGain;
14 | @property (nonatomic) float postGain;
15 | @property (nonatomic) float lowGain;
16 | @property (nonatomic) float midGain;
17 | @property (nonatomic) float highGain;
18 | @property (nonatomic) float distType;
19 | @property (nonatomic) float distAmount;
20 | @end
21 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKRhodesPianoAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKRhodesPianoAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKRhodesPianoAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float amplitude;
15 |
16 | - (void)triggerFrequency:(float)frequency amplitude:(float)amplitude;
17 |
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKRolandTB303FilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKRolandTB303FilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKRolandTB303FilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float cutoffFrequency;
14 | @property (nonatomic) float resonance;
15 | @property (nonatomic) float distortion;
16 | @property (nonatomic) float resonanceAsymmetry;
17 | @end
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKSamplePlayerAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKSamplePlayerAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | typedef void (^AKCCallback)(void);
13 |
14 | @interface AKSamplePlayerAudioUnit : AKAudioUnit
15 | @property (nonatomic) float startPoint;
16 | @property (nonatomic) float endPoint;
17 | @property (nonatomic) float rate;
18 | @property (nonatomic) float volume;
19 | @property (nonatomic) BOOL loop;
20 | @property (nonatomic) AKCCallback completionHandler;
21 |
22 | - (void)setupAudioFileTable:(UInt32)size;
23 | - (void)loadAudioData:(float *)data size:(UInt32)size;
24 | - (int)size;
25 | - (float)position;
26 |
27 | @end
28 |
29 |
30 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKSamplerMetronome.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKSamplerMetronome.h
3 | // AKMetronomeTest
4 | //
5 | // Created by David O'Neill on 8/24/17.
6 | // Copyright © 2017 AudioKit. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | /// A Simple Metronome that can be syncronized precicesly.
12 | @interface AKSamplerMetronome : AVAudioUnitSampler
13 |
14 | /// Tempo in Beats Per Minute
15 | @property double tempo;
16 |
17 | /// The number of beats in the loop.
18 | @property int beatCount;
19 |
20 | /// The current playback position of the metronome, in beats.
21 | @property double beatTime;
22 |
23 | /// Is metronome playing.
24 | @property (readonly) BOOL isPlaying;
25 |
26 | ///The beat sound url.
27 | @property NSURL * _Nullable sound;
28 |
29 | ///The down beat sound url.
30 | @property NSURL * _Nullable downBeatSound;
31 |
32 | /**
33 | Initialize with metronome sound and downbeat sound.
34 |
35 | @param soundURL The sound URL
36 | @param downBeatSoundURL The down beat sound URL, will use soundURL for down beat if nil
37 | */
38 | -(instancetype _Nonnull )initWithSound:(NSURL * _Nullable)soundURL downBeatSound:(NSURL * _Nullable)downBeatSoundURL NS_DESIGNATED_INITIALIZER;
39 |
40 | /**
41 | Initialize with metronome sound
42 |
43 | @param soundURL The sound URL
44 | */
45 | -(instancetype _Nonnull )initWithSound:(NSURL * _Nullable)soundURL;
46 |
47 | /// Starts playback
48 | -(void)play;
49 |
50 | /// Stops playback
51 | -(void)stop;
52 |
53 | /**
54 | Starts playback so that the metronome's resting beatTime will align with audioTime when started.
55 |
56 | If time is in the future, playback will wait to start until that time, if in the past it will start
57 | immediately, but beatTime will be offset so that it still will align with audioTime.
58 |
59 | @param audioTime A time relative the audio render context, host time will be ignnored unless sampleTime is invalid.
60 | */
61 | -(void)playAt:(AVAudioTime * _Nullable)audioTime;
62 |
63 | /**
64 | Sets the tempo, if audioTime is not nil and isPlaying, change will take place at audioTime.
65 |
66 | @param audioTime A time relative the audio render context, host time will be ignnored unless sampleTime is invalid.
67 | */
68 | -(void)setTempo:(double)tempo atTime:(AVAudioTime * _Nullable)audioTime;
69 |
70 | /**
71 | Sets the beatCount, if audioTime is not nil and isPlaying, change will take place at audioTime.
72 |
73 | @param audioTime A time relative the audio render context, host time will be ignnored unless sampleTime is invalid.
74 | */
75 | -(void)setBeatCount:(int)beatCount atTime:(AVAudioTime * _Nullable)audioTime;
76 |
77 | /** Sets the beatTime, if audioTime is not nil and isPlaying, change will take place at audioTime.
78 |
79 | @param audioTime A time relative the audio render context, host time will be ignnored unless sampleTime is invalid.
80 | */
81 | -(void)setBeatTime:(double)beatTime atTime:(AVAudioTime * _Nullable)audioTime;
82 |
83 | /**
84 | Retrieves the beat time that aligns with audioTime when playing.
85 |
86 | @param audioTime A time relative the audio render context, host time will be ignnored unless sampleTime is invalid.
87 | */
88 | -(double)beatTimeAtTime:(AVAudioTime * _Nullable)audioTime;
89 |
90 | @end
91 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKShakerAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKShakerAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKShakerAudioUnit : AKAudioUnit
13 |
14 | @property (nonatomic) UInt8 type;
15 | @property (nonatomic) float amplitude;
16 |
17 | - (void)triggerType:(UInt8)type Amplitude:(float)amplitude;
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKSporthStack.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKSporthStack.h
3 | // AudioKit
4 | //
5 | // Created by Joseph Constantakis on 3/14/17.
6 | // Copyright © 2017 AudioKit. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import
12 |
13 | @interface AKSporthStack : NSObject
14 | - (const char *)popString;
15 | - (float)popFloat;
16 |
17 | - (void)pushFloat:(float)f;
18 | - (void)pushString:(char *)str;
19 | @end
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKStereoFieldLimiterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKStereoFieldLimiterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKStereoFieldLimiterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float amount;
14 | @end
15 |
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKStringResonatorAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKStringResonatorAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKStringResonatorAudioUnit : AKAudioUnit
13 | @property (nonatomic) float fundamentalFrequency;
14 | @property (nonatomic) float feedback;
15 | @end
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKTanhDistortionAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKTanhDistortionAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 |
11 | #import "AKAudioUnit.h"
12 |
13 | @interface AKTanhDistortionAudioUnit : AKAudioUnit
14 | @property (nonatomic) float pregain;
15 | @property (nonatomic) float postgain;
16 | @property (nonatomic) float postiveShapeParameter;
17 | @property (nonatomic) float negativeShapeParameter;
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKTesterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKTesterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKTesterAudioUnit : AKAudioUnit
13 |
14 | @property (readonly) NSString* md5;
15 | @property int samples;
16 |
17 | @end
18 |
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKThreePoleLowpassFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKThreePoleLowpassFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKThreePoleLowpassFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float distortion;
14 | @property (nonatomic) float cutoffFrequency;
15 | @property (nonatomic) float resonance;
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKTimelineTap.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKTimelineTap.h
3 | // AudioKit
4 | //
5 | // Created by David O'Neill on 8/28/17.
6 | // Copyright © 2017 AudioKit. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 | #import "AKTimeline.h"
13 |
14 |
15 | @interface AKTimelineTap : NSObject {
16 | @public
17 | AKTimeline _timeline;
18 | }
19 |
20 | /**
21 | A block that will be called with timeline information.
22 |
23 | Will be called from the render thread, so no locks, Swift functions or
24 | Objective-C messages from within this block. Make sure not to capture self.
25 |
26 | @param timeline The AKTimeline.
27 | @param timeStamp A timestamp with mSampleTime representing position in a zero indexed timeline.
28 | @ param offset The number of samples from render start to timeStamp->mSampleTime. Will be
29 | non-zero when a render goes past the loop end and block is called twice in one render.
30 | frames The number of samples rendered.
31 | ioData The Audio buffer, may be invalid if preRender is true.
32 | */
33 | typedef void(^AKTimelineBlock)( AKTimeline * _Nonnull timeline,
34 | AudioTimeStamp * _Nonnull timeStamp,
35 | UInt32 offset,
36 | UInt32 frames,
37 | AudioBufferList * _Nonnull ioData);
38 |
39 |
40 | /**
41 | A block that will be called with timeline information.
42 | Will be called from the render thread, so no locks, Swift functions or
43 | Objective-C messages from within this block. Make sure not to capture self.
44 | */
45 | @property (readonly) AKTimelineBlock _Nullable timelineCallback NS_SWIFT_UNAVAILABLE("No render code in Swift");
46 |
47 | /**
48 | Dictates if timelineCallback will be called pre-render or post-render, defaults to false (postRender).
49 |
50 | Pre-render is better for triggering MIDI as the sample offset is taken into consideration. Post-render
51 | is neccessary for ioData buffer manipulation as buffers' mData is NULL during pre-render.
52 | */
53 | @property BOOL preRender;
54 |
55 | /**
56 | The underlying timeline.
57 | */
58 | @property (readonly) AKTimeline * _Nonnull timeline;
59 |
60 | /**
61 | Initializes a timelineTap, holds reference to audioUnit.
62 |
63 | @param audioUnit The audioUnit that will the tap notify on.
64 | @param block The block tha will be called on render thread.
65 | @return A renderTap ready to start.
66 | */
67 | -(instancetype _Nullable )initWithAudioUnit:(AudioUnit _Nonnull)audioUnit
68 | timelineBlock:(AKTimelineBlock _Nullable )block NS_DESIGNATED_INITIALIZER NS_SWIFT_UNAVAILABLE("No render code in Swift");
69 | /**
70 | Initializes a renderTap, holds reference to underlying audioUnit.
71 |
72 | @param node The AVAudioNode that will the tap will notify on.
73 | @param block The block tha will be called on render thread.
74 | @return A renderTap ready to start, or NULL if node has no accessible audioUnit.
75 | */
76 | -(instancetype _Nullable )initWithNode:(AVAudioNode * _Nonnull)node
77 | timelineBlock:(AKTimelineBlock _Nullable )block NS_SWIFT_UNAVAILABLE("No render code in Swift");
78 | -(instancetype _Nonnull )init NS_UNAVAILABLE;
79 |
80 | @end
81 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKToneComplementFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKToneComplementFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKToneComplementFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float halfPowerPoint;
14 | @end
15 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKToneFilterAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKToneFilterAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKToneFilterAudioUnit : AKAudioUnit
13 | @property (nonatomic) float halfPowerPoint;
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKTremoloAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKTremoloAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKTremoloAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float depth;
15 |
16 | - (void)setupWaveform:(int)size;
17 | - (void)setWaveformValue:(float)value atIndex:(UInt32)index;
18 | @end
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKTubularBellsAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKTubularBellsAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKTubularBellsAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float amplitude;
15 |
16 | - (void)triggerFrequency:(float)frequency amplitude:(float)amplitude;
17 |
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKVariableDelayAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKVariableDelayAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKVariableDelayAudioUnit : AKAudioUnit
13 | @property (nonatomic) float time;
14 | @property (nonatomic) float feedback;
15 | @end
16 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKVocalTractAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKVocalTractAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKVocalTractAudioUnit : AKAudioUnit
13 | @property (nonatomic) float frequency;
14 | @property (nonatomic) float tonguePosition;
15 | @property (nonatomic) float tongueDiameter;
16 | @property (nonatomic) float tenseness;
17 | @property (nonatomic) float nasality;
18 | @end
19 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKWhiteNoiseAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKWhiteNoiseAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKWhiteNoiseAudioUnit : AKAudioUnit
13 | @property (nonatomic) float amplitude;
14 | @end
15 |
16 |
17 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AKZitaReverbAudioUnit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AKZitaReverbAudioUnit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #pragma once
10 | #import "AKAudioUnit.h"
11 |
12 | @interface AKZitaReverbAudioUnit : AKAudioUnit
13 | @property (nonatomic) float predelay;
14 | @property (nonatomic) float crossoverFrequency;
15 | @property (nonatomic) float lowReleaseTime;
16 | @property (nonatomic) float midReleaseTime;
17 | @property (nonatomic) float dampingFrequency;
18 | @property (nonatomic) float equalizerFrequency1;
19 | @property (nonatomic) float equalizerLevel1;
20 | @property (nonatomic) float equalizerFrequency2;
21 | @property (nonatomic) float equalizerLevel2;
22 | @property (nonatomic) float dryWetMix;
23 | @end
24 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/AudioKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AudioKit.h
3 | // AudioKit
4 | //
5 | // Created by Aurelius Prochazka, revision history on Github.
6 | // Copyright © 2017 Aurelius Prochazka. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #if !TARGET_OS_TV
12 | #import
13 | #endif
14 |
15 | //! Project version number for AudioKit.
16 | FOUNDATION_EXPORT double AudioKitVersionNumber;
17 |
18 | //! Project version string for AudioKit.
19 | FOUNDATION_EXPORT const unsigned char AudioKitVersionString[];
20 |
21 | // Analysis
22 | #import "AKAmplitudeTrackerAudioUnit.h"
23 | #import "AKFrequencyTrackerAudioUnit.h"
24 | #if !TARGET_OS_TV
25 | #import "AKMicrophoneTrackerEngine.h"
26 | #endif
27 |
28 | // Effects
29 | #import "AKOperationEffectAudioUnit.h"
30 | #import "AKSporthStack.h"
31 |
32 | // Effects / Delay
33 | #import "AKVariableDelayAudioUnit.h"
34 |
35 | // Effects / Distortion
36 | #import "AKBitCrusherAudioUnit.h"
37 | #import "AKClipperAudioUnit.h"
38 | #import "AKTanhDistortionAudioUnit.h"
39 |
40 | // Effects / Dynamics
41 | #import "AKDynamicRangeCompressorAudioUnit.h"
42 | #import "AKDynaRageCompressorAudioUnit.h"
43 |
44 | // Effects / Envelopes
45 | #import "AKAmplitudeEnvelopeAudioUnit.h"
46 | #import "AKTremoloAudioUnit.h"
47 |
48 | // Efffects / Filters
49 | #import "AKAutoWahAudioUnit.h"
50 | #import "AKBandPassButterworthFilterAudioUnit.h"
51 | #import "AKBandRejectButterworthFilterAudioUnit.h"
52 | #import "AKCombFilterReverbAudioUnit.h"
53 | #import "AKDCBlockAudioUnit.h"
54 | #import "AKEqualizerFilterAudioUnit.h"
55 | #import "AKHighPassButterworthFilterAudioUnit.h"
56 | #import "AKHighShelfParametricEqualizerFilterAudioUnit.h"
57 | #import "AKKorgLowPassFilterAudioUnit.h"
58 | #import "AKLowPassButterworthFilterAudioUnit.h"
59 | #import "AKLowShelfParametricEqualizerFilterAudioUnit.h"
60 | #import "AKModalResonanceFilterAudioUnit.h"
61 | #import "AKMoogLadderAudioUnit.h"
62 | #import "AKPeakingParametricEqualizerFilterAudioUnit.h"
63 | #import "AKFormantFilterAudioUnit.h"
64 | #import "AKResonantFilterAudioUnit.h"
65 | #import "AKRolandTB303FilterAudioUnit.h"
66 | #import "AKStringResonatorAudioUnit.h"
67 | #import "AKThreePoleLowpassFilterAudioUnit.h"
68 | #import "AKToneComplementFilterAudioUnit.h"
69 | #import "AKToneFilterAudioUnit.h"
70 |
71 | // Effects / Guitar Processors
72 | #import "AKRhinoGuitarProcessorAudioUnit.h"
73 |
74 | // Effects / Phaser
75 | #import "AKPhaserAudioUnit.h"
76 |
77 | // Effects / Pitch Shifter
78 | #import "AKPitchShifterAudioUnit.h"
79 |
80 | // Effects / Reverb
81 | #import "AKChowningReverbAudioUnit.h"
82 | #import "AKConvolutionAudioUnit.h"
83 | #import "AKCostelloReverbAudioUnit.h"
84 | #import "AKFlatFrequencyResponseReverbAudioUnit.h"
85 | #import "AKZitaReverbAudioUnit.h"
86 |
87 | // Generators
88 | #import "AKOperationGeneratorAudioUnit.h"
89 |
90 | // Generators / Noise
91 | #import "AKBrownianNoiseAudioUnit.h"
92 | #import "AKPinkNoiseAudioUnit.h"
93 | #import "AKWhiteNoiseAudioUnit.h"
94 |
95 | // Generators / Oscillators
96 | #import "AKFMOscillatorAudioUnit.h"
97 | #import "AKFMOscillatorBankAudioUnit.h"
98 | #import "AKMorphingOscillatorAudioUnit.h"
99 | #import "AKMorphingOscillatorBankAudioUnit.h"
100 | #import "AKOscillatorAudioUnit.h"
101 | #import "AKOscillatorBankAudioUnit.h"
102 | #import "AKPhaseDistortionOscillatorAudioUnit.h"
103 | #import "AKPhaseDistortionOscillatorBankAudioUnit.h"
104 | #import "AKPWMOscillatorAudioUnit.h"
105 | #import "AKPWMOscillatorBankAudioUnit.h"
106 |
107 | // Generators / Physical Models
108 | #import "AKClarinetAudioUnit.h"
109 | #import "AKDripAudioUnit.h"
110 | #import "AKFluteAudioUnit.h"
111 | #import "AKMandolinAudioUnit.h"
112 | #import "AKMetalBarAudioUnit.h"
113 | #import "AKPluckedStringAudioUnit.h"
114 | #import "AKRhodesPianoAudioUnit.h"
115 | #import "AKShakerAudioUnit.h"
116 | #import "AKTubularBellsAudioUnit.h"
117 | #import "AKVocalTractAudioUnit.h"
118 |
119 | // Mixing
120 | #import "AKBalancerAudioUnit.h"
121 | #import "AKBoosterAudioUnit.h"
122 | #import "AKPannerAudioUnit.h"
123 | #import "AKStereoFieldLimiterAudioUnit.h"
124 |
125 | // Playback
126 | #import "AKPhaseLockedVocoderAudioUnit.h"
127 | #import "AKSamplePlayerAudioUnit.h"
128 | #import "AKPresetManager.h"
129 |
130 | // Testing
131 | #import "AKTesterAudioUnit.h"
132 |
133 | // EZAudio
134 | #import "EZAudio.h"
135 |
136 | // Offline
137 | #import "AKOfflineRenderAudioUnit.h"
138 |
139 | // Taps
140 | #import "AKRenderTap.h"
141 | #import "AKLazyTap.h"
142 | #import "AKTimelineTap.h"
143 |
144 | // Utilities
145 | #import "TPCircularBuffer.h"
146 | #import "TPCircularBuffer+Unit.h"
147 | #import "TPCircularBuffer+AudioBufferList.h"
148 | #import "AKTimeline.h"
149 |
150 | // Sequencer
151 | #import "AKSamplerMetronome.h"
152 |
153 | #ifdef JAZZY_HACK
154 | // Hack to get jazzy to see the UI classes, please ignore
155 | #import "EZPlot.h"
156 | #import "EZAudioDisplayLink.h"
157 | #import "EZAudioPlot.h"
158 | #import "EZAudioPlotGL.h"
159 | #endif
160 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/EZAudioDevice.h:
--------------------------------------------------------------------------------
1 | //
2 | // EZAudioDevice.h
3 | // EZAudio
4 | //
5 | // Created by Syed Haris Ali on 6/25/15.
6 | // Copyright (c) 2015 Syed Haris Ali. All rights reserved.
7 | //
8 | // Permission is hereby granted, free of charge, to any person obtaining a copy
9 | // of this software and associated documentation files (the "Software"), to deal
10 | // in the Software without restriction, including without limitation the rights
11 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | // copies of the Software, and to permit persons to whom the Software is
13 | // furnished to do so, subject to the following conditions:
14 | //
15 | // The above copyright notice and this permission notice shall be included in
16 | // all copies or substantial portions of the Software.
17 | //
18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | // THE SOFTWARE.
25 |
26 | #import
27 | #import
28 |
29 | #if TARGET_OS_IPHONE
30 | #import
31 | #elif TARGET_OS_MAC
32 | #endif
33 |
34 | /**
35 | The EZAudioDevice provides an interface for getting the available input and output hardware devices on iOS and OSX. On iOS the EZAudioDevice uses the available devices found from the AVAudioSession, while on OSX the EZAudioDevice wraps the AudioHardware API to find any devices that are connected including the built-in devices (for instance, Built-In Microphone, Display Audio). Since the AVAudioSession and AudioHardware APIs are quite different the EZAudioDevice has different properties available on each platform. The EZMicrophone now supports setting any specific EZAudioDevice from the `inputDevices` function.
36 | */
37 | @interface EZAudioDevice : NSObject
38 |
39 | //------------------------------------------------------------------------------
40 | #pragma mark - Class Methods
41 | //------------------------------------------------------------------------------
42 |
43 | //------------------------------------------------------------------------------
44 | // @name Getting The Devices
45 | //------------------------------------------------------------------------------
46 |
47 | /**
48 | Provides the current EZAudioDevice that is being used to pull input.
49 | @return An EZAudioDevice instance representing the currently selected input device.
50 | */
51 | + (EZAudioDevice *)currentInputDevice;
52 |
53 | //------------------------------------------------------------------------------
54 |
55 | /**
56 | Provides the current EZAudioDevice that is being used to output audio.
57 | @return An EZAudioDevice instance representing the currently selected ouotput device.
58 | */
59 | + (EZAudioDevice *)currentOutputDevice;
60 |
61 | //------------------------------------------------------------------------------
62 |
63 | /**
64 | Enumerates all the available input devices and returns the result in an NSArray of EZAudioDevice instances.
65 | @return An NSArray containing EZAudioDevice instances, one for each available input device.
66 | */
67 | + (NSArray *)inputDevices;
68 |
69 | //------------------------------------------------------------------------------
70 |
71 | /**
72 | Enumerates all the available output devices and returns the result in an NSArray of EZAudioDevice instances.
73 | @return An NSArray of output EZAudioDevice instances.
74 | */
75 | + (NSArray *)outputDevices;
76 |
77 | #if TARGET_OS_IPHONE
78 |
79 | //------------------------------------------------------------------------------
80 |
81 | /**
82 | Enumerates all the available input devices.
83 | - iOS only
84 | @param block When enumerating this block executes repeatedly for each EZAudioDevice found. It contains two arguments - first, the EZAudioDevice found, then a pointer to a stop BOOL to allow breaking out of the enumeration)
85 | */
86 | + (void)enumerateInputDevicesUsingBlock:(void(^)(EZAudioDevice *device,
87 | BOOL *stop))block;
88 |
89 | //------------------------------------------------------------------------------
90 |
91 | /**
92 | Enumerates all the available output devices.
93 | - iOS only
94 | @param block When enumerating this block executes repeatedly for each EZAudioDevice found. It contains two arguments - first, the EZAudioDevice found, then a pointer to a stop BOOL to allow breaking out of the enumeration)
95 | */
96 | + (void)enumerateOutputDevicesUsingBlock:(void (^)(EZAudioDevice *device,
97 | BOOL *stop))block;
98 |
99 | #elif TARGET_OS_MAC
100 |
101 | /**
102 | Enumerates all the available devices and returns the result in an NSArray of EZAudioDevice instances.
103 | - OSX only
104 | @return An NSArray of input and output EZAudioDevice instances.
105 | */
106 | + (NSArray *)devices;
107 |
108 | //------------------------------------------------------------------------------
109 |
110 | /**
111 | Enumerates all the available devices.
112 | - OSX only
113 | @param block When enumerating this block executes repeatedly for each EZAudioDevice found. It contains two arguments - first, the EZAudioDevice found, then a pointer to a stop BOOL to allow breaking out of the enumeration)
114 | */
115 | + (void)enumerateDevicesUsingBlock:(void(^)(EZAudioDevice *device,
116 | BOOL *stop))block;
117 |
118 | #endif
119 |
120 | //------------------------------------------------------------------------------
121 | #pragma mark - Properties
122 | //------------------------------------------------------------------------------
123 |
124 | /**
125 | An NSString representing a human-reable version of the device.
126 | */
127 | @property (nonatomic, copy, readonly) NSString *name;
128 |
129 | #if TARGET_OS_IPHONE
130 |
131 | /**
132 | An AVAudioSessionPortDescription describing an input or output hardware port.
133 | - iOS only
134 | */
135 | @property (nonatomic, strong, readonly) AVAudioSessionPortDescription *port;
136 |
137 | //------------------------------------------------------------------------------
138 |
139 | /**
140 | An AVAudioSessionDataSourceDescription describing a specific data source for the `port` provided.
141 | - iOS only
142 | */
143 | @property (nonatomic, strong, readonly) AVAudioSessionDataSourceDescription *dataSource;
144 |
145 | #elif TARGET_OS_MAC
146 |
147 | /**
148 | An AudioDeviceID representing the device in the AudioHardware API.
149 | - OSX only
150 | */
151 | @property (nonatomic, assign, readonly) AudioDeviceID deviceID;
152 |
153 | //------------------------------------------------------------------------------
154 |
155 | /**
156 | An NSString representing the name of the manufacturer of the device.
157 | - OSX only
158 | */
159 | @property (nonatomic, copy, readonly) NSString *manufacturer;
160 |
161 | //------------------------------------------------------------------------------
162 |
163 | /**
164 | An NSInteger representing the number of input channels available.
165 | - OSX only
166 | */
167 | @property (nonatomic, assign, readonly) NSInteger inputChannelCount;
168 |
169 | //------------------------------------------------------------------------------
170 |
171 | /**
172 | An NSInteger representing the number of output channels available.
173 | - OSX only
174 | */
175 | @property (nonatomic, assign, readonly) NSInteger outputChannelCount;
176 |
177 | //------------------------------------------------------------------------------
178 |
179 | /**
180 | An NSString representing the persistent identifier for the AudioDevice.
181 | - OSX only
182 | */
183 | @property (nonatomic, copy, readonly) NSString *UID;
184 |
185 | #endif
186 |
187 | @end
188 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/EZAudioFileMarker.h:
--------------------------------------------------------------------------------
1 | //
2 | // EZAudioFileMarker
3 | // AudioKit
4 | //
5 | // Created by Ryan Francesconi, revision history on Github.
6 | // Copyright © 2016 AudioKit. All rights reserved.
7 | //
8 | // A simple Swift friendly wrapper around the following C struct:
9 | // see: https://developer.apple.com/reference/audiotoolbox/audiofilemarker
10 | // Used in EZAudioFile.markers
11 |
12 | #import
13 |
14 | @interface EZAudioFileMarker : NSObject
15 |
16 | @property (nonatomic, strong) NSString *name;
17 | @property (nonatomic) NSNumber *framePosition;
18 | @property (nonatomic, strong) NSNumber *markerID;
19 | @property (nonatomic, strong) NSNumber *type;
20 |
21 | @end
22 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/EZAudioFloatConverter.h:
--------------------------------------------------------------------------------
1 | //
2 | // EZAudioFloatConverter.h
3 | // EZAudio
4 | //
5 | // Created by Syed Haris Ali on 6/23/15.
6 | // Copyright (c) 2015 Syed Haris Ali. All rights reserved.
7 | //
8 | // Permission is hereby granted, free of charge, to any person obtaining a copy
9 | // of this software and associated documentation files (the "Software"), to deal
10 | // in the Software without restriction, including without limitation the rights
11 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | // copies of the Software, and to permit persons to whom the Software is
13 | // furnished to do so, subject to the following conditions:
14 | //
15 | // The above copyright notice and this permission notice shall be included in
16 | // all copies or substantial portions of the Software.
17 | //
18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | // THE SOFTWARE.
25 |
26 | #import
27 | #import
28 |
29 | //------------------------------------------------------------------------------
30 | #pragma mark - Constants
31 | //------------------------------------------------------------------------------
32 |
33 | FOUNDATION_EXPORT UInt32 const EZAudioFloatConverterDefaultPacketSize;
34 |
35 | //------------------------------------------------------------------------------
36 | #pragma mark - EZAudioFloatConverter
37 | //------------------------------------------------------------------------------
38 |
39 | @interface EZAudioFloatConverter : NSObject
40 |
41 | //------------------------------------------------------------------------------
42 | #pragma mark - Class Methods
43 | //------------------------------------------------------------------------------
44 |
45 | + (instancetype)converterWithInputFormat:(AudioStreamBasicDescription)inputFormat;
46 |
47 | //------------------------------------------------------------------------------
48 | #pragma mark - Properties
49 | //------------------------------------------------------------------------------
50 |
51 | @property (nonatomic, assign, readonly) AudioStreamBasicDescription inputFormat;
52 | @property (nonatomic, assign, readonly) AudioStreamBasicDescription floatFormat;
53 |
54 | //------------------------------------------------------------------------------
55 | #pragma mark - Instance Methods
56 | //------------------------------------------------------------------------------
57 |
58 | - (instancetype)initWithInputFormat:(AudioStreamBasicDescription)inputFormat;
59 |
60 | //------------------------------------------------------------------------------
61 |
62 | - (void)convertDataFromAudioBufferList:(AudioBufferList *)audioBufferList
63 | withNumberOfFrames:(UInt32)frames
64 | toFloatBuffers:(float **)buffers;
65 |
66 | //------------------------------------------------------------------------------
67 |
68 | - (void)convertDataFromAudioBufferList:(AudioBufferList *)audioBufferList
69 | withNumberOfFrames:(UInt32)frames
70 | toFloatBuffers:(float **)buffers
71 | packetDescriptions:(AudioStreamPacketDescription *)packetDescriptions;
72 |
73 | //------------------------------------------------------------------------------
74 |
75 | @end
76 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/EZAudioFloatData.h:
--------------------------------------------------------------------------------
1 | //
2 | // EZAudioFloatData.h
3 | // EZAudio
4 | //
5 | // Created by Syed Haris Ali on 6/23/15.
6 | // Copyright (c) 2015 Syed Haris Ali. All rights reserved.
7 | //
8 | // Permission is hereby granted, free of charge, to any person obtaining a copy
9 | // of this software and associated documentation files (the "Software"), to deal
10 | // in the Software without restriction, including without limitation the rights
11 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 | // copies of the Software, and to permit persons to whom the Software is
13 | // furnished to do so, subject to the following conditions:
14 | //
15 | // The above copyright notice and this permission notice shall be included in
16 | // all copies or substantial portions of the Software.
17 | //
18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 | // THE SOFTWARE.
25 |
26 | #import
27 |
28 | //------------------------------------------------------------------------------
29 | #pragma mark - EZAudioFloatData
30 | //------------------------------------------------------------------------------
31 |
32 | @interface EZAudioFloatData : NSObject
33 |
34 | //------------------------------------------------------------------------------
35 |
36 | + (instancetype)dataWithNumberOfChannels:(int)numberOfChannels
37 | buffers:(float **)buffers
38 | bufferSize:(UInt32)bufferSize;
39 |
40 | //------------------------------------------------------------------------------
41 |
42 | @property (nonatomic, assign, readonly) int numberOfChannels;
43 | @property (nonatomic, assign, readonly) float **buffers;
44 | @property (nonatomic, assign, readonly) UInt32 bufferSize;
45 |
46 | //------------------------------------------------------------------------------
47 |
48 | - (float *)bufferForChannel:(int)channel;
49 |
50 | //------------------------------------------------------------------------------
51 |
52 | @end
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Headers/TPCircularBuffer+Unit.h:
--------------------------------------------------------------------------------
1 | //
2 | // TPCircularBuffer+Unit.h
3 | //
4 | // Created by David O'Neill on 8/21/17.
5 | // Copyright © 2017 O'Neill. All rights reserved.
6 | //
7 |
8 | #ifndef TPCircularBuffer_Unit_h
9 | #define TPCircularBuffer_Unit_h
10 |
11 | #ifdef __cplusplus
12 | extern "C" {
13 | #endif
14 |
15 | #import "TPCircularBuffer.h"
16 |
17 | /**
18 | * @brief Utilitiy functions for writing arbitrary sized values to a TPCircularBuffer.
19 | *
20 | * @discussion
21 | * TPCircularBufferUnitHead prepares the internal buffer using a header struct that store the
22 | * length and type, then returns a pointer to write to. TPCircularBufferUnitProduce
23 | * will advance the head by the length provided in the call to TPCircularBufferUnitHead plus
24 | * the length of the internal header struct. TPCircularBufferUnitTail will return the first
25 | * pointer that was produced, and TPCircularBufferUnitConsume will consume it. The type
26 | * arguments can be used to determine what kind of value is being written so that it can be
27 | * cast to the correct type when retrieved. It is important to use TPCircularBufferUnitProduce
28 | * only after a call to TPCircularBufferUnitHead, and to use TPCircularBufferUnitTail to retrieve
29 | * values that were written using TPCircularBufferUnitHead/TPCircularBufferUnitProduce.
30 | * TPCircularBufferUnitConsume can be called without calling TPCircularBufferUnitTail.
31 | */
32 |
33 | /**
34 | * @brief Returns a pointer for writing.
35 | *
36 | * @discussion Should be followed by a call to TPCircularBufferUnitProduce.
37 | *
38 | * @param buffer The circular buffer.
39 | * @param type A pointer to a flag that can be retrieved using TPCircularBufferUnitTail. Can be NULL.
40 | * @param length the byteSize of the value that will be written to head.
41 | */
42 | void *TPCircularBufferUnitHead(TPCircularBuffer *buffer, uint32_t *type, int length);
43 |
44 | /**
45 | * @brief Moves buffer head forward by length specified in TPCircularBufferUnitHead.
46 | *
47 | * @discussion Must be proceeded by a call to TPCircularBufferUnitHead.
48 | *
49 | * @param buffer The circular buffer.
50 | */
51 | void TPCircularBufferUnitProduce(TPCircularBuffer *buffer);
52 |
53 | /**
54 | * @brief Returns a pointer for reading.
55 | *
56 | * @discussion Follow with TPCircularBufferUnitConsume to consume value read.
57 | *
58 | * @param buffer The circular buffer.
59 | * @param type On output, a flag that was set with TPCircularBufferUnitHead. Can be NULL.
60 | * @param length On output, the byteSize of the value that was read. Can be NULL.
61 | */
62 | void *TPCircularBufferUnitTail(TPCircularBuffer *buffer, uint32_t *type, int *length);
63 |
64 | /**
65 | * @brief Consumes the next value in buffer.
66 | *
67 | * @discussion Does not have to be proceeded by TPCircularBufferUnitTail.
68 | *
69 | * @param buffer The circular buffer.
70 | */
71 | void TPCircularBufferUnitConsume(TPCircularBuffer *buffer);
72 |
73 | /**
74 | @code
75 |
76 | typedef struct {
77 | float x;
78 | float y;
79 | }PointStruct;
80 |
81 | typedef struct {
82 | char name[20];
83 | int age;
84 | }Person;
85 |
86 | TPCircularBuffer tpCircularBuffer;
87 |
88 | UInt32 pointType = 0;
89 | UInt32 personType = 1;
90 | UInt32 intsType = 2;
91 |
92 | TPCircularBufferInit(&tpCircularBuffer, 4096);
93 |
94 |
95 | Person jim = {
96 | .name = "Jimmy",
97 | .age = 123
98 | };
99 |
100 | void *head = TPCircularBufferUnitHead(&tpCircularBuffer, &personType, sizeof(jim));
101 | memcpy(head, &jim, sizeof(jim));
102 | TPCircularBufferUnitProduce(&tpCircularBuffer);
103 |
104 | PointStruct *pointHead = TPCircularBufferUnitHead(&tpCircularBuffer, &pointType, sizeof(PointStruct));
105 | pointHead->x = 12.34;
106 | pointHead->y = 56.789;
107 | TPCircularBufferUnitProduce(&tpCircularBuffer);
108 |
109 | int ints[7] = {8,6,7,5,3,0,9};
110 | head = TPCircularBufferUnitHead(&tpCircularBuffer, &intsType, sizeof(ints));
111 | memcpy(head, ints, sizeof(ints));
112 | TPCircularBufferUnitProduce(&tpCircularBuffer);
113 |
114 | PointStruct point = {.x = 543, .y = 0.321 };
115 | pointHead = TPCircularBufferUnitHead(&tpCircularBuffer, &pointType, sizeof(point));
116 | *pointHead = point;
117 | TPCircularBufferUnitProduce(&tpCircularBuffer);
118 |
119 | UInt32 type;
120 | int length;
121 | void *tail = TPCircularBufferUnitTail(&tpCircularBuffer, &type, &length);
122 |
123 | while (tail != NULL) {
124 | if (type == pointType) {
125 | PointStruct *point = tail;
126 | printf("point - { x: %.3f, y: %.3f }\n", point->x, point->y);
127 | }
128 | else if (type == personType ) {
129 | Person *person = tail;
130 | printf("person - { name: %s, age: %i }\n", person->name, person->age);
131 | }
132 | else if (type == intsType) {
133 | int *ints = tail;
134 | int count = length / sizeof(int);
135 | printf("ints - [");
136 | for (int i = 0; i < count; i++) {
137 | printf("%i",ints[i]);
138 | if (i != count - 1) printf(",");
139 | }
140 | printf("]\n");
141 | }
142 | TPCircularBufferUnitConsume(&tpCircularBuffer);
143 | tail = TPCircularBufferUnitTail(&tpCircularBuffer, &type, &length);
144 | }
145 | TPCircularBufferCleanup(&tpCircularBuffer);
146 |
147 | @endCode
148 | */
149 |
150 | #ifdef __cplusplus
151 | }
152 | #endif
153 |
154 | #endif /* TPCircularBuffer_Unit_h */
155 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Modules/AudioKit.swiftmodule/x86_64.swiftdoc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Modules/AudioKit.swiftmodule/x86_64.swiftdoc
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Modules/AudioKit.swiftmodule/x86_64.swiftmodule:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Modules/AudioKit.swiftmodule/x86_64.swiftmodule
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Modules/module.modulemap:
--------------------------------------------------------------------------------
1 | framework module AudioKit {
2 | umbrella header "AudioKit.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
8 | module AudioKit.Swift {
9 | header "AudioKit-Swift.h"
10 | requires objc
11 | }
12 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 16G29
7 | CFBundleDevelopmentRegion
8 | en
9 | CFBundleExecutable
10 | AudioKit
11 | CFBundleIdentifier
12 | io.audiokit.AudioKit
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | AudioKit
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 4.0
21 | CFBundleSignature
22 | ????
23 | CFBundleSupportedPlatforms
24 |
25 | MacOSX
26 |
27 | CFBundleVersion
28 | 1
29 | DTCompiler
30 | com.apple.compilers.llvm.clang.1_0
31 | DTPlatformBuild
32 | 9A235
33 | DTPlatformVersion
34 | GM
35 | DTSDKBuild
36 | 17A360
37 | DTSDKName
38 | macosx10.13
39 | DTXcode
40 | 0900
41 | DTXcodeBuild
42 | 9A235
43 | NSHumanReadableCopyright
44 | Copyright © 2016 AudioKit. All rights reserved.
45 |
46 |
47 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/fwavblnk.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/fwavblnk.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand1.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand1.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand10.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand10.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand11.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand11.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand12.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand12.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand2.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand2.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand3.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand3.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand4.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand4.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand5.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand5.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand6.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand6.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand7.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand7.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand8.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand8.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand9.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mand9.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mandpluk.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/mandpluk.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/sinewave.raw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/A/Resources/sinewave.raw
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/AudioKit.framework/Versions/Current:
--------------------------------------------------------------------------------
1 | A
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/OscillatorInstrument.swift:
--------------------------------------------------------------------------------
1 | //
2 | // OscillatorInstrument.swift
3 | // OF-AK-HelloWorld
4 | //
5 | // Created by Nicholas Arner on 4/12/16.
6 | //
7 | //
8 |
9 | import Foundation
10 | import AudioKit
11 |
12 | open class OscillatorInstrument: NSObject {
13 | var oscillator = AKOscillator()
14 |
15 | public override init() {
16 | AudioKit.output = oscillator
17 | AudioKit.start()
18 | }
19 |
20 | open func startSound() {
21 | oscillator.start()
22 | }
23 |
24 | open func stopSound(){
25 | oscillator.stop()
26 | }
27 |
28 | }
29 |
30 |
31 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/main.mm:
--------------------------------------------------------------------------------
1 | #include "ofMain.h"
2 | #include "ofApp.h"
3 |
4 | //========================================================================
5 | int main( ){
6 | ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context
7 |
8 | // this kicks off the running of my app
9 | // can be OF_WINDOW or OF_FULLSCREEN
10 | // pass in width and height too:
11 | ofRunApp(new ofApp());
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/ofApp.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "ofMain.h"
4 | #import "OF_AK_HelloWorldDebug-Swift.h"
5 |
6 | class ofApp : public ofBaseApp{
7 |
8 | public:
9 | void setup();
10 | void update();
11 | void draw();
12 |
13 | void keyPressed(int key);
14 | void keyReleased(int key);
15 | void mouseMoved(int x, int y );
16 | void mouseDragged(int x, int y, int button);
17 | void mousePressed(int x, int y, int button);
18 | void mouseReleased(int x, int y, int button);
19 | void mouseEntered(int x, int y);
20 | void mouseExited(int x, int y);
21 | void windowResized(int w, int h);
22 | void dragEvent(ofDragInfo dragInfo);
23 | void gotMessage(ofMessage msg);
24 |
25 | };
26 |
--------------------------------------------------------------------------------
/OF-AK-HelloWorld(OSX)/src/ofApp.mm:
--------------------------------------------------------------------------------
1 | #include "ofApp.h"
2 |
3 | OscillatorInstrument *instrument = [[OscillatorInstrument alloc] init];
4 |
5 | //--------------------------------------------------------------
6 | void ofApp::setup(){
7 | }
8 |
9 | //--------------------------------------------------------------
10 | void ofApp::update(){
11 |
12 | }
13 |
14 | //--------------------------------------------------------------
15 | void ofApp::draw(){
16 | ofDrawBitmapString("OFX-AK Hello, world!", 10, 50);
17 | ofDrawBitmapString("Hold the mouse down to play the oscillator", 10, 110);
18 | ofDrawBitmapString("Release the mouse to stop playing the oscillator", 10, 125);
19 |
20 | }
21 |
22 | //--------------------------------------------------------------
23 | void ofApp::keyPressed(int key){
24 |
25 | }
26 |
27 | //--------------------------------------------------------------
28 | void ofApp::keyReleased(int key){
29 |
30 | }
31 |
32 | //--------------------------------------------------------------
33 | void ofApp::mouseMoved(int x, int y ){
34 |
35 | }
36 |
37 | //--------------------------------------------------------------
38 | void ofApp::mouseDragged(int x, int y, int button){
39 |
40 | }
41 |
42 | //--------------------------------------------------------------
43 | void ofApp::mousePressed(int x, int y, int button){
44 | [instrument startSound];
45 |
46 | }
47 |
48 | //--------------------------------------------------------------
49 | void ofApp::mouseReleased(int x, int y, int button){
50 | [instrument stopSound];
51 | }
52 |
53 | //--------------------------------------------------------------
54 | void ofApp::mouseEntered(int x, int y){
55 |
56 | }
57 |
58 | //--------------------------------------------------------------
59 | void ofApp::mouseExited(int x, int y){
60 |
61 | }
62 |
63 | //--------------------------------------------------------------
64 | void ofApp::windowResized(int w, int h){
65 |
66 | }
67 |
68 | //--------------------------------------------------------------
69 | void ofApp::gotMessage(ofMessage msg){
70 |
71 | }
72 |
73 | //--------------------------------------------------------------
74 | void ofApp::dragEvent(ofDragInfo dragInfo){
75 |
76 | }
77 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OpenFrameworks-and-AudioKit
2 |
3 | ### Introduction
4 |
5 | If you're making an OpenFrameworks project that will only run on an OS X device, it's possible to
6 | include [AudioKit](http://audiokit.io/) in your OpenFrameworks project. AudioKit gives you the
7 | ability to quickly prototype great sounding instruments, and is written in pure
8 | Swift. If you're an OpenFrameworks developer who's not familiar with AudioKit, check out some of
9 | the work shown in our [gallery](http://audiokit.io/gallery/). Hopefully they will inspire you to
10 | use AudioKit in some of your games or installations! This tutorial will show you how to add
11 | AudioKit to your OpenFrameworks project, and create a simple Hello World example. While it's a
12 | rather simple sounding oscillator, it's important to remember that anything you hear in the Gallery
13 | pages that you like can also be implemented in your Open Frameworks project.
14 |
15 | ### Getting Started
16 |
17 | Before we start, make sure that you have:
18 |
19 | 1) [Xcode 9](https://developer.apple.com/xcode/download/) installed
20 |
21 | 2) [OpenFrameworks 0.9.4](http://openframeworks.cc/download/) or later downloaded for OS X
22 |
23 | 3) You've downloaded the [AudioKit-macOS-3.6.zip](https://github.com/AudioKit/AudioKit/releases/tag/v4.0).
24 |
25 | We can create our OpenFrameworks project now. Using the Project Generator, go ahead
26 | and create a new OS X project. Call it "OF-AK-HelloWorld", and set its location to be inside of
27 | the default "My Apps" folder:
28 |
29 | Since AudioKit is a Swift framework, there's a few things we'll need to consider. First, any file
30 | that we want to call AudioKit code from will need to be an Objective-C++ file. This is because
31 | while it's possible to call Swift code from Objective-C++ code, it is not possible to do so from
32 | C++. To change the file type, change the file extension from `.cpp` to `.mm`. We're going to do
33 | this for our`ofApp.cpp` and our `main.cpp` files. After you've done this, change the file type to
34 | "Objective-C++" source.
35 |
36 | Your file information will look like this at first:
37 |
38 | 
39 |
40 | ...and should look like this once you've changed it's information:
41 |
42 | 
43 |
44 | Again, it's important to remember that because we're changing the file types, your OpenFrameworks
45 | project will only compile on an OS X device.
46 |
47 | Because AudioKit 3.5 and above requires Swift 3.2, our app's Deployment Target needs to be OS X
48 | 10.11 or higher. Go to your project's "General" tab
49 |
50 | 
51 |
52 | and make sure that the Deployment Target is set to 10.11.
53 |
54 | ### Adding AudioKit
55 |
56 | AudioKit comes with pre-compiled frameworks. If you're planning on distributing your app, we
57 | recommend copying the framework into your project:
58 |
59 | 
60 |
61 | Make sure that the framework is included in your app's Embedded Binaries listing:
62 |
63 | 
64 |
65 | Now, we're going to create a Swift file to define our AudioKit instrument in. We're going to call
66 | our file `OscillatorInstrument.swift`.
67 |
68 | Xcode will ask you if you want to create a Bridging Header...we don't need one, as we're calling
69 | Swift code from Objective-C++, and not the other way around.
70 |
71 | Now, build your project. This will auto-generate a `Swift.h` file, which is what allows us to
72 | call into Swift code from Objective-C++. You can find this file by going to Build Settings, and
73 | searching for "Interface Header". You should see a listing for an "Objective-C Generated
74 | Interface Header Name", and it should be named `OF_AK_HelloWorldDebug-Swift.h`:
75 |
76 | 
77 |
78 | Go to your `ofApp.h` file and add the import statement below:
79 | `#import "OF_AK_HelloWorldDebug-Swift.h`
80 |
81 | NOTE: Occasionally, this may not display the full-text of the `Swift.h` file, and may display as
82 | `$(SWIFT_MODULE_NAME)-Swift.h`. This appears to be a bug in Xcode.
83 |
84 | Build your project again to make sure that you've sucesfully imported this file. If you get an
85 | error, you probably forgot to build after you created your `OscillatorInstrument.swift` file.
86 |
87 | Go to `OscillatorInstrument.swift`, and import AudioKit by adding the line below under
88 | `import Foundation`:
89 | `import AudioKit`
90 |
91 | Add the code below to create a simple oscillator instrument, as well as functions for turning it
92 | on and off:
93 |
94 | ```swift
95 | import Foundation
96 | import AudioKit
97 |
98 | open class OscillatorInstrument: NSObject {
99 | var oscillator = AKOscillator()
100 |
101 | public override init() {
102 | AudioKit.output = oscillator
103 | AudioKit.start()
104 | }
105 |
106 | open func startSound() {
107 | oscillator.start()
108 | }
109 |
110 | open func stopSound(){
111 | oscillator.stop()
112 | }
113 |
114 | }
115 | ```
116 |
117 | ### Creating and Interacting with our Oscillator
118 |
119 | Now, go to your `ofApp.mm` file, and add the line below as a global variable:
120 |
121 | ```Objective-C
122 | #include "ofApp.h"
123 |
124 | OscillatorInstrument *instrument = [[OscillatorInstrument alloc] init];
125 |
126 | //--------------------------------------------------------------
127 | void ofApp::setup(){
128 | }
129 | ```
130 |
131 | This will create an instance of our `OscillatorInstrument` class called "Instrument" as soon as
132 | our app has started.
133 |
134 | Now, we want to give our app the ability to start and stop our oscillator. To do that, we'll add a
135 | call to our "Stop" method inside of the `mousePressed` event method:
136 |
137 | ```C++
138 | void ofApp::mousePressed(int x, int y, int button){
139 | [instrument startSound];
140 | }
141 | ```
142 |
143 | And, to stop our oscillator, add a call to our "Stop" method inside of the `mouseReleased method`:
144 |
145 | ```C++
146 | void ofApp::mouseReleased(int x, int y, int button){
147 | [instrument stopSound];
148 | }
149 | ```
150 |
151 | Go ahead and run the app. When it starts, press down on your mouse. You should hear an oscillator!
152 | To stop the sound, just let go of your mouse.
153 |
--------------------------------------------------------------------------------
/tutorialImages/AudioKitFrameworkSearchPath.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/AudioKitFrameworkSearchPath.png
--------------------------------------------------------------------------------
/tutorialImages/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Nick Arner
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/tutorialImages/akProject.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/akProject.png
--------------------------------------------------------------------------------
/tutorialImages/copiedFramework.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/copiedFramework.png
--------------------------------------------------------------------------------
/tutorialImages/cpp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/cpp.png
--------------------------------------------------------------------------------
/tutorialImages/deploymentTarget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/deploymentTarget.png
--------------------------------------------------------------------------------
/tutorialImages/embeddedBinaries.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/embeddedBinaries.png
--------------------------------------------------------------------------------
/tutorialImages/frameworkPath.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/frameworkPath.png
--------------------------------------------------------------------------------
/tutorialImages/frameworkSearchPaths.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/frameworkSearchPaths.png
--------------------------------------------------------------------------------
/tutorialImages/generalTab.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/generalTab.png
--------------------------------------------------------------------------------
/tutorialImages/interfaceHeader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/interfaceHeader.png
--------------------------------------------------------------------------------
/tutorialImages/mm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/mm.png
--------------------------------------------------------------------------------
/tutorialImages/myApps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/myApps.png
--------------------------------------------------------------------------------
/tutorialImages/ofInstall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/ofInstall.png
--------------------------------------------------------------------------------
/tutorialImages/oscillatorCreation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/narner/OpenFrameworks-and-AudioKit-HelloWorld/808f91fdbbd561f16a391ac213f8867ef6b7ffa1/tutorialImages/oscillatorCreation.png
--------------------------------------------------------------------------------