sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

NArray.to_narray

singleton method:
  NArray.to_na( string, type, size1,size2,...,sizeN )
  NArray.to_na( array )

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/narray-0.6.1.1/narray.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-NArray-to_narray-for-pr


# Commit to git

git add app/server/ruby/vendor/narray-0.6.1.1/narray.cgit commit -m "better docs for NArray.to_narray"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-NArray-to_narray-for-pr

hub pull-request


# Celebrate!