Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sampling longer waves (arrays) #14

Open
novusabeo opened this issue Sep 11, 2018 · 2 comments
Open

Sampling longer waves (arrays) #14

novusabeo opened this issue Sep 11, 2018 · 2 comments

Comments

@novusabeo
Copy link

Hello!

Been really enjoying this project. Had no idea Arduino could make such great sounds. I've been experimenting converting single cycle .wavs to c arrays and testing different waves with the voices. Theres an awesome project where you can check out all kinds of single cycle waveforms and then use a simple c program called wav2c to convert them to c arrays: Was wondering -- is there a way to have the synth engine cycle through longer waves? I know it's capped it 128 or 256 (can't seem to figure out which). If i wanted the engine to play longer arrays via another non-PROGMEM source -- like an SD card or somewhere with more space for longer arrays. I know in essence I could have each voice trigger a different wave in sequence thus creating a single 4x wave -- but hoping to have it uniform with a single voice.

Is there a way to do that? Even expanding the wavetable length x 2 (512) would make it to the moon!!

@nathanRamaNoodles
Copy link

You can try https://github.com/nathanRamaNoodles/MusicWithoutDelay-LIbrary

@novusabeo
Copy link
Author

Thanks. I found a pretty good alternative — can have the wavs be cycled through on the hardware side using a pot to select and essentially run through each wav. Still trying to figure out how I would initialize different wavetables from alternative sources.

Able to set up ~ 50 to arrays (waves) in the PROGMEM space while maintaining a decent amount of free space. Not really an issue at this point. Not sure about reading from an SD as opens and closes would probably detract from looping triggers. But not sure i’m using this code as directly intended. We’ll see where it goes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants