Code Monkey home page Code Monkey logo

sonic-pi-music's Introduction

sonic-pi-music

Music I've made using Sonic Pi. Mostly for fun when I have time.

Song List:

  • Set Sail (in progress)

Other songs I've made without Sonic Pi:

All of these songs were made in 16-bit with nanoloop.

How I got Sonic Pi working on Ubuntu Studio with PulseAudio

I have a MSI GS60-002, and its sound card doesn't play well out-of-the-box with Sonic Pi or JACK. I installed Ubuntu Studio 18.10 and installed Sonic Pi from the Ubuntu repositories with apt.

I found that Sonic Pi didn't finish startup because it was looking for a JACK server. I started one with QjackCtl, but that disabled PulseAudio from working and I still couldn't hear anything from Sonic Pi.

The solution was using Cadence, which I installed by using KXStudio's repository .deb and using apt. I had to change the following settings:

  • Configure --> Driver --> change Input Channels and Output Channels from 0 to 2
  • JACK Bridges --> ALSA Audio --> Bridge Type: "Alsa -> PulseAudio -> JACK (Plugin)"
  • JACK Bridges --> PulseAudio --> Start + Auto-start at login

The result had audio from both Pulse and JACK playing out of my laptop speakers and 3.5 mm. To solve this, I used alsamixer to disable the laptop speakers. However, the 3.5 mm had line level coming out (i.e. really loud for my headphones). This behavior is expected since JACK is intended for use in a professional audio environment. This can be solved elegantly by using a different DAC, or what I did was plug in my Denon stereo receiver, disable speaker output, and plug my headphones into the 1/4" jack on the receiver. This way, I could use my receiver to adjust the volume of my headphones to a reasonable level (and gave me the ability to adjust the EQ!).

TODO: MIDI

sonic-pi-music's People

Contributors

grantbaker avatar

Watchers

James Cloos avatar  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.