Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 03-04-2019, 08:08 PM   #1
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default Shortcircuit Sampler v1 and v2

Some have been asking about the Shortcircuit Sampler and saving.

Version 2 http://www.vst4free.com/free_vst.php?id=1104 http://www.vstplanet.com/News/2010/S...t%202_v0.5.htm

This plugin is confusing (especially on Linux) because of the way it does things.

The samples and patches files/folders are found by the plugin via windows shortcuts in the plugins database/samples and database/patches folders.

Total Commander https://www.ghisler.com/amazons3.php is needed to create the windows shortcuts by highlighting the plugins database/samples and database/patches folders in the left pane (they turn red) and then using Ctrl+Shift+F5 while the folder containing the actual (wav)samples/patches is open in the right pane.

So after that is done then the samples/patches should appear as a list (Zones pane) when the plugin is opened in Reaper and then the samples can be drag/dropped onto the keyboards keys/notes.

To save it as a patch the Part pane needs to be selected and then there will be a save patch option and the patch needs to be saved to the patch folder that was setup via the shortcut link (the folder that the shortcut in the database/patches folder points to).

After a patch is saved then it should appear in the Zones/Patch selection (Sample Patch Used) and double clicking on it will load the previously saved patch.

The samples and patches can be refreshed by right clicking on the displayed folders and choosing Refresh database.

Also by default the plugin is set to receive midi on channel 1 so click on the Reaper (midi file) track and choose source properties and check send as channel 1.

There are other plugin config options for running in a standalone window (which I had to choose because the plugins default window size was too large for my system).


https://forum.cockos.com/showpost.ph...8&postcount=13


https://www.youtube.com/watch?v=-25RvGqa7wQ




Last edited by osxmidi; 03-04-2019 at 10:23 PM.
osxmidi is offline   Reply With Quote
Old 03-04-2019, 10:27 PM   #2
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

I found version 1 on the wayback machine.

I can get saved samples to load by using save multi + samples (right click on loaded samples).

