SMC Joono

Special collaborative projects managed by SynthMaker users

Moderators: electrogear, exonerate

Postby jorge on Sun May 22, 2005 12:04 am

unkargherth wrote:1000 ? Measured in which units ? clock cycles?
Does this means than anything that needs more than 1000 clock cycles is unusable?

whit a bit more of information should be easy to code a light cpu meter....

I hope the following answers your questions:
Image
http://www.synthmaker.com/docs/uploads/2005/may/22/cpu.osm
User avatar
jorge
smaniac
 
Posts: 1034
Joined: Tue Jan 13, 2004 11:12 pm
Location: Porto, Portugal

Postby Nu Audio Science on Sun May 22, 2005 1:28 am

Jorge i'm a little confused but if it is SSE why is 1 note differing from 4 ?

And thanx for the great schematic :)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Nu Audio Science on Sun May 22, 2005 3:11 am

Unk you say to use Stefs SVF for the filters so i have a couple of Qs

1 Should i try and clean the HP BP Notch Peak out of the code for the LP components or will it have no effect on CPU ?

2 The HP in the Junoseems to be non resonant so should i just set the RES at .5 and leave or try and create some non res code ?
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Nu Audio Science on Sun May 22, 2005 3:17 am

Image
http://uk.geocities.com/nas_sound/Joono.zip

Update with Unks OSCs and Stefs SVFs

Unk does that aftertouch module you made replace the MIDI2poly completly ?

Has anybody had any thoughts on the 8 segment env yet ? , I'm guessing code component ?
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby infuzion on Sun May 22, 2005 6:15 am

jorge wrote:I hope the following answers your questions:http://www.synthmaker.com/docs/uploads/2005/may/22/cpu.osm

Very neat, thanks jorge!
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Postby unkargherth on Sun May 22, 2005 9:34 am

Nu Audio Science wrote:1 Should i try and clean the HP BP Notch Peak out of the code for the LP components or will it have no effect on CPU ?


No, no. Simply use waht you want but don't touch the code

Nu Audio Science wrote:2 The HP in the Junoseems to be non resonant so should i just set the RES at .5 and leave or try and create some non res code ?



Set res to something that didn't makeup the sound

Nu Audio Science wrote:Unk does that aftertouch module you made replace the MIDI2poly completly ?


MIDI ot Poly, AFAIK, has no support for After touch. Both of them should be linked to to A MIDI Input. What basically mine do i't's to support "Channel Presure" when the keyboqard doen's support Key AfterTouch. Nothing More

Nu Audio Science wrote:Has anybody had any thoughts on the 8 segment env yet ? , I'm guessing code component ?


Same Answer as for the "mono Envelope" issuse. Nosense to doit until we can Trigger it
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby jorge on Sun May 22, 2005 9:54 am

Nu Audio Science wrote:Jorge i'm a little confused but if it is SSE why is 1 note differing from 4 ?

Just imagine code that has only one instruction taking one clock cycle like Add or Mult. If such code would run inside the analyser, it would process four notes simultaneously. The analyser would say that the code took 1 clock cycle per sample but in average each note would take 1/4 of a clock cycle per sample.
User avatar
jorge
smaniac
 
Posts: 1034
Joined: Tue Jan 13, 2004 11:12 pm
Location: Porto, Portugal

Postby Shifrin on Sun May 22, 2005 9:57 am

Yep jorge, that cpu schematic is very useful :)

Cheers!

Shif.
User avatar
Shifrin
smaniac
 
Posts: 1498
Joined: Sun Mar 06, 2005 1:54 pm
Location: Newcastle, UK

Postby unkargherth on Mon May 23, 2005 1:06 am

Well. Using Jorge's schematic i tried i've done some quick test for the oscilators

On my machine ( P IV 2.4 Ghz) it gives something like 2.52% for one note
if i change the cpu speed to the correct 2.4 *10^9 then gives me something like 0.72% ( talking from memory)

1.- The increase is a bit high fro only a 30% cpu hertzs. Ha something to do that my machine supports HyperThreading?

2.- Worst case 2.52% per note means like 40% for polyphony 16. Or should i divide by four to take into account the SSE based processing? Anyway, is this too much or is reasonably for this fairly complex osc's?
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby infuzion on Mon May 23, 2005 8:17 am

unkargherth wrote:On my machine ( P IV 2.4 Ghz) it gives something like 2.52% for one note
Ummm, looking at Jorge's schematic, it looks like the "CPU speed" is hard-coded at 160000000. Did you change that value, or...?
Last edited by infuzion on Mon May 23, 2005 6:36 pm, edited 2 times in total.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Postby unkargherth on Mon May 23, 2005 11:18 am

Sorry. Corrections

For the Standard Hard code 1.6 Ghz cpu results is 3.9% - 4.1%
For MY CPU ( correcting the hardcoded to 2.4Ghz) result is 2.6-2.8%

( I've missed to connect the PWM pin so PWM hasn't been working)
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby jorge on Mon May 23, 2005 11:48 am

unkargherth wrote:For the Standard Hard code 1.6 Ghz cpu results is 3.9% - 4.1%
For MY CPU ( correcting the hardcoded to 2.4Ghz) result is 2.6-2.8%

There's always the possibility that the calculations in my schematic are wrong. It would be interesting to compare it with actual CPU useage as measured in other applications.
Maybe there's other things to take in consideration like for example my Pentium M at 1.6GHz is actually quite efficient even with a low clock frequency. My Pentium 4 with much higher clock frequency achieves roughly the same CPU useage. Although clock cycles doesnt say everything, it is still my prefered way of measuring the efficiency of a schematic.
User avatar
jorge
smaniac
 
Posts: 1034
Joined: Tue Jan 13, 2004 11:12 pm
Location: Porto, Portugal

Postby infuzion on Mon May 23, 2005 6:36 pm

jorge wrote:
unkargherth wrote:For the Standard Hard code 1.6 Ghz cpu results is 3.9% - 4.1%
For MY CPU ( correcting the hardcoded to 2.4Ghz) result is 2.6-2.8%
There's always the possibility that the calculations in my schematic are wrong. It would be interesting to compare it with actual CPU useage as measured in other applications.
Buzz has a little CPU-usage-for-each-machine popup that I use. I'm sure there's overhead for the VST wrapper, but good to compare VSTs with others.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Postby Nu Audio Science on Tue May 31, 2005 11:49 am

Having to wrok on an SE project at themoment and getting annoyed so i'm gonna update this a bit today ;)
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

Postby Nu Audio Science on Sun Jun 05, 2005 7:47 pm

OSM Here

Only a small update so it can be saved as a VSTi for messin around, I'm hoping to get more time on this this evening because it is sounding like it has a lot of potential ;)
The envelope is crap though and doesn't work anything like an envelope should :(
Oh blimey
User avatar
Nu Audio Science
smunatic
 
Posts: 2236
Joined: Thu May 05, 2005 12:29 am

PreviousNext

Return to Projects

Who is online

Users browsing this forum: No registered users and 0 guests