Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Equipment & Tools From test equipment to hand tools

DiAna, a software Distortion Analyzer
DiAna, a software Distortion Analyzer
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 12th December 2017, 07:46 PM   #171
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
Quote:
Originally Posted by Edmond Stuart View Post
Where I can set this?

I don't have an immediate answer for this because you're coding in C fro a win32 app. The higher level languages available in Visual Studio provide this.
In the form code one simply includes doublebuffering = true.

I'm just home for lunch and have to return to work so I'll look at this later.
I have the same resources as you like code project and others. You could try there.

I would ask "set GDI double buffing in a win32 app" and see what pops up.

Double buffering is just another name for paging. That's actually what it is. It make use of the graphics paging memory. You draw on one page and when it's done switch pages. This gives the graphics a motion film like smoothness.

Cheers,





Cheers,
__________________
David.
  Reply With Quote
Old 12th December 2017, 09:44 PM   #172
Edmond Stuart is offline Edmond Stuart  Netherlands
diyAudio Member
 
Edmond Stuart's Avatar
 
Join Date: Nov 2003
Location: Amsterdam
Default Show window content while dragging

@David,

Now I understand better what you mean by "set doublebuffering = true": Somewhere in the source listing of DiAna, instead of somewhere in Windows. I've done that already to avoid flickering. But I was talking about jitter during resizing the window, using the win32 API SetWindowPos(). It is this function (and it's nephews) that is ill implemented in W10. You cannot cure this by double buffering. The only way, as far as I know, is by "double windowing" (my own dirty trick).
Do you have W10? Just look by yourself: First set W10 to "best appearance" (go to Control Panel->System->Advanced System-> Settings->Advanced->Performance->Adjust for best appearance). Now also the option "Show window content while dragging" is enabled.
Next, chose any app with clearly visible content at the right side of the window, for example "this PC", and drag the left border back and forth. You will see that the content near the right side (not the right border) will shake like hell. Strangely enough, the border itself is stable.
AFAIK, any app will show this behavior, except DiAna, of course.

Note that DiAna uses it own routines to "Show window content while dragging", hence it does not shake like hell. (BTW, this feature can be disabled in the ini file.)

Too all: Always set Windows to "Adjust for best performance".
Also disable the 'Clear Type' feature, as it blurs the text.

Cheers, E.
__________________
Een volk dat voor tirannen zwicht, zal meer dan lijf en
goed verliezen dan dooft het lichtů(H.M. van Randwijk)

Last edited by Edmond Stuart; 12th December 2017 at 09:47 PM.
  Reply With Quote
Old 12th December 2017, 10:52 PM   #173
Edmond Stuart is offline Edmond Stuart  Netherlands
diyAudio Member
 
Edmond Stuart's Avatar
 
Join Date: Nov 2003
Location: Amsterdam
Quote:
Originally Posted by lemon View Post
[...]
It is nothing to do with DiAna, this driver is useful to foobar player for SuperAudio CD or DSD files playing.
For some kind of reason, the DiAna sees this driver in starting and not the EMU asio driver and gives error.
[...]
Quote:
Originally Posted by kannan_s View Post
[...]
Still I did not understand why you limited the export only to Harmonics rather than complete Statistics ? is there a reason to limit?
[...]
Hi Manolis and kannan,

A new file has been uploaded with version nr 1.46.9
Although the DSD transcoder driver can still be seen, it can't be loaded any more. Hope this helps.
All 'statistics' pages can now be exported. How? See pic.
How about TAB characters in the export file (to let it look nicer). Are they allowed or should I do it with spaces in order to align the variables?

Cheers, E.
Attached Images
File Type: jpg export.jpg (112.0 KB, 93 views)
__________________
Een volk dat voor tirannen zwicht, zal meer dan lijf en
goed verliezen dan dooft het lichtů(H.M. van Randwijk)
  Reply With Quote
Old 13th December 2017, 01:23 AM   #174
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
@Edmond,

I set win10 up exactly as you described. The right border doesn't budge when resizing moving the left border. I tried many app including DiAna. I cannot replicate what's in your video demonstrating the issue.

On the other hand please put a big X over W8. I mustn't get started on W8 as I would hijack your entire thread with endless displeasure.

