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

How do to random access with Sound Module? #165

Open
SandyWalsh opened this issue Oct 7, 2013 · 3 comments
Open

How do to random access with Sound Module? #165

SandyWalsh opened this issue Oct 7, 2013 · 3 comments

Comments

@SandyWalsh
Copy link

I'd like to specify which sound file I play. Currently I can only cycle through N wav files. But I'd like to play 3.wav, then 1.wav, then 5.wav depending on the situation. It could be 7, 2, 1, 5 ... etc.

I would sacrifice some of my logic output pins to allow this. Is it possible, or is the three-wire control the only means?

I'd still like to have ambient.wav playing in the background (if present)

@Aylr
Copy link
Owner

Aylr commented Oct 10, 2013

I'm thinking with a little hacking we could expose the i2c pins. Or use a software serial on some of the spare IO

@SandyWalsh
Copy link
Author

Cool.

I was thinking of interfacing to my raspberry pi as the ultimate sound player.

The i2c pins would be ideal since we won't need a level converter (5v -> 3.3v). We could run the hauntbox in slave mode and poll from the Rpi for sounds to play.

@Aylr
Copy link
Owner

Aylr commented Oct 10, 2013

Pi. Now you're talking. I have a small pile of them in my workshop. Let's
figure this out.

On Thu, Oct 10, 2013 at 8:00 AM, Sandy Walsh notifications@github.comwrote:

Cool.

I was thinking of interfacing to my raspberry pi as the ultimate sound
player.

The i2c pins would be ideal since we won't need a level converter (5v ->
3.3v). We could run the hauntbox in slave mode and poll from the Rpi for
sounds to play.


Reply to this email directly or view it on GitHubhttps://github.com//issues/165#issuecomment-26055828
.

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