Am I allowed to publish records of the examples?

Am I allowed to publish records of the examples?

I code music for a minecraft resource package. I wan’t to use the Sonic Pi examples too. After that I wan’t to publish the resource packpage.

Hi Jak2k and welcome to in-thread

Look at the licence section of the Sonic Pi info screen

Docs, Tutorial and Examples

(contents of etc/doc/ and etc/examples directories)

All the examples (in etc/examples) and contents of the doc directory including the articles and the tutorial are copyright by Sam Aaron unless a specific author is stated with the comment # coded by … in which case the copyright is associated with that author (2015) and the content is released under the CC BY-SA 4.0 license:

http://creativecommons.org/licenses/by-sa/4.0

So provide you include suitable acknowledgement as per the Creative Commons licence you should be free to use the examples.