Cheers,
__________________
David.
  Reply With Quote
Old 13th December 2017, 01:56 AM   #175
Edmond Stuart is offline Edmond Stuart  Netherlands
diyAudio Member
 
Edmond Stuart's Avatar
 
Join Date: Nov 2003
Location: Amsterdam
@David,

>"The right border doesn't budge" That's right, but I meant the content inside the window and left to the right border does budge. Please have a closer look. Most people doesn't notice it (including MS !!!). edit: But DiAna is very sensitive to this bug.
>"including DiAna." No wonder, as I have cured it.
If all other apps really doesn't budge at all, you are lucky, as only one of the numerous builds of W10 is okay. In the past, I had one, but after the next upgrade, it was wrong again.
As for W8, indeed, it's a disaster. Only a few times I switch to W8 to check if DiAna also works under that OS.

Cheers, E.
__________________
Een volk dat voor tirannen zwicht, zal meer dan lijf en
goed verliezen dan dooft het lichtů(H.M. van Randwijk)

Last edited by Edmond Stuart; 13th December 2017 at 02:02 AM.
  Reply With Quote
Old 13th December 2017, 02:16 AM   #176
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
Quote:
Originally Posted by Edmond Stuart View Post
@David,

>"The right border doesn't budge" That's right, but I meant the content inside

Cheers, E.
Alright I'll try again.
__________________
David.
  Reply With Quote
Old 13th December 2017, 03:02 AM   #177
davada is offline davada  Canada
diyAudio Member
 
Join Date: Jul 2004
Location: Fort St John, BC Canada
Okay Edmond I found problem. That's a serious problem. It's much worse with .net apps. A big latency between mouse moves and GDI response.

Did you report this to Microsoft Dev team?

Cheers,
__________________
David.
  Reply With Quote
Old Yesterday, 12:11 PM   #178
jan.didden is online now jan.didden  Europe
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: The great city of Turnhout, BE
Did anybody encouter 'ADC not initialized Error code 108'? I use a Scarlett 2i2 sound card, and it is correctly identified by DiAna. However, clicking Distortion gives this error.

Edit: installed the asio4all driver, also correctly recognized, but same error code.

Jan
__________________
Music is dither to the brain; lets me think below the usual chaos - me
Get more Linear Audio for less! Check out my Autoranger and SilentSwitcher

Last edited by jan.didden; Yesterday at 12:17 PM.
  Reply With Quote
Old Yesterday, 01:44 PM   #179
Edmond Stuart is offline Edmond Stuart  Netherlands
diyAudio Member
 
Edmond Stuart's Avatar
 
Join Date: Nov 2003
Location: Amsterdam
Quote:
Originally Posted by jan.didden View Post
Did anybody encouter 'ADC not initialized Error code 108'? I use a Scarlett 2i2 sound card, and it is correctly identified by DiAna. However, clicking Distortion gives this error.
Edit: installed the asio4all driver, also correctly recognized, but same error code.
Jan
Hi Jan,

My apologies for the annoyance. What happened when you restart DiAna? Also, sometimes it helps if you select another Sampling rate or buffer seize (and set it back later on).

Cheers, E.

Edit: For trouble shooting, see post #45
Your post #63 suggests that the program does work.
__________________
Een volk dat voor tirannen zwicht, zal meer dan lijf en
goed verliezen dan dooft het lichtů(H.M. van Randwijk)

Last edited by Edmond Stuart; Yesterday at 02:12 PM.
  Reply With Quote

Reply


DiAna, a software Distortion AnalyzerHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Analyzer Software Overview dennis h Equipment & Tools 153 10th December 2017 08:40 AM
Distortion analyzer troystg Equipment & Tools 5 7th December 2016 07:11 AM
True RTA analyzer software JAY X Equipment & Tools 5 18th October 2016 02:29 PM
Spectrum Analyzer software recommendations head_unit PC Based 8 22nd January 2012 07:39 AM
HP8903B Audio Analyzer Software Conrad Hoffman Equipment & Tools 11 1st June 2010 02:21 PM


New To Site? Need Help?

All times are GMT. The time now is 08:06 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio
Wiki