SFZ Designer Project (0.25)

Sampler and Sampling discussion (techniques, tips and tricks, etc.)
Post Reply New Topic
RELATED
PRODUCTS
sforzando SFZ Designer

Post

Unfortunately, this program does not run either. However, there is a long pause, with the Window's blue circle appearing, after I try to run it. Eventually the circle goes away, but the program does not run. Nothing appears in Task Manager to indicate that it loaded. Tried both a simple double-click and a right-click\Run as Administrator.

Post

Here is the error message that appears in the Windows Events log for the original program, version .25:

Fault bucket 86021802993, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: SFZ Designer 64.exe
P2: 0.0.0.0
P3: 54e605a4
P4: StackHash_2895
P5: 0.0.0.0
P6: 00000000
P7: c0000005
P8: PCH_B8
P9:
P10:

Post

Thanks for that. Right now this crash couldn't be duplicated by the Windows 8.1 beta tester so it's probably not code/framework related. But I need to be sure. If you could test a blank program for me that would be great. I'll post back when it's ready.

Post

hi, here's a blank SFZ Designer. Everything is disabled here and will show only a blank page. If it runs it will give me an idea where the problem is. Download here:

http://mildon.me/alpha/diagnostic01.zip

Post

A couple thoughts.

Everything seems an octave high?

When I drag a wave file into a group for the first time it creates a blank note field and then adds the note I dragged in after that. I have to delete the blank field or else it thinks there is a round robin of a blank sound and the sound I added.

I notice the sample I used is listed as "sample=..\Piano Project\City Piano\FF Final Edit\C4-111-127.wav". I assume that the instrument won't work unless the end user has the sample in exactly the same directory on their computer as I have it on mine? I guess putting the wav(s) files in the same directory as the sfz file solves that.

So here is my little attempt at a piano based off a single C4 sample.
http://www.mediafire.com/download/3d73d ... o_Test.zip
Image

Post

bigcat1969 wrote:A couple thoughts.

Everything seems an octave high?
According to the 1.0 specification, key/lokey/hikey are from 0 to 127 or C-1 to G9, where C4 is middle C.
When I drag a wave file into a group for the first time it creates a blank note field and then adds the note I dragged in after that. I have to delete the blank field or else it thinks there is a round robin of a blank sound and the sound I added.
Yes, this will be fixed in the next update. Initially I populated all groups with an empty field because there wasn't drag n' drop until the last update, but now there's no need for it.
I notice the sample I used is listed as "sample=..\Piano Project\City Piano\FF Final Edit\C4-111-127.wav". I assume that the instrument won't work unless the end user has the sample in exactly the same directory on their computer as I have it on mine? I guess putting the wav(s) files in the same directory as the sfz file solves that.
The export function tries to make a relative path from the location of the sfz file to the sample. This path tells me that your sfz file is located in the parent folder of Piano Project. If this is the case, then it should work in any PC as long as that structure is maintained. This is the expected behavior of the app.

This also means that wherever you export the SFZ file, SFZ Designer assumes that it will be its final destination.

If you want it in a different folder, you need to re-export in that folder.

:additional:
SFZ Designer DOES NOT copy your audio files to an export directory. So actually, as long as the paths are relative, then it should work anywhere, as long as you maintain that directory tree in your zipped archive. It won't work if it starts with c:\something\folder or d:\something\folder.

My suggestion is when you're ready with your edited samples, put them in a final output folder (before dragging them into SFZ Designer), and you can export your SFZ file one folder up from there.

Post

Also, the sfz file doesn't have to be in the same directory as the samples. Here are some examples:

1. I have a folder named 'piano_samples' where all the samples are. If I export the sfz file one folder above that, path will look like this:
piano_samples\c4.wav

2. I have a folder that has 2 subfolders in it, 'folder1' and 'folder2'. Samples are in folder 1. If I export the sfz file in folder 2, path will look like this:
..\folder1\c4.wav

3. I have a folder named 'instruments' and in it is a subfolder called 'piano' where the samples are. If I export the sfz file one folder up from 'instruments', path will look like this:
instruments\piano\c4.wav

The paths are all constructed from the location of the sfz file to the actual samples. So if you plan to distribute/share the instrument, it is ideal to put the samples in an output folder first, then import them into SFZ Designer, and then export the sfz file one folder up from there. Then simply zip the sfz file along with that folder. I hope this helps.

Post

Hey thanks for all that great information!
Image

Post

mildonm wrote:hi, here's a blank SFZ Designer. Everything is disabled here and will show only a blank page. If it runs it will give me an idea where the problem is. Download here:

http://mildon.me/alpha/diagnostic01.zip

