Code Monkey home page Code Monkey logo

raspberry-pi-looper-synth-drum-thing's Introduction

Raspberry-Pi-Looper-synth-drum-thing

My first venture into raspberry pi stuff. Running a custom pure data patch I've been working on for a couple years on a Raspberry Pi 3. This project took a couple months and I'm still tweaking stuff here and there but it's pretty much complete, it even survived it's first live show!

I've left out the drum samples and Sessions directoroy. To add your own samples just add .wav files to the piLooper directory with names like:

kick_01.wav - kick_24.wav

hh_01.wav - hh_12.wav

snare_01.wav - snare_24.wav

crash_01.wav - crash_04.wav

Or change the sample names to whatever you want in the pd patch. The Sessions directory is pointed to where it lives on my pi, you will need to change that to wherever you are storing your patch on your pi.

You will need comport and shell externals in pd.

Here is a list of the main hardware components used (left out some usb male/female connections, push buttons and audio output):

Pi3: https://www.sparkfun.com/products/13825

Teensy 3.6: https://www.sparkfun.com/products/14057

Nintendo DS Screen: https://www.sparkfun.com/products/retired/13631

Display: https://www.pjrc.com/store/display_ili9341.html

Mux: https://www.sparkfun.com/products/9056

Buttons: https://www.sparkfun.com/products/7835

Button PCB (I drilled out holes where the leds go to use neopixels): https://www.sparkfun.com/products/8033

NeoPixels: https://www.adafruit.com/product/1612

Encoder: https://www.sparkfun.com/products/9117

Pots: https://www.sparkfun.com/products/9940

Slide Pots: https://www.sparkfun.com/products/11621

Sound Card: https://www.sweetwater.com/store/detail/UCA222

3D Model: http://www.thingiverse.com/thing:2318194

IMAGE ALT TEXT HERE

Pinouts

Teensy 3.6

Pin Description
0 Encoder Button
1 Encoder
2 Encoder
3 Mux control pin s0
4 Mux control pin s1
5 Mux control pin s2
6 Mux control pin s3
7 Input #1 Button
8 Input #2 Button
9 TFT - DC
10 TFT - CS
11 TFT - SDI(MOSI)
12 TFT - SDO(MISO)
13 TFT - SCK
14 Mux Control Sig pin
15 Main Volume Pot
16 Let Input Pot
17 Right Input Pot
18 Post Effects Reverb Pot
19 Post Effects Bitcruncher Pot
20 Post Effects Volume Slider
21 NintendoScreen yPin1
22 NintendoScreen xPin2
23 LEDs
24 Clear Button
25 Play/Stop Button
26 Instrument Select Button
27 Robo-drum Button
28 Loop 1 Button
29 Loop 2 Button
30 Loop 3 Button
31 NintendoScreen yPin2
32 NintendoScreen xPin1
33 Loop 4 Button
34 Loop 5 Button
35 Loop 6 Button
36 Loop 7 Button
37 Loop 8 Button
38 Drumpad Column
39 Drumpad Column
40 Drumpad Column
41 Drumpad Column
42 Drumpad Row
43 Drumpad Row
44 Drumpad Row
45 Drumpad Row

Mux

Pin Description
0 Delay - Time Slider
1 Delay - Feedback Slider
2 Reverb Slider
3 Cutoff Slider
4 Ring Mod Slider
5 Bit Crusher Slider
6 Distortion Slider
7 Retrig Slider
8 Loop 1 Volume Pot
9 Loop 2 Volume Pot
10 Loop 3 Volume Pot
11 Loop 4 Volume Pot
12 Loop 5 Volume Pot
13 Loop 6 Volume Pot
14 Loop 7 Volume Pot
15 Loop 8 Volume Pot

raspberry-pi-looper-synth-drum-thing's People

Contributors

os144046 avatar otem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspberry-pi-looper-synth-drum-thing's Issues

reproduction for school

Hey. I'm trying to reproduce this for a school project and am wondering if you had a wire schematic or anything like that. Also, I'm pretty much new to all this stuff so any advice/links to sources for learning about how to do all this would be extremely appreciated

Repo questions

From looking at the repo, I am assuming that piLoopControl.ino is the code for the Teensy, and that everything in the piLooper directory goes on the RaspberryPi. What code are you running on the RaspberryPi?

Please pick a license

Saw a video of yours on YouTube that'd been posted to Reddit. Very cool project.

Please pick a license for your repo. I suggest choosing the ISC license. The ISC license is similar to the BSD family of licenses, except it has some text removed that was determined to be not necessary. The Pure Data project is using a modified BSD license so the ISC license probably aligns with your views on open source.

Choosing a license allows others to easily and confidently know what they can and can not do with the things you've released.

Here is a copy of the ISC license: https://gist.githubusercontent.com/eriknstr/84c5c986607f3e4245991480a40e2c45/raw/d998764c0e914964a380b74b28332ea0c7ca28e7/LICENSE, replace YYYY with the current year (2017), "John Doe" with your own name and [email protected] with your own e-mail address (keep the angle-brackets). Alternatively if you do not wish to include your e-mail you can just remove the placeholder e-mail and angle-brackets.

Second display missing from BoM

Hi,
Fantastic build btw. It appears to have 2 displays but you only have the Teensy tft in the BoM. Can you add the Pi3 one?

Some basic questions

Hello Otem. Great work.

I'm attempting to recreate and I'm documenting my steps. I have a few clarifications and a question. Would you like me to publish them here or somewhere else?

  1. Are you running Pd 0.48-0 "vanilla" with only the comport and ggee extensions? Or a different version of Pd?

  2. On the PRI are you running Raspbian Jessie? (Stretch is now the default for new Raspbian installs).

  3. On the Sparkfun push button boards... for the loop control buttons (8 buttons)... Did you cut down the larger 4x4 board or did you use (2) of the 2 x 2s?

  4. Currently, I'm stuck getting serial communication working between the Teensy 3.6 and the Rpi. -

  • I've identified that my serial port on the Pi os "0" when yours was "1".
  • I changed the object in serialControls to read comport 0 9600, but I still get the following error scrolling rapidly in the Pd Console"
    [comport]: "Write failed for 0 bytes, error is 11" (once it was error is o).
  • I've confirmed the Pi is part of the DIALOUT group that has write privledges to /dev/ttyAMA0

Did you have to stop getty on the serial port or anything like that?

I'll continue to work through this. If you have any tips, I'd appreciate them. Thx.

Effect patches

Where can I find the effects in this pure data patch?

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.