[LAU] A crazy idea

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <Linux-audio-user@...>
Date: Thursday, March 4, 2010 - 9:48 am

Morning LAU,

As I cycled to work this morning, I had a crazy idea. It's just
daydreaming and will probably never happen, but I wondered if anyone on
the last has any useful/interesting thoughts.

I want to measure how fast I'm turning the pedals on my bike (the
"cadence") and synthesize/sample the sound of an internal combustion engine.

As far as I can work out, there are three major parts to this.

1. A sensor that can measure my cadence. A simple magnet switch that
triggers once a revolution won't be enough to measure the cadence with
sufficient resolution, since my cadence is usually between 50 and 80
rpm. I would probably need to mount multiple magnets spaced equally
around the chainwheel and have a single sensor on the frame. Then I have
to get it to supply this information to my control program.

2. I need a control program that can read in the input from my cadence
sensor and convert a cadence reading of "66 rpm" into a frequency that
should be sampled/synthesised, e.g. "500 Hz" (I'm making these numbers
up). It will also need to be able to somehow smooth out the readings,
perhaps by interpolation, so when I accelerate, the sound of the revs
climbing doesn't increase in obvious steps. It could also have other
logic, e.g. when my cadence is 0 rpm, the sound of the engine is idling
rather than off.

3. I need a synthesiser or sampler that can take an input from my
control program and make the sound of an engine (or more likely, a sine
wave to start with). I've never sampled or synthesised on a computer
before but this engine-specific sampling technology already exists in
video games, such as torcs[1].

I have absolutely no idea why I would want such a device - just for the
fun of building it, I guess. I would like it to work in realtime (rather
than later generating the soundtrack from recorded cadence data). The
thought of sitting at the traffic lights with my earphones in and then
hearing the mighty roar of a V8 as I pull away would be really satisfying...

[1] http://torcs.sourceforge.net/

Any thoughts - useful, interesting, humorous, or otherwise - are welcome!

Cheers,
Jonathan

----------------------------
Jonathan Gazeley
Systems Support Specialist
ResNet | Wireless& VPN Team
Information Services
University of Bristol
----------------------------

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] A crazy idea, Jonathan Gazeley, (Thu Mar 4, 9:48 am)
Re: [LAU] A crazy idea, Joseph Sheedy, (Fri Mar 5, 7:15 am)
Re: [LAU] A crazy idea, andy baxter, (Thu Mar 4, 6:35 pm)
Re: [LAU] A crazy idea, Charles Henry, (Thu Mar 4, 3:04 pm)
Re: [LAU] A crazy idea, Charles Henry, (Thu Mar 4, 3:34 pm)
Re: [LAU] A crazy idea, Rick Green, (Thu Mar 4, 1:57 pm)
Re: [LAU] A crazy idea, Paul Davis, (Thu Mar 4, 3:00 pm)
Re: [LAU] A crazy idea, Rick Green, (Thu Mar 4, 11:13 pm)
Re: [LAU] A crazy idea, Paul Davis, (Thu Mar 4, 1:10 pm)
Re: [LAU] A crazy idea, Jonathan Gazeley, (Thu Mar 4, 1:16 pm)
Re: [LAU] A crazy idea, Karl Hammar, (Thu Mar 4, 12:37 pm)
Re: [LAU] A crazy idea, Gabriel M. Beddingfield, (Thu Mar 4, 2:09 pm)
Re: [LAU] A crazy idea, James Morris, (Thu Mar 4, 10:20 am)
Re: [LAU] A crazy idea, Jonathan Gazeley, (Thu Mar 4, 10:28 am)
Re: [LAU] A crazy idea, Folderol, (Thu Mar 4, 6:14 pm)
Re: [LAU] A crazy idea, Rick Green, (Fri Mar 5, 12:30 am)
Re: [LAU] A crazy idea, michael noble, (Fri Mar 5, 4:52 am)
Re: [LAU] A crazy idea, Jonathan Gazeley, (Fri Mar 5, 10:13 am)
Re: [LAU] A crazy idea, Gordon JC Pearce, (Fri Mar 5, 7:40 am)
Re: [LAU] A crazy idea, Rick Green, (Fri Mar 5, 6:41 am)
Re: [LAU] A crazy idea, , (Thu Mar 4, 11:32 am)
Re: [LAU] A crazy idea, Jonathan Gazeley, (Thu Mar 4, 11:39 am)
Re: [LAU] A crazy idea, , (Thu Mar 4, 11:54 am)
Re: [LAU] A crazy idea, Karl Hammar, (Thu Mar 4, 1:00 pm)
Re: [LAU] A crazy idea, Giso Grimm, (Fri Mar 5, 8:54 pm)
Re: [LAU] A crazy idea, Karl Hammar, (Fri Mar 5, 11:11 pm)
Re: [LAU] A crazy idea, tdrecordable, (Thu Mar 18, 1:31 am)
Re: [LAU] A crazy idea, Nick Copeland, (Thu Mar 4, 9:00 pm)
Re: [LAU] A crazy idea, , (Thu Mar 4, 9:30 pm)
Re: [LAU] A crazy idea, Nick Copeland, (Thu Mar 4, 10:13 pm)
Re: [LAU] A crazy idea, Jörn Nettingsmeier, (Fri Mar 5, 9:10 am)
Re: [LAU] A crazy idea, Arnold Krille, (Fri Mar 5, 8:29 am)
Re: [LAU] A crazy idea, Jörn Nettingsmeier, (Fri Mar 5, 9:12 am)
Re: [LAU] A crazy idea, Julien Claassen, (Thu Mar 4, 10:24 am)
Re: [LAU] A crazy idea, Jonathan Gazeley, (Thu Mar 4, 10:31 am)
Re: [LAU] A crazy idea, Julien Claassen, (Thu Mar 4, 10:40 am)
Re: [LAU] A crazy idea, Julien Claassen, (Thu Mar 4, 10:09 am)