code your own sampler (SynthEdit)

Modular Synth design and releases (Reaktor, SynthEdit, Tassman, etc.)
Post Reply New Topic
RELATED
PRODUCTS

Post

just loaded sample3 added midi2cv and containerised them,added keyboard in and sound L+R out,press note on keys and it crashes.(se v0.017)(win7)

Post

i'm using 1.016 iirc.. i haven't added any libraries or anything. anyone have any idea?


does sample0 work for you gary?
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

sample0 doesn't crash,but has no sound.

Post

replicated and "solved," here's what i did -

insert sample0 module, containerise, add midi>cv, gate, pins et c..

pressed play, crash.

went back into file.. disconnected pitch and gate pins. pressed play. good. connected pitch, pressed play, good. connected gate, pressed play, good. works.. sound and everything. even reloaded file, works fine.

so try disconnecting those two pins and add them one at a time :p



unless jeff or some more erudite than myself intervenes, that's the working solution. there are no guidelines i've ever seen for how vst hosts want you to deal with big files or anything.

haven't tried it as a vst yet. having no information on how these things are "supposed" to be handled, the wav is simply copied to memory. i've noticed long wavs (10 minutes) can take a moment to load... about the same amount of time as wavosaur takes, so i guess wavosaur are using the same method as i am.

my guess is something is having a shitfit about the way i do it (eg. doesn't like memory allocations without using a fruity rule or something i don't know about) but it works on the computer i tested after i disconnected and reconnected the pins. no worries, i'm not about to go into sem flogging.

makes you feel like 2004 again :p
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

if it doesn't have sound, it might be a sample that it doesn't like.. :p

try this one..? (or, probably any other sample in your collection)

http://www.xoxos.net/temp/sn_chapman.wav
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

sample0 still no sound.

Post

while i'm here, here's #4
http://www.xoxos.net/sem/sample4.zip

mentioned this on last page, copied..

added features:

reset file on gate option
loop position out
hermite interpolation (lol)
switched to doubles for loop coefficients (better loop point resolution and crossfade in short loops in long samples)

these features are decommented in the source code and can be added by uncommenting them:

loop point smoothing
alternate wrap mode (pointer wrapped by loop length instead of hard reset to loop point, the only place i could hear the difference was loop lengths less than two samples, so nyquist is okay)
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

spacedad wrote:sample0 still no sound.
signal on scope? it should handle most 8 or 16 mit mono or stereo.. works on two different systems here :p

at least it didn't crash :)
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

no signal on scope,also sample4 crashes.(sample0 never did crash,fyi)

Post

ty for checking it, i'll post a vst and see if anyone has any issues with it in that form.
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

AHA1111!!!!1!!1

sussed it.

okay, check this -

there's funky stuff with the text string of the wav filename happening inside synthedit. what it amounts to is that for this SEM form, the module will not load wavs from the synthedit audio folder!!!!!

that's it! forgot.

you can load a wav from anywhere else.. in the same location as the .se1.. and it will work. as far as i know, once it's a vst it's no longer an issue.



now the crash - jeff found this.

due to me developing and moving forwards in steps, my system for stopping the wav from playing if it didn't load is half there.. so it may crash if you trigger it when no wav is loaded.

so.. in present form.. load a wav from some other location and you're golden. i'll fix the sources to prevent the no sample crash.
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

http://www.xoxos.net/sem/sample1.zip
http://www.xoxos.net/sem/sample2.zip
http://www.xoxos.net/sem/sample3.zip
http://www.xoxos.net/sem/sample4.zip

updates on these.. one line added to gate to check if there's a file and not crash if there isn't :)

that and the big letters in the previous post = should be nice now.
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post

yes it works!!! :)
good work rurik!

Post

can you explain what is 'bounce' doing?

(this is sounding brilliant btw!)

Post

glad! bounce plays the loop forwards and then backwards instead of unidirectional.

there's a built-in "feature" if you switch between bounce and wrap at the right time, wrap runs backwards. i thought it should be like that.

iirc the casio sk-1 had forward and reverse modes you could swap in play, which gave the bounce effect and was loads and loads of fun for performance.

still haven't built a vst out of it, but if i read the docs correctly, the "no se audio folder" path thing only affects the SEM not the vst :)


two simple pieces of stoner sampler music
http://www.kvraudio.com/forum/viewtopic ... 62#5059262
you come and go, you come and go. amitabha neither a follower nor a leader be tagore "where roads are made i lose my way" where there is certainty, consideration is absent.

Post Reply

Return to “Modular Synthesis”