Ein
Member
I'm working with a Teensy 3.2 at the moment to make a replica movie prop. It has an ILI9341 TFT display to output some pictures and information. I'm also using the DAC Pin (14) through a SparkFun Mono Audio Amp Breakout.
Here's the audio of the prop that I'm referencing from the movie:
http://tindeck.com/listen/ofijs
When the device initializes, it does a sort of power-up whine effect which I have been able to produce without too much difficulty by using a waveform_sine object and sliding its frequency up. However, I also want to see if I can figure out a way to simulate the 'clack' sound of the device deploying. I know one way I could probably approach this would be to try and get the Teensy to play that audio file directly (convert to RAW, I guess, and put it on flash memory?) but I'm right around the limits of my flash memory on the device right now thanks to the bitmap data I've needed. I would prefer not to have to add extra memory to accomplish this (prop shield or similar) because I'm trying to keep the cost of this device low, on the assumption that I may have to make a couple dozen of them. I was quite happy that the waveform generation on the DAC pin got me a good approximation of that start-up whine sound effect as it meant I didn't have to try and budget memory for the audio file, but I don't know how to approach trying to make that clacking noise. Is there a programmatic way to simulate this sound?
Here's the audio of the prop that I'm referencing from the movie:
http://tindeck.com/listen/ofijs
When the device initializes, it does a sort of power-up whine effect which I have been able to produce without too much difficulty by using a waveform_sine object and sliding its frequency up. However, I also want to see if I can figure out a way to simulate the 'clack' sound of the device deploying. I know one way I could probably approach this would be to try and get the Teensy to play that audio file directly (convert to RAW, I guess, and put it on flash memory?) but I'm right around the limits of my flash memory on the device right now thanks to the bitmap data I've needed. I would prefer not to have to add extra memory to accomplish this (prop shield or similar) because I'm trying to keep the cost of this device low, on the assumption that I may have to make a couple dozen of them. I was quite happy that the waveform generation on the DAC pin got me a good approximation of that start-up whine sound effect as it meant I didn't have to try and budget memory for the audio file, but I don't know how to approach trying to make that clacking noise. Is there a programmatic way to simulate this sound?