Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » Instruments
Thread Read
element VST sampler by xoxos
Goto page 1, 2, 3  Next
xoxos
Mr Entertainment
- profile
- pm
- www
PostPosted: Thu Sep 27, 2012 5:25 pm reply with quote



http://www.xoxos.net/vst/element.zip

not relly a sampler oc, it's a wav player, but people often call them samplers..

loads one sample, does some loop modulation stuff, prolly more or less the same as samplers like this (eg. helios). loads 8 and 16 bit mono or stereo wavs.. and not in a fancy way, though it loads all the samples i've got. this was produced because i released some open source modules for synthedit to help people develop wav players.. i figured i ought to wrap one as a vst.


features...

wrap mode looping ('normal looping') with crossfade
bounce mode looping (forward-reverse)
two crossfade modes.. fixed time (up to 1s) or loop relative (up to entire length of loop)
4 interpolation modes: floor ('none'), linear, cubic and hermite
emulated downsampling
loop position can modulate filter cutoff
a bunch of filter modes (low, band, high, cut, peak in moog, svf or biquad)
curveable envelopes and stuff
modulating start/end (loop or otherwise) reverses playback if end is lower than start
8 voices poly


what these features translate to...

1) 'floor' interpolation would put you in early sampler territory and alias nicely especially with pitching down.

2) long crossfade times (more cpu intensive with 'quality' interpolation) aren't done a lot..

3) bounce mode's alright


