Dingux (Dingoo Linux) > Development

Fast Chip Synth Engine Test 1

(1/2) > >>

Pantheon:
Hi all,

I've been working for the last week on a chip tune synthesizer engine. My goal is to make it as efficient as possible
while still offering lots of nice music making features. So far all of the calculations are fixed point, and there are no conditionals in the inner loop of the synthesizers. It includes a small assembly like language to specify drum sounds, and is fully programmed to play midi. To compose a tune its as easy as loading a VST version into ableton live or any sequencer, writing the tune, then exporting all the midi for it. It decides what routines are best suited to the current piece of music to ensure minimal work.

On my 1ghz PC the program uses < 1% cpu, for all four synth channels and 1 drum channel. I'd love to know of a way to measure its efficiency on the Dingoo. If anyone has any tips on how to do that I would love to try it.

I compiled a test program playing a fairly complex piece of music I wrote for it. Oh yeah its compiled for the latest OpenDingux dev version.

Since Dingoonity doesn't like uploading Zip files, I renamed it as a .txt file. Just change that to .Zip, inside is just an executable, just run it and away you go.

pcercuei:

--- Quote from: Pantheon on April 12, 2012, 12:57:07 PM ---On my 1ghz PC the program uses < 1% cpu, for all four synth channels and 1 drum channel. I'd love to know of a way to measure its efficiency on the Dingoo. If anyone has any tips on how to do that I would love to try it.

--- End quote ---

It eats less than 1% of the CPU on OD, and ~5% of the RAM. Good job!

At which rate does it play the samples?

Pantheon:
22050hz sample rate, mono output.
cool thanks for testing Ayla, thats some positive results :)

I'd be interested to know how you profiled it? is there a program for it or some feature of Linux that can give these stats?

pcercuei:
Could you try with a 44100Hz sample rate?  ;D

I just launched it from gmenu2x and monitored its CPU consumption with htop from telnet. It's not very precise, but I can tell for sure it was not eating more than 1%.

Pantheon:
I am about to head out of the house at the moment. Later on I'll recompile it at 44100hz and see how it goes.
At < 1% I can probably afford to output in stereo 8).

Navigation

[0] Message Index

[#] Next page

Go to full version