[Csnd] Csound xcode
Date | 2013-11-04 21:58 |
From | daredevilpantera |
Subject | [Csnd] Csound xcode |
Any one know if it's a version of Csound IOS for IOS SDK 7.0, I csound API working on my Ipad but for the version 6.1 but I need to set up the deployment target to 7.0 -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-xcode-tp5729141.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-11-05 00:53 |
From | Steven Yi |
Subject | Re: [Csnd] Csound xcode |
Hi David, I was looking into this a while back but ran into a problem, then the CS Conference took over. I think I had to solve the problem anyways for 6.01, so that initial problem may not be there now. I think for an iOS7 release, I'll have to rebuild libsndfile as well as csound-iOS. I'll spend a little time to look into it now and see if it'll be quick to build. For the general iOS community: Does anyone need iOS 6 compatibility, or are you all targeting iOS 7 now? If 7, I can move forward with a 7-only build, otherwise building is going to be a pain and I'll have to maintain multiple builds. Thanks, steven On Mon, Nov 4, 2013 at 4:58 PM, daredevilpantera |
Date | 2013-11-05 02:15 |
From | Steven Yi |
Subject | Re: [Csnd] Csound xcode |
Hi David, Try this build: http://www.kunstmusik.com/csound-iOS-6.01.0-iOS7.zip I built this for armv7, armv7s, arm64, i386, and x86_64. That should cover all supported simulators and devices for iOS7. Note, the libraries for libsndfile and libcsound have grown due to the additional architectures being compiled for. XCode complained that to include 64-bit architectures, a minimum of iOS 5.1.1 for target was required, so I guess you can still use these for iOS 5.1.1 and up. I'm going to commit the changes and plan to only release this build moving forward. I tested this and ran in iPad simulator 64-bit Retina, as well as on iPad 3. I do not have arm64 hardware (i.e. iPhone 5, iPad air, or new iPad mini which is not out yet) to test on. Let me know if this works for you. If so, I will push this release to Sourceforge. Thanks! steven On Mon, Nov 4, 2013 at 7:53 PM, Steven Yi |
Date | 2013-11-05 02:34 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Csound xcode |
Steven, I think that we are "required" by Apple to submit iOS 7 compatible apps now for review. So... we do need it to work with iOS 7. Hopefully you can get the SDK updated for this.
And thanks. -dB
On Mon, Nov 4, 2013 at 7:53 PM, Steven Yi <stevenyi@gmail.com> wrote: Hi David, |
Date | 2013-11-05 02:40 |
From | Steven Yi |
Subject | Re: [Csnd] Csound xcode |
Hi Dr. B, I think you're an email behind. :) the build I posted should work for targeting ios7 as it has all of the architectures, both 32-bit and 64-bit. I'd be interested to hear how the performance is on the arm8 (arm64) as I've read it's very fast! Steven On Nov 4, 2013 9:35 PM, "Dr. Richard Boulanger" <rboulanger@berklee.edu> wrote:
|
Date | 2013-11-05 02:52 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Csound xcode |
thanks. sorry. just catching up with emails. I am about to purchase a iPad Air tomorrow - and so I will let you know how csSpectral and the SDK runs on that. best
-dB
On Mon, Nov 4, 2013 at 9:40 PM, Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2013-11-05 03:11 |
From | Steven Yi |
Subject | Re: [Csnd] Csound xcode |
All good! Look forward to hearing reports on the new Air! On Mon, Nov 4, 2013 at 9:52 PM, Dr. Richard Boulanger |
Date | 2013-11-05 10:54 |
From | daredevilpantera |
Subject | [Csnd] Re: Csound xcode |
Hi Steve I am getting 2 error compilation and 7 warnings. *Errors:* /CsoundObj.h:/ -(float*)getInputChannelPtr:(NSString*)channelName channelType:(controlChannelType)channelType; Error message: parse issue expected type -(float*)getOutputChannelPtr:(NSString*)channelName channelType:(controlChannelType)channelType; Error message: parse issue expected type *Warnings:* /CachedAttitude.m:/ channelPtrRoll = [csoundObj getInputChannelPtr:CS_ATTITUDE_ROLL channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" channelPtrPitch = [csoundObj getInputChannelPtr:CS_ATTITUDE_PITCH channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" channelPtrYaw = [csoundObj getInputChannelPtr:CS_ATTITUDE_YAW channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" /CachedSlider.h:/ -(void)setup:(CsoundObj*)csoundObj { channelPtr = [csoundObj getInputChannelPtr:self.channelName channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" /CachedAttitude.m:/ channelPtrRoll = [csoundObj getInputChannelPtr:CS_ATTITUDE_ROLL channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" channelPtrPitch = [csoundObj getInputChannelPtr:CS_ATTITUDE_PITCH channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" channelPtrYaw = [csoundObj getInputChannelPtr:CS_ATTITUDE_YAW channelType:CSOUND_CONTROL_CHANNEL]; Warning message: incompatible integer to pointer conversion sending 'int' to parameter type "id" Also I am turning off ARC on the Csound library on build phases I am compiling it on my own project Like Richard said apple are looking only for apps developed under IOS 7, it is one of their requirements. Thanks -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-xcode-tp5729141p5729166.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-11-05 20:02 |
From | Steven Yi |
Subject | Re: [Csnd] Re: Csound xcode |
Hi Dave, I took a look, did a clean and a rebuild, and I'm not getting any errors here, but I am getting some warnings. I get some regarding MIDI code (looks like they may have changed to the type of some of these things). I don't get the same warnings you have there. Some questions/notes: 1) Were the issues reported when using the Csound iOS Examples project, or in your own project? (If in your own project, could you try building the Examples project and see if you get the same errors?) 2) Did you delete the csound-iOS folder from your project and re-add using this new one? 3) The error with CsoundObj.m seems to hint that you've got a non-cs6 header in your path that doesn't have controlChannelType, which was introduced in CS6. I'm not sure if that's it, but that's my guess. 4) Regarding ARC, I'm not sure if turning that off is introducing issues. I moved to ARC support for CS6 as people had requested it. I haven't tried using the newer libs with a non-ARC project. 5) What OSX version and XCode version are you using? I'm on 10.8.5 and using XCode 5.01. Thanks! steven On Tue, Nov 5, 2013 at 5:54 AM, daredevilpantera |
Date | 2013-11-06 15:04 |
From | daredevilpantera |
Subject | [Csnd] Re: Csound xcode |
Hi Steven 1)I tried to build the file you send me and I am getting 20 warnings and 1 error. All the warnings are AudioSessionSet is deprecated an the error it is a clang error: linker command failed with exit code (use -v to see invocation) I don't know if have to do any process before I have to build the app 2) yes, it is what I did. I have an old version of Csound IOS on my project which it is working with thecompiler base SDK latest IOS(build setting), but in general settings of the project the deployment target are 6.1(should be 7.0), if I run it under the deployment target 7.0 I got 15 warnings related to methods deprecated. 4)to run the project, I have to stop ARC on the files related to Csound, for the oters it work perfect 5) I am on 10.8.5 and using Xcode 5.01. Regards David -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-xcode-tp5729141p5729212.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-11-14 03:46 |
From | Steven Yi |
Subject | Re: [Csnd] Re: Csound xcode |
Hi David, It took me a while to get back to this. I went through and took out the warnings that I could find, and in the process found that our MIDI implementation was causing a crash when Csound was loading up. I've fixed that (in Git), and also created a new zip here: http://www.kunstmusik.com/csound-iOS-6.01.0-iOS7.zip I built with iOS7 target. I'm also getting some deprecated warning regarding our use of the C version of AudioSession related functions. The warnings are largely harmless for this release so you can ignore them, but we'll have to update our code soon for that. Could you try this one and let me know if you still get any linker errors? If you do get a linker error, could you paste what the error is? Thanks! steven On Wed, Nov 6, 2013 at 10:04 AM, daredevilpantera |
Date | 2013-11-14 14:55 |
From | daredevilpantera |
Subject | [Csnd] Re: Csound xcode |
Hi steven It works perfectly for me, I am just getting the warnings you mentioned, 8 in total related to audio session. I am in my last year of college in the University of limerick and I am developing for my FYP a basic app for Ipad based on Wave Terrain Synthesis, I will include this posts on my final report if you give me the permission. When do you think you will have this warning Fix Steven. Thank you very much for your attention and help. Regards David -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-xcode-tp5729141p5729625.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-11-14 15:29 |
From | Victor Lazzarini |
Subject | [Csnd] pnacl example running on Chrome |
Success! I’ve got Csound running on Chrome using pnacl. It was generally straightforward I’ve posted the package at https://www.dropbox.com/s/f2v757hstdyvejs/csound_pnacl_example.zip. To run it you will need to set up a http server. The nacl sdk comes with a python script for that (httpd.py). Just run the httpd server at the top level package directory and point your browser to it. I will be committing the example sources to GIT in a short while (in the nacl directory). To build it you will need to have built libsndfile and csound as libraries. Regards Victor |
Date | 2013-11-14 15:49 |
From | Victor Lazzarini |
Subject | Re: [Csnd] pnacl example running on Chrome |
By the way, to facilitate things I am posting a link to the libsndfile nacl srcs, which can then be built before building the Csound example. Note that by building it, the library gets added to your sdk, so it is just a matter to reference it in your app Makefile. https://www.dropbox.com/s/ezfo9rmo5wtzptz/libsndfile-nacl.tar.gz Victor On 14 Nov 2013, at 15:29, Victor Lazzarini |
Date | 2013-11-14 15:58 |
From | Rory Walsh |
Subject | Re: [Csnd] pnacl example running on Chrome |
I'm doing something wrong here, have I following the right steps: download and unzip both your package and the nacl sdk copy httpd.py to the top directory your examples folder and start it then launch Chrome and open index.html? On 14 November 2013 15:49, Victor Lazzarini |
Date | 2013-11-14 16:01 |
From | Rory Walsh |
Subject | Re: [Csnd] pnacl example running on Chrome |
Btw, the output console says: NativeClient: NaCl module load failed: access to manifest url was denied. index.html:1 Uncaught TypeError: Cannot call method 'postMessage' of null On 14 November 2013 15:58, Rory Walsh |
Date | 2013-11-14 19:35 |
From | Steven Yi |
Subject | Re: [Csnd] Re: Csound xcode |
Hi David, Glad we're on the same page now. I think that updating to use the Obj-C AudioSession stuff will take me a little time and I have a few things on my agenda that will take me through this weekend. I think I will try to look at it Monday of next week. Yes, feel free to quote any of these emails. Cheers! steven On Thu, Nov 14, 2013 at 9:55 AM, daredevilpantera |