When I run the diag.exe file, an empty window with the name "SFZD Diagnostic" appears, but at the same time, the Windows error message appears saying that "Diag.exe has stopped working."

Post

Jake Jackson wrote:
mildonm wrote:hi, here's a blank SFZ Designer. Everything is disabled here and will show only a blank page. If it runs it will give me an idea where the problem is. Download here:

http://mildon.me/alpha/diagnostic01.zip

When I run the diag.exe file, an empty window with the name "SFZD Diagnostic" appears, but at the same time, the Windows error message appears saying that "Diag.exe has stopped working."
Oh... that program runs nothing more than a print command, but has all the settings of the original program and with all the code disabled. At this point I have no idea what's causing it to crash. I don't suspect it has something to do with the compiler since it runs in other win 8.1 machines. I'm inclined to think this is an issue in your PC.

The reason why you at least see the window and the message is that the original program waits before the graphics are loaded before showing the window. So it just crashes before you even see anything. Other than that, it's the same. I was hoping it would not crash because then it would be a code error, which means I can fix it. There is still a possibility that it has something to do with dependencies. Would you be willing to do another test?

There's a tool called dependency walker here:
http://www.dependencywalker.com/

when you load the diagnostic01.exe in there it will show you a list of libraries that it needs, and will show a warning icon for dll's that it can't find in your system. This might give us an idea.

You don't really have to do this. If someone else experiences this issue perhaps I can take a look again, but unfortunately right now I just don't have a clue.

:addl:

I forgot to ask you, have you tried installing the 32-bit version?

Post

Also, here's something that might help. I found this in another forum.
http://www.eightforums.com/software-app ... ch-11.html

It was for metro apps, but since I suspect it's a local issue, maybe it's worth looking into.
Try the following steps and check:
Method 1:
Try to run the troubleshooter which automatically fixes some issues that might prevent your apps from running, including suboptimal screen resolution and incorrect security or account settings.
http://download.microsoft.com/download/ ... ps.diagcab

Method 2:
I would suggest you try the sfc scan first and check if you get any errors:
Follow these steps:
a. Press “Windows Key + x” button on the keyboard.
b. Click “Command Prompt (Admin)” from the list.
c. Type ‘sfc /scannow’ without quotes and hit enter.
Note: It may ask for windows installation DVD to fix and to enable SFC to make more than minor repairs. Some files saved on your computer might get deleted when fixing corrupted files.

Method 3:
Try the suggestions provided in the following link and check:
What to do if you have problems with an app
http://windows.microsoft.com/en-GB/wind ... oblems-app

Post

Found some corrupted files using the scan and some missing files using the dependency walker. Hm...Will investigate further and get back to you once things are resolved. Sorry to be one with problems. Thanks for the walk-through of ways to check for problems.

Post

Jake Jackson wrote:Found some corrupted files using the scan and some missing files using the dependency walker. Hm...Will investigate further and get back to you once things are resolved. Sorry to be one with problems. Thanks for the walk-through of ways to check for problems.
I appreciate your willingness to investigate the issue. It would help a lot of others who are having the same problem once we find out what's the cause.

Can you tell me what the corrupted and missing files are? One or two examples would do if there's a lot. It could help me determine if the files are part of a certain library like Visual C++ Redistributable or the Windows Platform SDK...

Post

mildonm wrote: Can you tell me what the corrupted and missing files are? One or two examples would do if there's a lot. It could help me determine if the files are part of a certain library like Visual C++ Redistributable or the Windows Platform SDK...
If you are using MSVC and doing C++ , trust my experience and link with static runtimes
Properties/C_C++/Code Generation/Runtime Library set to /MT and not /MTD ever whatever Microsoft tells you.

You will never need to ship with the dreaded vcredist stuff.
David Viens, Plogue Art et Technologie Inc. Montreal.
https://bsky.app/profile/plgdavid.bsky.social
https://plogue.com

Post

davidv@plogue wrote:
mildonm wrote: Can you tell me what the corrupted and missing files are? One or two examples would do if there's a lot. It could help me determine if the files are part of a certain library like Visual C++ Redistributable or the Windows Platform SDK...
If you are using MSVC and doing C++ , trust my experience and link with static runtimes
Properties/C_C++/Code Generation/Runtime Library set to /MT and not /MTD ever whatever Microsoft tells you.

You will never need to ship with the dreaded vcredist stuff.
I really think it's a local issue in his machine. I've already asked several win 8.1 users, none of them have problems loading the program. I do static linking even for the child processes that I've precompiled, so I'm sure it's not the issue. Could be a virus, or corrupt files in his system. Anyway, I think we can leave this issue for now.

Post Reply

Return to “Samplers, Sampling & Sample Libraries”