Hi all,
I am now working on a sound project which needs to use teensy 3.2 to create some "noise" for the quiet electrical engine.
This project has a few requirements :
1. standby, wake-up, sleep modes
2. sound types control (able to switch among different kinds of engine sound)
3. idling, forward, reversing three phases
4. in forward phase, when start to accelerate, the engine sound will increase its volume and frequency like a real car engine sound performance
5. brake sound
In the last two weeks, I tried to study teensy 3.2 and started programming. Requirement 1, 2, 3, 5 all can work already. However, I don't know how to solve requirement 4 since I didn't figure out how to change source audio frequency. In the previous demonstration, I changed the source audio to waveform to represent engine sound so that the frequency can be easily changed. In my own opinion, the waveform sound is quite similar to engine sound but it seems my supervisor was not so satisfied with it.
Is there any function in teensy 3.2 to change the audio frequency or anyone can give some suggestions to hit the requirement 4? Does there have similar teensy projects for me to study?
Thank you !!
I am now working on a sound project which needs to use teensy 3.2 to create some "noise" for the quiet electrical engine.
This project has a few requirements :
1. standby, wake-up, sleep modes
2. sound types control (able to switch among different kinds of engine sound)
3. idling, forward, reversing three phases
4. in forward phase, when start to accelerate, the engine sound will increase its volume and frequency like a real car engine sound performance
5. brake sound
In the last two weeks, I tried to study teensy 3.2 and started programming. Requirement 1, 2, 3, 5 all can work already. However, I don't know how to solve requirement 4 since I didn't figure out how to change source audio frequency. In the previous demonstration, I changed the source audio to waveform to represent engine sound so that the frequency can be easily changed. In my own opinion, the waveform sound is quite similar to engine sound but it seems my supervisor was not so satisfied with it.
Is there any function in teensy 3.2 to change the audio frequency or anyone can give some suggestions to hit the requirement 4? Does there have similar teensy projects for me to study?
Thank you !!