Posts

Post not yet marked as solved
0 Replies
523 Views
Hi, I am developing an application in Objective-C in which at a given moment I have to play samples (its duration is 1 second aprox) when the user hits a pad of his instrument (which has several pads). I receive the notes through a MIDI interface (CoreMIDI-Wrapper, available in Github) and to play the samples I'm doing the following: Previously I have an AVAudioEngine instantiated and in its mixer node (AVAudioMixerNode) I have attached 16 AVAudioPlayerNode. I have an integer (iCurrentNode ranging from 0 to 15) that points to the current AVAudioPlayerNode. When the user hits a pad I do: [aAVAudioPlayerNode[iCurrentNode] scheduleBuffer:PCMbuffer_note atTime:nil completionHandler{}]; iCurrentNode++; if(iCurrentNode == 16)iCurrentNode = 0; The reason for the 16 playback nodes is that scheduleBuffer does not allow overlapping sounds. Therefore, if the user hits a pad and hits it again before the first sound has finished playing, that is queued instead of being overlapped. The implementation gives me too lag on iPad Pro 10,5" (about half a second). I think I have done a bad approach to the problem... Somebody could help me? Thanks
Posted
by AdrwDev.
Last updated
.
Post not yet marked as solved
0 Replies
298 Views
Hi, in iOS to save an event to Calendars we have the method: [oEKEventStore saveEvent:event span:EKSpanThisEvent commit:YES error:&err]; but i don't know how can I do the same but from watchOS. I have the EKEvent with all attributes setted (title, start date, calendar, etc..) but I don't know how persist it 😞 Thanks!
Posted
by AdrwDev.
Last updated
.
Post not yet marked as solved
0 Replies
372 Views
Hi, I have an app that some days ago was not iOS 11 ready so users were prompted ““MYAPPNAME Needs to Be Updated. The developer of this app needs to update it to work with iOS 11”.I’ve sent a new version iOS 11 compatible (64 bit)Now my users are mailing me that they can’t update the app, if they visit the Appstore and tap my product, there is not the UPDATE option, only DOWNLOAD so they have my app duplicated once downloaded from Appstore. The problem is that this new version has lost all NSUSERDEFAULTS saved data, in my case, all records are lostIs there a way to allow UPDATE after 64bit app is sent to the Appstore? Of couse I have not modified my app id, bundle id, etc so I don’t understand why Appstore is not overwritting the old version once dowloaded!!
Posted
by AdrwDev.
Last updated
.