Code Monkey home page Code Monkey logo

taejisawai / isupercolliderkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidreeder/isupercolliderkit

0.0 1.0 0.0 41.55 MB

iSuperColliderKit(iSCKit) is SuperCollider Engine on iOS App using Obj-C or Swift.

License: GNU General Public License v3.0

HTML 0.19% JavaScript 0.04% CSS 0.05% SuperCollider 12.40% C++ 74.57% C 8.39% Lex 0.02% Yacc 0.03% Shell 0.03% Python 0.33% Perl 0.11% Objective-C++ 0.53% Objective-C 2.50% Emacs Lisp 0.36% Ruby 0.02% Vim Script 0.09% Makefile 0.32% Batchfile 0.01% CMake 0.01% Swift 0.01%

isupercolliderkit's Introduction

iSuperColliderKit (iSCKit)

OverView

"iSCKit" is SuperCollider on iOS7 later, it forked "supercollider iOS" project.

Install

  1. Download or Clone the project.

iSCKit (static libraries)

  1. Launch iSCKit.xcodeproj using XCode Location : [project root] > [projects] > [iSCKit] > iSCKit.xcodeproj

  2. Select 'iSCKit' scheme XCode launching, please select target 'iSCKit' scheme and select 'iOS Device' (not Simulators). (iSCKit can use on iOS devices only, cannot use on iOS Simulators).

  3. Run It generate 'libsndfile', 'libscsynth' and 'libiSCKit' on [lib] direcotry.
    Please make sure that generate 3 static library files above.
    Location : [project root] > [lib]

iSCApp (iOS app)

This project is sample app using iSCKit. It is done getting ready to use iSCKit.

  1. Launch iSCApp.xcodeproj using XCode It need to already generate 'libsndfile', 'libscsynth' and 'libiSCKit'.
    Location : [project root] > [projects] > [iSCApp] > iSCApp.xcodeproj

  2. Run iSCKit must use iOS devices.
    If this process succeed, iSCKit is available.

  3. Check Supercollider Log Please make sure suppercollider log message on this app, then select 'live' tab, iSCApp sound sine wave ( {SinOsc.ar()}.play ).

Setting Details

  1. Project Location Project directory must be located same position of iSCKit directory like to iSCApp directory.

  2. 'Header Search Path' (Build Settings) Add [project root] > [iSupercolliderKit] path. ex. $(PROJECT_DIR)/../../

  3. 'Library Search Path' (Build Settings) Add [project root] > [lib] path.
    ex. $(PROJECT_DIR)/../../iSupercolliderKit/lib

  4. 'Objective-C Automatic Reference Counting' (Build Setting) Set 'YES'.

  5. 'PreProcessor Macros' (Build Setting) Set 'SC_IPHONE' on 'Debug', and 'SC_IPHONE NDEBUG' on 'Release'.

  6. 'Other Linker Flags' (Build Setting) Add '-lsndfile -lscsynth -liSCKit'.

  7. Copy and add 'SCClassLibrary' directory in iSCApp directory. When you add this directory on xcode, please select 'Create folder reference'.

  8. Add Frameworks below. AVFoundation.framework
    CoreMIDI.framework
    Accelerate.framework
    CFNetwork.framework
    CoreFoundation.framework
    CoreGraphics.framework
    AudioToolbox.framework
    MediaPlayer.framework
    UIKit.framework
    Foundation.framework

If you use Swift language, please add libstdc++.dylib.

isupercolliderkit's People

Contributors

tkido1216 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.