1
Open Source Sound Dev / Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« on: December 23, 2018, 04:50:48 AM »
Hallo LukeZ
Having not the possibility to make my own Open panzer sound card I had to stick to the Teensy 3.2 and the PJRC audio library and card.
This was great for learning, with help from all the information from the previous discussions.
To me it had the advantage that I could build a simple sound system with the information available, I use the standard sounds available on your site.
One thing however stroke my mind for the following reason, building the Panther I realized that you cannot use the standerd sound of the engine in relation to the throttle only for the following reasons:
- the panther was seriosly underpowerd and had a 7 stage transmission
- This meant for instance if it had to crawl a 30 % gradient it had to work full throttle with a speed of 5 - 6 km/h
- So the relation between the stick of your transmitter and the sound of the engine is not proportional.
I can solve this with the PJRC audio board and an measurement of the amps usign a pololu Amp measurement board, meaning high current high volume low current low volume. Here comes in the stereo handy while I can use one channel for the motor sound only and the other channel for the other sounds, a cannon blast can now always have the rigth volume
There is only one thing which is not clear to me and I'll appreciate it if you can help me with that, what is the signal from the TCB going into the teensy 3.2, port 0 and 1?
For other purposes I use the signal coming straigth from the reiver as integers, so no post processing over there.
Please inform, thanks. In case of questions or remarks please inform
Regards Kees
Having not the possibility to make my own Open panzer sound card I had to stick to the Teensy 3.2 and the PJRC audio library and card.
This was great for learning, with help from all the information from the previous discussions.
To me it had the advantage that I could build a simple sound system with the information available, I use the standard sounds available on your site.
One thing however stroke my mind for the following reason, building the Panther I realized that you cannot use the standerd sound of the engine in relation to the throttle only for the following reasons:
- the panther was seriosly underpowerd and had a 7 stage transmission
- This meant for instance if it had to crawl a 30 % gradient it had to work full throttle with a speed of 5 - 6 km/h
- So the relation between the stick of your transmitter and the sound of the engine is not proportional.
I can solve this with the PJRC audio board and an measurement of the amps usign a pololu Amp measurement board, meaning high current high volume low current low volume. Here comes in the stereo handy while I can use one channel for the motor sound only and the other channel for the other sounds, a cannon blast can now always have the rigth volume
There is only one thing which is not clear to me and I'll appreciate it if you can help me with that, what is the signal from the TCB going into the teensy 3.2, port 0 and 1?
For other purposes I use the signal coming straigth from the reiver as integers, so no post processing over there.
Please inform, thanks. In case of questions or remarks please inform
Regards Kees