<div dir="ltr">I implemented a 6 voice virtual analog synth + smaple playback drums using the older raspberry pi 1. It was all in C, did not bother about going into assembler. I was logging my progress here: <a href="http://juno6pm.blogspot.com">http://juno6pm.blogspot.com</a><div>Have not had much time to work on it the last year, so it remains unfinished. The filter still needs some work.</div><div>I would really like to replace the raspy 1 with a new one for the extra processing power...</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-07 14:49 GMT+01:00 Scott Gravenhorst <span dir="ltr"><<a href="mailto:music.maker@gte.net" target="_blank">music.maker@gte.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Richie Burnett <<a href="mailto:rburnett@richieburnett.co.uk" target="_blank">rburnett@richieburnett.co.uk</a>> wrote:<br>
>Sounds good. What did you write the code in? Assembly, C, python?<br>
<br></span>
The code is written entirely in C.  It's pretty much raw unoptimized code, so performance could increase with more attention to that.  Once I learn ARM assembly language (a bit more complex than PIC/dsPIC) I may include some of that for tightness.  The synth currently has no GUI, so it can run headless if needed.  I'm thinking about adding another different synth to make it bi-timbral, and eventually I'll add effects.<br>
<br>
-- ScottG<div class="HOEnZb"><div class="h5"><br>
<br>
>---- Scott Gravenhorst wrote ----<br>
><br>
>>If you're on music-dsp, you already know about this.<br>
>><br>
>>I purchased a Raspberry Pi 2 a bit before Christmas and have been<br>
>>working on a synthesizer.  Quad core ARMv7 900 MHz CPU.  I also have >>the Cirrus Logic/Element14 sound card (24 bit stereo up to 192 kHz.<br>
>>Line-in, line-out, S/PDIF and other features).<br>
>><br>
>>So far, using ALSA, I've made an organ type polysynth (32 voices). >>Each voice is computed arithmetically as y=sin(a)+sin(2a).  I've >>isolated 2 of the 4 cores so that the synth runs in one core and the >>MIDI controller runs in another though the MIDI controller seems to >>run fine along side other linux stuff in a shared core.  It's >>currently working while LXDE deskstop runs.  The synth core uses >>about 55% CPU at idle and around 80% when using most of the voices. >>No crashes or glitches.  I will need to measure latency, but the >>latency contributed by ALSA buffering is down around 1/6 millisecond >>(period is 8 frames and the sample rate is 44100 Hz).<br>
>><br>
>>I'm quite impressed by the power of this little thing, especially for >>a $35 computer board.<br>
>><br>
>>-- ScottG<br>
_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@dropmix.xs4all.nl" target="_blank">Synth-diy@dropmix.xs4all.nl</a><br>
<a href="http://dropmix.xs4all.nl/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://dropmix.xs4all.nl/mailman/listinfo/synth-diy</a><br>
</div></div></blockquote></div><br></div>