{"action":"created","issue":{"url":"https://api.github.com/repos/audiokit/AudioKit/issues/395","repository_url":"https://api.github.com/repos/audiokit/AudioKit","labels_url":"https://api.github.com/repos/audiokit/AudioKit/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/audiokit/AudioKit/issues/395/comments","events_url":"https://api.github.com/repos/audiokit/AudioKit/issues/395/events","html_url":"https://github.com/audiokit/AudioKit/issues/395","id":159739864,"number":395,"title":"AnalogSynthX build error for playVoice and stopVoice","user":{"login":"WholeCheese","id":19720230,"avatar_url":"https://avatars.githubusercontent.com/u/19720230?v=3","gravatar_id":"","url":"https://api.github.com/users/WholeCheese","html_url":"https://github.com/WholeCheese","followers_url":"https://api.github.com/users/WholeCheese/followers","following_url":"https://api.github.com/users/WholeCheese/following{/other_user}","gists_url":"https://api.github.com/users/WholeCheese/gists{/gist_id}","starred_url":"https://api.github.com/users/WholeCheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WholeCheese/subscriptions","organizations_url":"https://api.github.com/users/WholeCheese/orgs","repos_url":"https://api.github.com/users/WholeCheese/repos","events_url":"https://api.github.com/users/WholeCheese/events{/privacy}","received_events_url":"https://api.github.com/users/WholeCheese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-10T23:09:44Z","updated_at":"2016-06-11T05:52:48Z","closed_at":null,"body":"I just cloned the AudioKit today and built the frameworks as instructed on the GitHub page.\r\n\r\nbuild_frameworks.sh ended with \"** BUILD SUCCEEDED **\" and there is a AudioKit.framework in the AudioKit-iOS directory.  So far so good.\r\n\r\nBut now, when I attempt to build the AnalogSynthX example app within XCode, I get these two errors:\r\n\r\nAudioKit/Examples/iOS/AnalogSynthX/AnalogSynthX/AudioSystem/CoreInstrument.swift:211:19:\r\nerror: method does not override any method from its superclass\r\n    override func playVoice(voice: AKVoice, note: Int, velocity: Int) {\r\n    ~~~~~~~~      ^\r\n\r\nAudioKit/Examples/iOS/AnalogSynthX/AnalogSynthX/AudioSystem/CoreInstrument.swift:236:19:\r\nerror: method does not override any method from its superclass\r\n    override func stopVoice(voice: AKVoice, note: Int) {\r\n    ~~~~~~~~      ^\r\n\r\n(Oh, and yes, I made sure that the AnalogSynthX project is linking with the AudioKit.framework created by the build_frameworks.sh.)\r\n\r\nCoreInstrument is a super class of AKPolyphonicInstrument and when I command click on \"AKPolyphonicInstrument\" I see the prototypes for two public functions \"playNote\" and \"stopNote\", but no \"playVoice\" or \"stopVoice\".  Being new to Swift I take it that the prototypes I am seeing here are the ones defined in the framework, correct?\r\n\r\nNow if I search within the AudioKit.xcworkspace project I do find the code for these two functions in the AKPolyphonicInstrument class defined in the AudioKit/Instruments/AKInstrument.swift source file.\r\n\r\nHowever they are defined as \"internal\".\r\n\r\nI am fairly new to Swift but I read \"internal\" as meaning not exposed outside of the class, hence the \"_method does not override any method from its superclass_\" error I see in the AnalogSynthX example.\r\n\r\nIs anyone else seeing this?  How do I build the example apps without having to modify the AudioKit framework?\r\n\r\nThanks!\r\n-Allan\r\n"},"comment":{"url":"https://api.github.com/repos/audiokit/AudioKit/issues/comments/225338957","html_url":"https://github.com/audiokit/AudioKit/issues/395#issuecomment-225338957","issue_url":"https://api.github.com/repos/audiokit/AudioKit/issues/395","id":225338957,"user":{"login":"WholeCheese","id":19720230,"avatar_url":"https://avatars.githubusercontent.com/u/19720230?v=3","gravatar_id":"","url":"https://api.github.com/users/WholeCheese","html_url":"https://github.com/WholeCheese","followers_url":"https://api.github.com/users/WholeCheese/followers","following_url":"https://api.github.com/users/WholeCheese/following{/other_user}","gists_url":"https://api.github.com/users/WholeCheese/gists{/gist_id}","starred_url":"https://api.github.com/users/WholeCheese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WholeCheese/subscriptions","organizations_url":"https://api.github.com/users/WholeCheese/orgs","repos_url":"https://api.github.com/users/WholeCheese/repos","events_url":"https://api.github.com/users/WholeCheese/events{/privacy}","received_events_url":"https://api.github.com/users/WholeCheese/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T05:52:48Z","updated_at":"2016-06-11T05:52:48Z","body":"Thank you! I'm not just seeing things?  :-)\n\n-Allan\n\n> On Jun 10, 2016, at 8:14 PM, Aurelius Prochazka <notifications@github.com> wrote:\n> \n> I think you're on the master branch, right? This should be fixed in develop and we'll make a release to master soon.\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"WholeCheese"}}