happy wav playbacking!
----
neither a follower nor a leader be
http://www.xoxos.net - free vst
^ Joined: 29 Apr 2002  Member: #2639  Location: i might peeramid
alvfaria
KVRist
- profile
- pm
- e-mail
PostPosted: Thu Sep 27, 2012 5:31 pm reply with quote
Thumbs Up! Thumbs Up! Thumbs Up! Thumbs Up! Thumbs Up! Thumbs Up! Thumbs Up! Thumbs Up!
^ Joined: 03 Apr 2011  Member: #253968  
Crackbaby
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Fri Sep 28, 2012 2:21 am reply with quote
Could you please consider 24 bit support? several of my libraries use 24 bit (though i really doubt there's any benefit)


And if possible .. a prev/next on the wav loader... with all modulation assigned to velocity you can get such awesome rythms using different drum or percussive sounds. I wanna check through tons of them!

I've been looking for a sampleplayer like this for a while! Big thanks!
----
Mulab-MUX-Diversion-TX16Wx-SKNOTE-Charlatan-Valhalla-GordonSmith-YamahaTHR10-Trackspacer-TheDrop/Glue-Drumaxx-VOS-DC8C
[i5 2500K @ 4,3GHz] [8Gb DDR3] [200Gb+ SSD][M-Audio Delta 24/96 PCI]
^ Joined: 10 Sep 2003  Member: #8920  Location: Karlskoga, Stockholm, Sweden
wakax
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Fri Sep 28, 2012 2:32 am reply with quote
thank you Smile
it's a very versatile tool.
^ Joined: 21 Mar 2002  Member: #2221  Location: Timisoara, Romania
Crackbaby
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Fri Sep 28, 2012 2:37 am reply with quote
here's a kick from zenheizer's minimal techno kicks with 2 hihats doing rythm modulated by velocity

https://www.dropbox.com/s/qwfo2mkcjxtomi3/ElementDrummed.wav

nothing special, just wanted to show my love for lots of parameters modulatable by velocity!

The UI is kind of small, makes me squint my eyes! Shit!

Thank you xoxos for another fantastic (free!) plugin Very Happy

Edit: https://www.dropbox.com/s/jygh6a65ulivwrj/ElementDrummed2.wa v 2 other random samples, some changes on the settings and added rev/delay for funsz

looks like you have to download them .... Maschine really need mp3 export!
----
Mulab-MUX-Diversion-TX16Wx-SKNOTE-Charlatan-Valhalla-GordonSmith-YamahaTHR10-Trackspacer-TheDrop/Glue-Drumaxx-VOS-DC8C
[i5 2500K @ 4,3GHz] [8Gb DDR3] [200Gb+ SSD][M-Audio Delta 24/96 PCI]
^ Joined: 10 Sep 2003  Member: #8920  Location: Karlskoga, Stockholm, Sweden
bob bobwood
KVRian
- profile
- pm
PostPosted: Fri Sep 28, 2012 12:21 pm reply with quote
Well, I got the light gui by renaming it. It does exactly what you said it would. Unusually, I even read the manual, so I have no questions or requests.
Thanks.
----
Dripfeed
^ Joined: 24 Apr 2010  Member: #230416  Location: Nottingham
xoxos
Mr Entertainment
- profile
- pm
- www
PostPosted: Fri Sep 28, 2012 12:32 pm reply with quote
you're very welcome, cheers all Smile

24 bit is likely given time and inclination as it shouldn't take more than a few minutes to add (loaded files are translated to 16 bits). the prev/next probably not as i don't have much experience handling strings and file browsing and vst are on the backburner at the moment.
----
neither a follower nor a leader be
http://www.xoxos.net - free vst
^ Joined: 29 Apr 2002  Member: #2639  Location: i might peeramid
xoxos
Mr Entertainment
- profile
- pm
- www
PostPosted: Fri Sep 28, 2012 5:02 pm reply with quote
24 bit capable uploaded (at least unpadded little endian 24 bit samples)


ftr i noted that i completely neglected to account for different sampling rates in playback.. so eg. an 88.2k sample will need to be pitched up an octave.. pitching a 48k or 96k sample would have to be fudged (i'd use a send to route the '10v const' source to fine pitch).

i dunno if that's lame, it could be easily fixed by scaling the incrementor.. i'm gonna leave it like this for now.
----
neither a follower nor a leader be
http://www.xoxos.net - free vst
^ Joined: 29 Apr 2002  Member: #2639  Location: i might peeramid
Crackbaby
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Fri Sep 28, 2012 5:18 pm reply with quote
it's a cool behavior Smile Downloading right away!

Edit: Confirming 24bit works!
----
Mulab-MUX-Diversion-TX16Wx-SKNOTE-Charlatan-Valhalla-GordonSmith-YamahaTHR10-Trackspacer-TheDrop/Glue-Drumaxx-VOS-DC8C
[i5 2500K @ 4,3GHz] [8Gb DDR3] [200Gb+ SSD][M-Audio Delta 24/96 PCI]

Last edited by Crackbaby on Fri Sep 28, 2012 5:56 pm; edited 1 time in total
^ Joined: 10 Sep 2003  Member: #8920  Location: Karlskoga, Stockholm, Sweden
xoxos
Mr Entertainment
- profile
- pm
- www
PostPosted: Fri Sep 28, 2012 5:49 pm reply with quote
download it again! Mad

i fixed it Smile

it will play original pitch on A3 whatever the sampling rate is now.

Smile
----
neither a follower nor a leader be
http://www.xoxos.net - free vst
^ Joined: 29 Apr 2002  Member: #2639  Location: i might peeramid
Crackbaby
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Sat Sep 29, 2012 2:11 am reply with quote
seems to work here this version also Smile However, i ran into some samples that wouldn't load. Explorer isn't too kind on showing me samplerate and bit depth

1411 kbit/s ... ?! Laughing

right, used SonicExplorer and it says Int PCM Wave 16 bits 44100 Hz Stereo
which turns out to be exactly what it says about another collection where the samples work
Ill pm you one that doesn't work!
----
Mulab-MUX-Diversion-TX16Wx-SKNOTE-Charlatan-Valhalla-GordonSmith-YamahaTHR10-Trackspacer-TheDrop/Glue-Drumaxx-VOS-DC8C
[i5 2500K @ 4,3GHz] [8Gb DDR3] [200Gb+ SSD][M-Audio Delta 24/96 PCI]
^ Joined: 10 Sep 2003  Member: #8920  Location: Karlskoga, Stockholm, Sweden
EnGee
KVRist
- profile
- pm
- e-mail
PostPosted: Sat Sep 29, 2012 4:10 am reply with quote
Thank you. Very nice of you Angelic
^ Joined: 07 Oct 2005  Member: #83574  Location: Auckland
sinkmusic
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Sat Sep 29, 2012 4:57 am reply with quote
Thank you, Xoxos !
----
^ Joined: 28 Apr 2004  Member: #22903  Location: france
xoxos
Mr Entertainment
- profile
- pm
- www
PostPosted: Sat Sep 29, 2012 10:45 am reply with quote
you're welcome! Smile

re: crackbaby/non-loading samples....

this vst has a different production value for me.. i've always gone to great lengths to produce the most efficient code possible. earlier this year i decided to take a break from vst to program in "more dimensions" -

in the course of this i was handling loading wav files.. so i wrote some open source sampler SEM modules for synthedit so that if new developers have good ideas for sampling, they have some of the tedium done for them. i'm still interested in working outside audio for the time being.

as such, this is the first code i've written that espoused the aesthetic of coding in the manner most convenient to the programmer instead of efficiency.. the modules aren't horribly slow but they could run a few tenths of a percentage faster.

things progressed and i added more features to the modules, because it was facile for me to do so.. ultimately this led to me finishing one as a vst.

so i have to be honest.. i'm not interested in making a "robust" file loading routine, i'm sorry...

...from an html document on wav format i downloaded (and thus do not recall the url..)


The WAVE format is sort of a bastardized standard that was concocted by too many "cooks" who didn't properly coordinate the addition of "ingredients" to the "soup".

...I suggest that you concentrate upon these and refuse to support the work of programmers who feel the need to deviate from a standard with inconsistent, proprietary, self-serving, unnecessary extensions. Please do your part to rein in half-assed programming.

(an example of further rants in the document..)
...Sure, countless brain-damaged programmers have inflicted literally dozens of compressed data formats upon the Data chunk, but apparently someone felt that even this wasn't enough to make your life difficult in trying to support WAVE files. No, some half-wit decided that it would be a good idea to screw around with storing waveform data in something other than one Data chunk. NOOOOOOOOOOOOOO!!!!!!

For some god-forsaken reason, someone came up with the idea of using an imbedded IFF List inside of the WAVE file. NOOOOOOOOOOOOOOOOO!!!!!!!! And this "Wave List" would contain multiple 'data' and 'slnt' chunks. NOOOOOOOOOOOOOOOO!!!! The Type ID for this List is 'wavl'.

I strongly suggest that you refuse to support any WAVE file that exhibits this Wave List nonsense. There's no need for it, and hopefully, the misguided programmer who conjured it up will be embarrassed into hanging his head in shame when nobody agrees to support his foolishness. Just say "NOOOOOOOOOOOOOO!!!!"



et c.... Smile

aamof if you code a little and peek at the source, what i did was handle the most obvious situations only... and if this isn't met, instead of scanning for the chunk that says "data" it checks in blocks of four a dozen times and balks if it doesn't find it...

if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);
if (strncmp(id, "data", 4)) fread(id, sizeof(char), 4, fp);

which isn't robust coding, but it is convenient. (aamof it's downright lazy Wink so i can only offer the option of saving the wav from a wav editor to another format and hope that will be more compatible.

and besides, i am totally out of weed and i have a low tolerance for dealing with other peoples programming as such Smile
----
neither a follower nor a leader be
http://www.xoxos.net - free vst
^ Joined: 29 Apr 2002  Member: #2639  Location: i might peeramid
Crackbaby
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Sat Sep 29, 2012 11:37 am reply with quote
Thanks for the knowledge and insight! I have enough samples working to keep me busy for a year or so. Im really glad you made the vst, i've had tons of fun with it already.

I hope your plant-issue gets resolved soon Smile
----
Mulab-MUX-Diversion-TX16Wx-SKNOTE-Charlatan-Valhalla-GordonSmith-YamahaTHR10-Trackspacer-TheDrop/Glue-Drumaxx-VOS-DC8C
[i5 2500K @ 4,3GHz] [8Gb DDR3] [200Gb+ SSD][M-Audio Delta 24/96 PCI]
^ Joined: 10 Sep 2003  Member: #8920  Location: Karlskoga, Stockholm, Sweden
All times are GMT - 8 Hours

Printable version
Page 1 of 3
Goto page 1, 2, 3  Next
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012