8000 GitHub - willemOH/daisy_looper: a basic looper for Daisy Seed that records a loop to sd card and loads it back into buffer on startup
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

a basic looper for Daisy Seed that records a loop to sd card and loads it back into buffer on startup

Notifications You must be signed in to change notification settings

willemOH/daisy_looper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I've seen many examples for loopers, samplers, etc for seed. And a few of them even read from the sd card. But there has been no clear example of one that is actually useful beyond experimenting or playing pre-recorded loops from elsewhere. Until now! I made one. Because a proper looper/sampler should 1. live sample input and 2. recall samples after reboot.

I needed this functionality for a project and soon found I would have to cook this one up/piece it together myself. I also soon found out why there may not have been an example already: it can be quite finicky/impossible on a breadboard setup and there is incomplete functionality in libDaisy to properly write to the sd card. Reading to memory is non-existent in the library too. Thankfully hajaba on this forum posted some working code for reading that I modified a little. A few months of development and a pcb design later, and I've got it.

Because it's been quite a long and difficult process for me to get what to many would almost think of for the next project after hello world, I wanted to share this looper code to give others a proper start with sampling and sd card usage. As well as some solutions to pitfalls I encountered along the way.

STEPS

  1. Either download/copy this file https://github.com/willemOH/daisy_looper/blob/main/src/main.cpp and put it in a new seed project or setup as new repo: git clone --recurse-submodules https://github.com/willemOH/daisy_looper going through repo setup as documented here for daisyexamples https://daisy.audio/tutorials/cpp-dev-env/ (just build-all if you've done this before). Note: I've had issues here with vs code intellisense and inability to build because of incorrect drivers being built from submodules. If you run into these issues, leave a comment and I'll share some fixes I've found.
  2. If this PR hasn't been accepted, make those changes to wavwriter.h
  3. If using breadboard, make sure connections between sd card reader and seed are as close as possible. I could not get this to work on breadboard as seen here: https://forum.electro-smith.com/t/opinions-on-microsd-card-data-line-traces/7572 if you run into any of those errors, too long connections is why because this works once I got the design onto a pcb with less than 50mm distance between daisy pins and sd card reader pins w/ .3mm trace.

I've tried to make this project as readable like example as I can. No doubt it could be better if it were an official example. This is a project that should be an essential example for daisy seed or pod and I would like to see it or a revised version put in the daisy examples repo.

About

a basic looper for Daisy Seed that records a loop to sd card and loads it back into buffer on startup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0