VOGONS


First post, by zz_denis

User metadata
Rank Newbie
Rank
Newbie

Dear all:
I made a simple script that can auto sampling General MIDI (128 Instruments + 8 Drum sets / GS) to SFZ quickly with just only one command.
I will plan to test it to sampling SC55mkii and SCVA.

Step1:
Corrected MIDIOUT setting in GO_INST & GO_DRUM batch files.

Step2:
Execute GO_INST & GO_DRUM.

Step3:
Now you can post-edit every *.sfz with sfz editor such as "Polyphone" or convert them to sf2 format (GO_SF2).

I want to thank:
SoX: http://sox.sourceforge.net/
Geert Bevin's SendMIDI: https://github.com/gbevin/SendMIDI

Attachments

Last edited by zz_denis on 2022-06-04, 10:22. Edited 8 times in total.

Reply 1 of 7, by zz_denis

User metadata
Rank Newbie
Rank
Newbie

This file "024_AcousticGuitar.sf2" is the sample made by my script without editing and tuning. (only converted to sf2)

Attachments

Reply 2 of 7, by zz_denis

User metadata
Rank Newbie
Rank
Newbie

I have sampled my sc55mkii / ra90 and packed to "GMSC_test.7z".

GMSC_test.7z (unpack password is gmsc):
https://drive.google.com/file/d/1DgWeZ7-3mM-a … iew?usp=sharing
GMRA_test.7z (unpack password is gmra):
https://drive.google.com/file/d/1OACrb3v0ysBk … iew?usp=sharing

And I sampled my korg i3 (same as x3, similar to ag10/05r/x5dr, but seems to have better analog output) to "GMi3_test.7z".

GMi3_test.7z (unpack password is gmi3):
https://drive.google.com/file/d/13y5kD78gk2Bt … iew?usp=sharing

Those sfz are just prototypes, anyone can go ahead and edit / tweak it to become a final sf2 file (GO_SF2.bat is in my v0.6+ package).

https://www.polyphone-soundfonts.com/forum/su … anges-i-give-up
https://archive.org/details/sf-2-patcher

Last edited by zz_denis on 2022-06-11, 14:22. Edited 7 times in total.

Reply 3 of 7, by Bancho

User metadata
Rank Oldbie
Rank
Oldbie

I tried to use this the other day but wasn't getting very far. I assume you connect the audio out of the midi Device into line in on your audio device to record the samples?

Also, I was using a USB midi cable. I listed the visible midi devices using SendMidi List and then populate the correct midi device in the Batch file but I don't seem to be recording anything.

Can you explain how you recorded you SC55 please?

Thanks

Reply 4 of 7, by zz_denis

User metadata
Rank Newbie
Rank
Newbie

Hi, Bancho:

Yes, I connect the audio out of my sc55mkii into line in on my audio device to record the samples.

SendMidi: You are right and your midi device should response tone from SendMidi.

SoX: It's the tool I use to record from "Windows Audio Devices".
The code in my script is: sox -q -r 44.1k -c 2 -t waveaudio %AUDIOIN%
Default AUDIOIN is 0 (Windows default audio-in device).
Does it work on your PC? If not, you can try the following:
https://superuser.com/questions/650408/sox-on … e-output-device

Reply 5 of 7, by Bancho

User metadata
Rank Oldbie
Rank
Oldbie

Hi zz_denis,

Thank you for your help. I have this working now! I can hear the samples being played as the script runs. So understanding this, its possible to sample any midi device, and make a new soundfont using Polyphone by combining different captured samples?

This sounds like an awesome possibility. Thank you for sharing this script!

Reply 6 of 7, by zz_denis

User metadata
Rank Newbie
Rank
Newbie

Hi, Bancho:

The total workflow is about

1a. GO_INST -> Make 128 Instrument SFZ files.
1b. GO_DRUM -> Make 9 Drum set SFZ files.

2. Edit 128+9 SFZs via Polyphone. (optional)

3. GO_SF2 -> Convert 128+9 SFZs to 128+9 SF2s.

4. Edit 128+9 SF2s via Polyphone. (optional)

5. Combine 128+9 SF2s into one big SF2 (like SC55 soundfont) by "SF2 Patcher".
https://archive.org/details/sf-2-patcher

"doom1_gmsc.ogg" is played by fluidsynth + my gmsc sfz.
https://www.youtube.com/watch?v=Jxk8ewA1tAE

Attachments

  • Filename
    doom1_gmsc.ogg
    File size
    1.22 MiB
    Downloads
    87 downloads
    File license
    Public domain

Reply 7 of 7, by zz_denis

User metadata
Rank Newbie
Rank
Newbie

I have merged all my sc55 sfzs into one soundfont and all samples are 44.1k.
The sf2 is not final (in progress) because none of the samples have established loops.
But it can still be test playing many midi songs.

SC55_gmass.sf2:
https://drive.google.com/file/d/1AHquBL1mEpQO … iew?usp=sharing

The soundfont is too big, you can use the configuration of the fluidsynth:
set synth.dynamic-sample-loading 1

2022/6/25
My new SC55 soundfont 266MB (all new 44.1k samples):
New SC55 Soundfont 266MB (all new 44.1k samples)