From the original SynthMaker forum (2004–2014), with its members’ names and dates.
aliasant ·
I have used Exonerates Waveplayer that has loop start and end markers.
Great one Exonerate.
I added a lot of small things. Changed some and so on. It is a bit buggy I think but its nice. I added a Jog-shuttle style knob and a REW +FFW button.
Also added a Play/Stop button. Not ideal. I would like it to be a Play/Pause button and then a Stop/Return to Start button but I dont know how to do that.. yet.. if ever..
Also... added a selectable midi input control.
And finally I added a Gain output with L&R VU meters + dB readings.
This one needs work. Optimizing but I think we really need to have one good player we can depend on. One that can be in the toolbox maybe?
Now that SM is at version 1.08 and the waveplayer in the toolbox has been updated maybe we can fix this player too?
I have no idea what was changed in 1.08 to the waveplayer but I know that it corrected some problems that I have with this player.
Anyone wants to help out with this one?
Edit: Forgot to say that .. here is the .osm file.
I'm planning to update my sample looper, when i do this (should be in the next day or two) i'll make the changes in your example as well, and upload that to this thread.
I've had a quick look at your example and the CPU was very high, it's denormals that are causing it.
If you remove the smooth code before the step input (on the loop/counter module), the CPU should go down.
cheers 😉
exo
aliasant ·
Hi Exonerate.
I took that Smooth away but I cant wee no difference.
Before cpu was at 1.6% and after just the same.
Maybe it depends on what kind of cpu's you have?
I have a mac so I have Intel Xeon processors. i think that is x86 ?
Great about updating it.
I just noticed a dumb bug in this.
If I use the rew key or jogshuttle and rewind I can rew beyond the sart of the audiofile.
Way beyond and then I have to FFW until I hear sound again =)
Maybe there should be a limit there?
This module really needs to be good I think.
I use it all the time since I mostly make fx and not synths.
In Reaktor theres the built in Audiofile player. Wish there was something like that in SM but a good module would do.
Another thing i thougt of.. Is it possible to make it load mp3 files as well?
Everyone has a big library with mp3 files they could use when creating fx.
But to have music to play thru the fx we have to convert our mp3 files to wav. Kind of unecessary. Would be great if it could read mp3 files.
Would be nice too if your building a sampler. mp3 files would do well enough for many projects and that would keep the size down on the vst instruments.
exonerate ·
Is there a reason for it being mono?
It's just i'm working on it at the moment, and because it's mono i'm going to have to implement extra code to deal with it being mono.
Mono streams are on all the time so for a sampler this means that the sample index is continually growing unless loop is on and then it will just loop forever. So basically this means that extra code is needed to reset the mono stream every time you press play to ensure the sample starts at the correct point.
I think it would be better if the sample looper was in poly and you convert to mono after it.
I'm going to change it to poly anyway and then i can just reuse the code to update the wiki version. I can do a mono version if you like but i think it unnecessary, and a poly version will be more efficient as it will only use CPU when the sample is playing instead of all the time.
cheers 😉
Exo
aliasant ·
exonerate wrote: Is there a reason for it being mono?
I think it would be better if the sample looper was in poly and you convert to mono after it.
Exo
haha. Oo.. well.. hmm.. That was just me beeing dumb as usual.
I had this idea that if it is mono it should use less cpu + that effects are almost always in mono... but of course.
You make it the way you think it works best =)
I often have a vision of how something should work and feel.
But its rare for me to actually know how to implement it.
If I do something right its always luck =)
Was it possible to have a play/pause button and a Stop/Go to beginning button?
Just like the transport of most sequencers?
An other thing I forgot to mention.
Would be very nice to have a Play line indicating were in the wavefile it is actually playing. Again like any sequencer.
exonerate ·
Ok i've updated your player........
http://www.box.net/shared/t1vyzex5fi
it now uses the new double precision components.
I've added a time bar as well,
For me though with this version i'm getting very high CPU usage, and adding the time bar seemed to add to it alot, i'll let you test it and see if you have the same problem.
The high CPU is strange because i'v just updated my version and the CPU is fine but in yours it's very high.
As for the play/pause i've not come up with a way to do that just yet, but at the moment i am also working on a sampler (it's a sample slicer plugin)
and i'd also like such a thing, so i'll work on that soon, if and when i pull it off i'll let you know 😉
cheers 😉
Exo
aliasant ·
HI exo.
Looking at the new player =)
I did put back the jogshuttle and rew ffw + I added a pause button.
Realised that the timebar/line is following the samplerate wixh is 44100 but the audiofile I loaded is 48kHz so the timeline is beeing offset. Ill try to make the timeline follow the audiofiles samplerate instead. That should work.
Ill update this post soon. Just wanted to inform that I was on it.
aliasant ·
Ok.
Its starting to look and work better but there are some odditys.
I'll list them as they come to mind....
1. If I unselect "Loop" it starts playing from 0 even if the startpoint
(Loop Start Point) is somewere else. It makes sence... but
sometimes we want it to play a single hit but within start and end markers.
For drum sounds or what ever.
2. If rewinded to before 0 it keeps on rewinding outside the audiofile.
Sould be nice if the index never got under 0 but instead went to the
endpoint. Just the same as when you FFW. If forward to beyond the
endpoint it starts from the startpoint again. Looped.
2B. If I go to Reverse mode and play there is some serious aliasing or something. it sounds quite bad played in revers. BUT. If I play normally and use the shuttlknob to reverse it it sounds fine. So that reverse thing needs to be redone some how.
These 2 points are connected and there should be a better solution.
I noticed that inside the "Precise Counter" there is a modul called "forward/reverse selector" This is were the problem might be..
3. There is something wrong with C3. ( maybe it is C4. not sure )The key on my midi keyboard.
It works like a mono key with out retriggering, even thoug all other keys work just fine.
Very strange. Is this just me and my keyboard or is there a bug in the midi? This doesnt happen with any other synths in SM. Just tried the example synth. Works just great.
Wishes....
1.
Would be nice if one could click, hold and drag the playbar
as a live scrub thing. Only when in Pause mode.
I realise this might be hard to do but in my dreams it isnt =)
2.
If we could have 2 buttons by the "Load wavefile" button.
One name + or Next and the other named - or Prev.
Those could with a single click load the next or previous wave file.
Would save a lot of time and make things easyer =)
I have worked out the logic for the play button and midi. Try it. Works great now. The play button also acts like a midi activity signal.
I will upload the file soon but unfortunatly I have to reboot to mac to do that.
Andrew J ·
I've previously mod'ed exo's wave player also and added play/pause, looping, file cursor and a few other things (like play all files in a directory one after another). Problem is that mine also suffers from high CPU usage (Acrobat - look at the windows task manager as well as the SM usage meter, it might give you a surprise).
I was going to try and do a bit more work to optimise it, but haven't got around to it yet. Anyway have a look if you like:
http://www.box.net/shared/s7xl65bv8e
aliasant ·
(like play all files in a directory one after another)
edit:
I will have a look on that osm =) Thanx
aliasant ·
This is version 1.031
Lots of new things.
Those of you that thinks this is a cpu hog. Please report your system setup. CPU type, memory and what not..
I don think this uses a lot of cpu. Under 1% for me.
I've previously mod'ed exo's wave player also and added play/pause, looping, file cursor and a few other things (like play all files in a directory one after another). Problem is that mine also suffers from high CPU usage (Acrobat - look at the windows task manager as well as the SM usage meter, it might give you a surprise).
This is excellent work.
I love the next previous files buttons.
Something like this would be excellent in this new waveplayer but there is a small? problem.
It seems your player loads EVERY file in the current folder into the ram?
Is it possible to only have it loading the previous and the next file to save ram?
When loading one track from a folder which contains an album or entire collection of music this is a must.
Other then that its one great player!
exonerate ·
It seems your player loads EVERY file in the current folder into the ram?
That reminds me of an example of doing it without loading to memory.
Andromeda Strain
cheers 😉
Exo
aliasant ·
Thanx Exo. And thanx mdk =)
Will have to dig into this then. =)
aliasant ·
Here is version 1.04 with the improved File Loading system.
now it plays from the start point to the end point regardless if loop is on or off, i think thats how you wanted it?
The forward and reverse now work by looping back around but only when loop is on, when loop is not on the problem remains 🙁 , i've not found a way to fix it yet. Because if loop is off then it's not easy to get just the playback line to loop, because it only shows what the code is doing and if the code is not looping then neither is the playback line.
So i think maybe a better implementation of the forward and reverse is needed to make the problem easier to fix. (I'll look into it at some point).
cheers 😉
Exo
aliasant ·
hallelulja, Praise the Exonerate..
Nice work.
Works just like I wanted.
Im going to make some minor adjustemnts to it soon.
But its coming together really nice now.
Edit:
Forgot something.
It is a bit weird that if I hit the reverse button to play it in... reverse =)
It sounds quite crappy but if I instead play it in reverse buy dragging the playfader to the left it sounds perfect... its an easy fix to just skip that reverse code thing and make a button that reverses it my way instead.
But it all seems a bit odd. Maybe there is a simple mistake in the code. left over from earlier version maybe?
If not maybe we should try to make it work some other way?
And another Q...
If one would use this as a oscilator with some 1cycle osc waveforms at maybe 24bit 192kHz ... would that be any good? Would it be slower then using the normal toolbox osc?
I have been thinking about this for a while but not dared to try it. 😉
exonerate ·
And another Q...
If one would use this as a oscilator with some 1cycle osc waveforms at maybe 24bit 192kHz ... would that be any good? Would it be slower then using the normal toolbox osc?
hmm.. well i'm not sure if it will be better cpu wise than the SM's oscillators, theres quite a bit going on in in this now...... The CPU should be the same as it is now though for larger samples, using single cycles you'll just be saving RAM.
The tables for the osc's are 2 MEG and a single cycle waveform will be no where near that, So you should definetey save some memory.
Regarding the reverse thing, I'll have a proper look at that when i get chance.
cheers 😉
Exo
aliasant ·
okidok.
Made some adjustments and fixed the reverse problem.
Check it out and get the latest osm here.http://martin.rodensjo.se/assets/WavePlayer%20v.1.1.osm.zip
cs ·
hi,
It's nice work, thanks. But i've a problem with a high freq at end of sample if a play is on after the end. Sorry for my english
bootsy ·
just want to thanks for this one it's so usefull!!!!
aliasant ·
Hehehe
Talk about old thread.
I made another one. Its a bit different and it actually clears itself when you hit the C button.
This way, if you hit clear before saving an osm you wont save the wavefile with the osm.
It also has a kind of consecutive playing. It will play the next wavefile when this on is done.
Can be turned off. It doesnt have start and end for loops but that could be added. Just didnt need it myself.
It has a zero return. Click it and it starts from 0. You can also grab the playline and move it to were you want it to play from.
AngularMomentum ·
Another cool idea would be that if you click somewhere on the sample, it would play from that position...
aliasant ·
AngularMomentum wrote: Another cool idea would be that if you click somewhere on the sample, it would play from that position...
Please do =). I was thinking that too but was to lazy to do it.
AngularMomentum ·
I will see if my abused grey cells allow for such.
nix ·
I'll have a crack at that 2 if it's not done already. Abused neurons here too though!
Cheers
aliasant ·
Nice guys. Look inside the counter/precise counter. I made some alterations in there for the red drag play line thing.
philter5 ·
great stuff aliasant! thx a lot 😉
Sasu Honka ·
Thanks a Million Aliasant! 😇
This has some of the functionality that I have been wrestling for ages to have working!
Yours: Sasu 😀
aliasant ·
Sasu Honka wrote: Thanks a Million Aliasant! 😇
This has some of the functionality that I have been wrestling for ages to have working!
Yours: Sasu 😀
=) Sweet. Glad its useful!
aliasant ·
Made a new version without denormals + less clicks when changing tracks.
AngularMomentum ·
Got a weird bug...
When playing a sample, and going through the schematic the sample dissappears...the selector is set to the last string, which is empty.
aliasant ·
AngularMomentum wrote: Got a weird bug...
When playing a sample, and going through the schematic the sample dissappears...the selector is set to the last string, which is empty.
Are you using consecutive playing? The string list ends with an empty line ( again ) and needs a fix I think.
Also the we should replace the wavefile finder thing with the one we made in your other thread.
how to give the sampleplayer prev/next buttons?
Or perhaps tektoogs version if it works better.
AngularMomentum ·
Yes I am using consectutive I think...
And about the speed of the thing, it runs at 1,6 % CPU on a Phenom x4 920 🙂
AngularMomentum ·
I also want to ask...if I would go a couple of versions back would that help me get rid of these bugs...as it is annoying the hell out of me....KickLab XXL is unreleasable and I have been working for months already on this.
aliasant ·
AngularMomentum wrote: I also want to ask...if I would go a couple of versions back would that help me get rid of these bugs...as it is annoying the hell out of me....KickLab XXL is unreleasable and I have been working for months already on this.
Are you using parts from the tapeplayer in KicklabXX?
If you want me to help fix them I can probably help.
At least do my best. But no promises. Seems to be a lot of bugs in SM now so some problems are schematic others not.
Makes it hard to know if its worth chasing right now or if one should wait until Malc has a better version out there.
Anyways. Maybe you can write me a list of the bugs your having and ways to reproduce them so I can try to fix em ?
AngularMomentum ·
I do not hink so...I use a modified version of Exo's sampler. Yeah, if you want you can take a look at it, provided the schematic doesn't go walkies elsewhere. 🙂
MegaHurtz ·
It can help.. I dont have the weird stuff going on and im using the initial version.
Ofcourse other weird stuff is happening. But not like this.
I dont know about double precision, and the way the precise ramp is coded.
I scrapped it all for the sattisfaction of diy.
Now being on the point everything yust snaps really.
The only crashes I experience are the poly ones, and the shutdown wait crash bug.
Guess it`s perfect really..hihi.
On the other hand could be a wire.
McBarGig ·
Great Job Aliasant...
aliasant ·
I got reminded of this one and made some small improvements.
It now uses a lot less cpu for the gui.
One disadvantage though that I havnt figured out yet.
When you drag this to the toolbox the cached backgrounds will dissapear. That is only for the preview in the toolbox.
When you drag it back out on the desktop it will look and behave as normal.
This has to do with the View Caches ( thank you mwvdlee ) used.
philter5 ·
thx a lot aliasant 😉
RunBeerRun2 ·
Kool, thanks dawg. You gots ta git!
I've been trying to make a similar thing, for ease in making compressors/exciters. Man the stock SM filters are terrible for exciters, they're way too substantial, I need it real basic sounding.
MegaHurtz ·
Yep this becomes my standard for testing 🙂
Props!
aliasant ·
Nice its coming to use 🙂
djbrynte ·
nice aliasant ur realy awesome...... i think ur semi elite 🙂 cheers martin xD i made a new synth lesser stuff now. not 150000000 cables to trix with HAHAHAH!
pall ·
Hi aliasant!
Under what conditions can I use this schematic? (It is free?)
Cheers! 🙂
aliasant ·
pall wrote: Hi aliasant!
Under what conditions can I use this schematic? (It is free?)
Cheers! 🙂
Completely free. Use and abuse.
pall ·
Thanks a lot. I made a small change in the schematic. After I played with FFW, I observed that normal playback no longer work.
Tell me if it's better now?
aliasant ·
Its been years since I made this but I found a version on my drive and tried to fix it.
Test this but Im sure there are better ways to do this.
pall ·
Oh! It works nice. Thank you aliasant! I owe you. 🙂
Acrobat ·
aliasant wrote: Its been years since I made this but I found a version on my drive and tried to fix it.
Test this but Im sure there are better ways to do this.
thank you man this is a classic already . And it still works in SM 1.X!!
Wrote something here? To have a post removed or your name hidden, write to [email protected].