If I then save a Reaper project then it will reload with the samples (but it didn't find the samples automatically for some reason so a dialog came up and I pointed it to the samples folder then saved the project again and it was ok after that).

I checked the store all samples in project directory (if provided by host) option.

I can also just load the saved multi + samples file but to get changed note settings etc to stick I had to save the Reaper project.

But I'm not a user of shortcircuit so I have no real idea of what I'm doing but after a bit of mucking around I put a drum track (midi file) through it with some drum samples and it seems ok.

Also by default the plugin is set to receive midi on channel 1 so click on the Reaper (midi file) track and choose source properties and check send as channel 1.

Also the gui seemed a bit buggy to me (version 1.1.2 and version 1.1.1) but that could be due to my system/winprefix.


There are some things about version 1 here http://www.blendedplanet.com/blog/?P..._Sampler_Notes



Last edited by osxmidi; 03-04-2019 at 11:10 PM.
osxmidi is offline   Reply With Quote
Old 03-05-2019, 02:55 AM   #3
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

So you found a way shortcircuit 1.1.2 can work properly in wine? Will it always find the samples automatically, or for each project I have to save once manually? Or better for each new shortcircuit instance? The point is I am generating those xml files myself, so I want them just work, all samples should be just loaded plus all the configured mappings, filters, tricks. Turning shortcircuit into a hardware, if you have also your hardware mapped. But each time with new samples, but complex tricks in the background, if it would work. In windows it worked, now playing around in wine, you get some unexpected problems.
TonE is offline   Reply With Quote
Old 03-05-2019, 03:29 AM   #4
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

I can't say much about all of that because I'm not a shortcircuit power user.

Like I said, I did get shortcircuit v1 to load it's samples and other config such as note mapping when saved and reopened as a Reaper project.

Shortcircuit v2 is not that bad to use once the windows shortcuts are understood and the saving (of it's samples and settings) is via it's patches and also via a Reaper project.

Last edited by osxmidi; 03-05-2019 at 05:00 AM.
osxmidi is offline   Reply With Quote
Old 03-05-2019, 05:07 AM   #5
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

Quote:
Originally Posted by osxmidi View Post
Like I said, I did get shortcircuit v1 to load it's samples and other config such as note mapping when saved and reopened as a Reaper project.
The question is what this means?

Example: You have an .scm file on your harddisk, you load it into shortcircuit, it loads well, plays well, all perfect. Now you save your Reaper project, close, reopen, and here no samples are found. So I need to resave this .scm file once again, then it would work or yes or not? At least I have something more to try, thanks for the idea and testing and sharing here. I guess I never tried oversaving to the working .scm again, probably I guessed it would not work anyway, or I tried and it did not work. After retrying I can report here again. Maybe I need a newer wine version?
TonE is offline   Reply With Quote
Old 03-05-2019, 06:14 AM   #6
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Maybe it's because of the multi mode (it has multi listed above the loaded samples) and/or saving it in multi+samples first and/or checking that the host is to save the samples in the project directory.

I can save and recall samples/settings by saving/loading the Reaper project.

The trouble is that the v1 gui is not working very well with Wine Staging 4 and is causing crashes whereas v2 is ok.

https://drive.google.com/file/d/1JMW...ew?usp=sharing

https://drive.google.com/file/d/1z5M...ew?usp=sharing

Last edited by osxmidi; 03-05-2019 at 06:29 AM.
osxmidi is offline   Reply With Quote
Old 03-05-2019, 08:35 AM   #7
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

You have the sample names, show me the waveform, is it found?
And yes, I tried all the million options, in Reaper and in shortcircuit.

In case you want to play around with .scm files, here an AutoHotkey script of mine which creates for each directory with .wav files a kit.scm file per directory, all subdirs are processed, plus a few filters are preloaded per sample.

PHP Code:
/*

For all samples in a folder create a shortcircuit multi in same directory, which is an .scm file, in xml format.



Header
          
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcircuit app="shortcircuit" version="1.1.2" revision="9">
    <group is_root_group="yes">

          
Each sample gets a zone and has following components
- key_root, key_low, key_high can all go from 0..127
- output, 2..7,        repout := mod(out,6) + 2

   

Zone


Footer

    </group>
    <global headroom="0" poly_cap="256" />
</shortcircuit>
          
         

*/

;  setting general environment variables
#NoEnv 
#SingleInstance force
#InstallKeybdHook
SendMode Input
SetTitleMatchMode, 2
DetectHiddenWindows, On
SetCapsLockState, AlwaysOff
SetFormat, Float, 02.0
          
          

          
   FileSelectFolder, OutputVar,, 3
   msgbox, getting all .wav file names from %OutputVar% dir...
          
Loop, %OutputVar%\*.*, 2, 1     ; 2 means only folders
{
  result := ""
          
    ; header init
header =
(
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcircuit app="shortcircuit" version="1.1.2" revision="9">
    <group is_root_group="yes"> 


    result := result . header
  
  Loop, %A_LoopFileFullPath%\*.wav, , 0  ; Recurse into subfolders.
 {
   If (A_LoopFileExt not in wav)
   Continue
   SplitPath, A_LoopFileFullPath, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive
   counter := A_Index - 1 + 12
   out := mod(counter,6) + 2
    
zone =
(
<zone name="%OutFileName%" key_root="%counter%" key_low="%counter%" key_high="%counter%" lo_vel="0" hi_vel="127" key_low_fade="0" key_high_fade="0" lo_vel_fade="0" hi_vel_fade="0" channel="0" output="%out%" aux_output="-1" transpose="0" finetune="0.000000" pitchcorrect="0.000000" playmode="fwd" sample_start="0" sample_end="100000" loop_start="0" loop_end="100000" loop_crossfade_length="1024" velsense="-30.000000" keytrack="1.000000" amplitude="0.000000" aux_level="0.000000" pan="0.000000" prefilter_gain="0.000000" PB_depth="2" mute_group="0" polymode="0" portamode="0" portamento="-10.000000" mute="no" mono_output="no" aux_mono_output="no" ef_attack="0.000000" ef_release="0.000000" lag0="0.000000" lag1="0.000000" filename="$relative\%OutFileName%">
            <filter identifier="0" type="NONE" bypass="no" />
            <filter identifier="1" type="NONE" bypass="no" />
            <envelope identifier="0" attack="-10.000000" attack_shape="0.000000" hold="-10.000000" decay="0.000000" decay_shape="1.000000" sustain="1.000000" release="-4.500000" release_shape="1.000000" />
            <envelope identifier="1" attack="-2.000000" attack_shape="0.000000" hold="-10.000000" decay="-2.000000" decay_shape="0.000000" sustain="1.000000" release="-5.000000" release_shape="0.000000" />
            <lfo identifier="0" rate="0.000000" smooth="0.000000" syncmode="0" keytrigger="no" repeat="16" />
            <lfo identifier="1" rate="0.000000" smooth="0.000000" syncmode="0" keytrigger="no" repeat="16" />
            <lfo identifier="2" rate="0.000000" smooth="0.000000" syncmode="0" keytrigger="no" repeat="16" />
            <modulation identifier="0" src="c6" dest="pitch" amount="24.000000" />
            <modulation identifier="1" src="auto00" dest="rate" amount="-2.000000" />
            <modulation identifier="2" src="auto00" dest="samplestart" amount="1.000000" />
            <modulation identifier="3" src="c5" dest="f1p2" amount="2.000000" />
            <modulation identifier="4" src="c4" dest="f2p1" amount="12.000000" />
<modulation identifier="0" src="c6" dest="pitch" amount="0.000000" />
<modulation identifier="1" src="auto00" dest="rate" amount="-2.000000" />
<modulation identifier="2" src="auto00" dest="samplestart" amount="1.000000" />
<modulation identifier="3" src="c5" dest="f1p2" amount="2.000000" />
         <modulation identifier="4" src="c4" dest="f2p1" amount="12.000000" />
            <slice identifier="0" samplepos="0" end="3085" env="0.000000" mute="no" />
        </zone> 
)

    result := result . zone
    
 }


; footer init
footer =
(
    </group>
    <global headroom="0" poly_cap="256" />
</shortcircuit>
)

result := result . footer

  FileDelete, %A_LoopFileFullPath%\kit.scm
  FileAppend,%result%`n, %A_LoopFileFullPath%\kit.scm

}  
ExitApp

Last edited by TonE; 03-05-2019 at 08:54 AM.
TonE is offline   Reply With Quote
Old 03-05-2019, 10:56 AM   #8
Tobbe
Human being with feelings
 
Tobbe's Avatar
 
Join Date: Sep 2009
Location: Northern Lights
Posts: 749
Default

When I click the www inside SC I come to this place: https://surge-synthesizer.github.io/

and it's a deb file for linux there. Is this the same VST?
__________________
OS: Manjaro KDE Plasma, Reaper For Linux (64Bit) native linux-vst plugins, LSP-Plugins, TpL-Plugins, Harrison's AVA & VST Plugins. Behringer U-PHORIA UMC22.
Tobbe is offline   Reply With Quote
Old 03-05-2019, 11:41 AM   #9
JamesPeters
Human being with feelings
 
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
Default

It might be based on that but it's a newer plugin.

There are discussions about it here:

https://linuxmusicians.com/viewforum.php?f=48
JamesPeters is offline   Reply With Quote
Old 03-05-2019, 11:57 AM   #10
Tobbe
Human being with feelings
 
Tobbe's Avatar
 
Join Date: Sep 2009
Location: Northern Lights
Posts: 749
Default

Doesn't work on my distro. Some packages missing and can't be installed (for some reason). It's in KXStudio Repo also. Didn't work either.

Code:
surge : Depends: libfontconfig1 (>= 2.11.94) but 2.11.0-6.7+b1 is to be installed
Downloaded deb file 2.11.94 but no go:
Code:
Error: Dependency is not satisfiable:font-config(=2.11.94-0ubuntu1)
Might do with I am on Debian? I'm stuck.
__________________
OS: Manjaro KDE Plasma, Reaper For Linux (64Bit) native linux-vst plugins, LSP-Plugins, TpL-Plugins, Harrison's AVA & VST Plugins. Behringer U-PHORIA UMC22.
Tobbe is offline   Reply With Quote
Old 03-05-2019, 11:58 AM   #11
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,032
Default

No, surge is not shortcircuit.
TonE is offline   Reply With Quote
Old 03-05-2019, 01:27 PM   #12
JamesPeters
Human being with feelings
 
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
Default

Quote:
Originally Posted by Tobbe View Post
Doesn't work on my distro.
Nor mine.

Maybe it will eventually. I'm in no rush.
JamesPeters is offline   Reply With Quote
Old 03-05-2019, 08:08 PM   #13
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

Quote:
Originally Posted by TonE View Post
You have the sample names, show me the waveform, is it found?
And yes, I tried all the million options, in Reaper and in shortcircuit.

In case you want to play around with .scm files, here an AutoHotkey script of mine which creates for each directory with .wav files a kit.scm file per directory, all subdirs are processed, plus a few filters are preloaded per sample.

PHP Code:
/*

For all samples in a folder create a shortcircuit multi in same directory, which is an .scm file, in xml format.



Header
          
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcircuit app="shortcircuit" version="1.1.2" revision="9">
    <group is_root_group="yes">

          
Each sample gets a zone and has following components
- key_root, key_low, key_high can all go from 0..127
- output, 2..7,        repout := mod(out,6) + 2

   

Zone


Footer

    </group>
    <global headroom="0" poly_cap="256" />
</shortcircuit>
          
         

*/

;  setting general environment variables
#NoEnv 
#SingleInstance force
#InstallKeybdHook
SendMode Input
SetTitleMatchMode, 2
DetectHiddenWindows, On
SetCapsLockState, AlwaysOff
SetFormat, Float, 02.0
          
          

          
   FileSelectFolder, OutputVar,, 3
   msgbox, getting all .wav file names from %OutputVar% dir...
          
Loop, %OutputVar%\*.*, 2, 1     ; 2 means only folders
{
  result := ""
          
    ; header init
header =
(
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<shortcircuit app="shortcircuit" version="1.1.2" revision="9">
    <group is_root_group="yes"> 


    result := result . header
  
  Loop, %A_LoopFileFullPath%\*.wav, , 0  ; Recurse into subfolders.
 {
   If (A_LoopFileExt not in wav)
   Continue
   SplitPath, A_LoopFileFullPath, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive
   counter := A_Index - 1 + 12
   out := mod(counter,6) + 2
    
zone =
(
<zone name="%OutFileName%" key_root="%counter%" key_low="%counter%" key_high="%counter%" lo_vel="0" hi_vel="127" key_low_fade="0" key_high_fade="0" lo_vel_fade="0" hi_vel_fade="0" channel="0" output="%out%" aux_output="-1" transpose="0" finetune="0.000000" pitchcorrect="0.000000" playmode="fwd" sample_start="0" sample_end="100000" loop_start="0" loop_end="100000" loop_crossfade_length="1024" velsense="-30.000000" keytrack="1.000000" amplitude="0.000000" aux_level="0.000000" pan="0.000000" prefilter_gain="0.000000" PB_depth="2" mute_group="0" polymode="0" portamode="0" portamento="-10.000000" mute="no" mono_output="no" aux_mono_output="no" ef_attack="0.000000" ef_release="0.000000" lag0="0.000000" lag1="0.000000" filename="$relative\%OutFileName%">
            <filter identifier="0" type="NONE" bypass="no" />
            <filter identifier="1" type="NONE" bypass="no" />
            <envelope identifier="0" attack="-10.000000" attack_shape="0.000000" hold="-10.000000" decay="0.000000" decay_shape="1.000000" sustain="1.000000" release="-4.500000" release_shape="1.000000" />
            <envelope identifier="1" attack="-2.000000" attack_shape="0.000000" hold="-10.000000" decay="-2.000000" decay_shape="0.000000" sustain="1.000000" release="-5.000000" release_shape="0.000000" />
            <lfo identifier="0" rate="0.000000" smooth="0.000000" syncmode="0" keytrigger="no" repeat="16" />
            <lfo identifier="1" rate="0.000000" smooth="0.000000" syncmode="0" keytrigger="no" repeat="16" />
            <lfo identifier="2" rate="0.000000" smooth="0.000000" syncmode="0" keytrigger="no" repeat="16" />
            <modulation identifier="0" src="c6" dest="pitch" amount="24.000000" />
            <modulation identifier="1" src="auto00" dest="rate" amount="-2.000000" />
            <modulation identifier="2" src="auto00" dest="samplestart" amount="1.000000" />
            <modulation identifier="3" src="c5" dest="f1p2" amount="2.000000" />
            <modulation identifier="4" src="c4" dest="f2p1" amount="12.000000" />
<modulation identifier="0" src="c6" dest="pitch" amount="0.000000" />
<modulation identifier="1" src="auto00" dest="rate" amount="-2.000000" />
<modulation identifier="2" src="auto00" dest="samplestart" amount="1.000000" />
<modulation identifier="3" src="c5" dest="f1p2" amount="2.000000" />
         <modulation identifier="4" src="c4" dest="f2p1" amount="12.000000" />
            <slice identifier="0" samplepos="0" end="3085" env="0.000000" mute="no" />
        </zone> 
)

    result := result . zone
    
 }


; footer init
footer =
(
    </group>
    <global headroom="0" poly_cap="256" />
</shortcircuit>
)

result := result . footer

  FileDelete, %A_LoopFileFullPath%\kit.scm
  FileAppend,%result%`n, %A_LoopFileFullPath%\kit.scm

}  
ExitApp

I altered the Snare 04_00.wav sample high and low keys as a test to see if those settings were saved when opening the project again and as far as I can tell it's all ok.


https://drive.google.com/file/d/1DJY...ew?usp=sharing


The shortcircuit settings seem to be saved with the Reaper project and not in the scm file.

So if I alter the filter and the EG then those settings are saved in the Reaper project and not the scm file, from what I can make out.

I've even got shortcircuit v2 saving it's settings/samples in a Reaper project.

But it took some playing around to get shortcircuit v1 and v2 to save their settings in the Reaper projects and maybe creating the multi+samples scm file and the patch file (v2) helped somehow,

Last edited by osxmidi; 03-05-2019 at 11:41 PM.
osxmidi is offline   Reply With Quote
Old 03-11-2019, 04:43 AM   #14
osxmidi
Human being with feelings
 
Join Date: Feb 2014
Posts: 620
Default

I've put a shorcircuit1 display refresh workaround in LinVst.

shortcircuit1 wouldn't refresh it's display properly (wine 32 bit quirk of some sort).

As for the project saving the shortcircuit1 settings, I don't get any problems with Wine Staging 4.3 Debian.

Maybe a Wine cleanout might help ie delete the wine prefix and start again.

shortcircuit2 has some problems initializing it's settings when a sample is entered (maybe xml related), so it's not very usable.

Last edited by osxmidi; 03-11-2019 at 04:50 AM.
osxmidi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT -7. The time now is 04:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.