|
|
|
04-16-2016, 03:30 PM
|
#1
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Lua: Simple SampleEditor
Simple SampleEditor. Warning - its beta version.
It will be corrected and added many things, if I do not chill
=====================
Only 16, 24 PCM and 32, 64 Float Point wav-files are supported!!!
Сurrently already supported mono, stereo and multichannel wav-files.
===
===
Quick instructions:
Select an item.
Set the time selection on item. Note, if time selection more than than 100 ms, only the first 100 ms will be used.
Use the left mouse button for edit waveform.
Use the right mouse button for Undo.
Use the mousewheel for vertical zoom
If you get error messages, inform about it here
=====================
Warning! Script to directly edit the source file.
Undo is only available while the script is running.
Therefore it is better to use a copy of the file if you are not sure...
=====================
Link will be updated.
SampleEditor
Last edited by eugen2777; 05-26-2016 at 04:27 AM.
|
|
|
04-16-2016, 03:44 PM
|
#2
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
sir you are AWESOME!
but an error :
104: attempt to perform arithmetic on a nil value (global 'smpls')
EDIT: nevermind,needs to be WAV (tried on MP3)
Last edited by Sexan; 04-16-2016 at 03:53 PM.
|
|
|
04-16-2016, 04:05 PM
|
#3
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Sorry,confusion,available normal version
|
|
|
04-16-2016, 04:13 PM
|
#4
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
They could do it very easily.
This is not a big difficulty.
To say more - I can transfer the editing right on the wave of the original, but only for themselves.
I do not have to get action mouse or arrow keys and the correct coordinates for any permits. And they have already, and it costs nothing to these things, that's for sure, everything is simple enough.
|
|
|
04-16-2016, 04:22 PM
|
#5
|
Human being with feelings
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
|
This could get you a lot of Christmas cards !
V interesting, thanking you.
|
|
|
04-16-2016, 10:14 PM
|
#6
|
Human being with feelings
Join Date: Mar 2013
Location: Moscow
Posts: 99
|
Just wow ! Looks like with this we can fix glitches in audio like we do with pencil in pro tools !
|
|
|
04-17-2016, 12:40 AM
|
#7
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Indeed, really great stuff !
|
|
|
04-17-2016, 02:46 AM
|
#8
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
|
Slick. Will give this a go on a mix today. I often need to fix one tiny glitch and this helps.
Everyone, remember to work on WAV copies of your files !!!
Thank you Eugen2777.
|
|
|
04-17-2016, 03:08 AM
|
#9
|
Human being with feelings
Join Date: Jun 2015
Posts: 685
|
Quick, buy this man more booze!
Btw, be careful; this script overrides the original wav without undo.
|
|
|
04-17-2016, 04:28 AM
|
#10
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Undo will be added in future versions!
And many other improvements, zoom and etc.
|
|
|
04-17-2016, 05:40 AM
|
#11
|
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,689
|
If this came up from being drunk I don't want to imagine what can you do sober
|
|
|
04-17-2016, 05:41 AM
|
#12
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
Ehehehe, that's a very good one :0)
|
|
|
04-17-2016, 06:43 AM
|
#13
|
Human being with feelings
Join Date: Feb 2006
Location: decepticon mothership in a hidden place inside a mountain
Posts: 3,754
|
Wow, very impressive !
You're the LUA/EEL Bukowski !
Thank you for sharing, and looking forward to future versions
|
|
|
04-18-2016, 11:04 PM
|
#14
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
would love this to work but it does not seem to ...
it gives an error and then shows nothing like the gif in this post...
I'm in reaper 64 bit if that matters
|
|
|
04-19-2016, 12:26 AM
|
#15
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Try downloading again, I make some corrections sometimes. And remember - this is only a beta version.
If you get you can specify them here error messages, to me it was easier to fix them
|
|
|
04-19-2016, 05:38 AM
|
#16
|
Human being with feelings
Join Date: Sep 2012
Posts: 74
|
Sometimes I use 64-bit floating-point WAV files in REAPER. I would be thankful if you script supported these too.
|
|
|
04-19-2016, 11:47 AM
|
#17
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Added "Undo". Use right-click for undo.
|
|
|
04-21-2016, 07:08 AM
|
#18
|
Human being with feelings
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
|
Hey Eugen,
Thanks so much for this great script.
Can you confirm; does undo simply re-edit the audio with 'reverse values' or does it actually step back through states?
And can you confirm/deny 64 bit float compatibility that someone asked about, please?
Thank you!
|
|
|
04-21-2016, 07:25 AM
|
#19
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
At each change the edited portion and filename is stored in the table.
Undo re-edit audio using the previously stored data.
Undo steps is unlimited.
64 bit float - will be added, if needed.
|
|
|
04-21-2016, 08:14 AM
|
#20
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
|
So cool! Can't wait to try this thanks.
So I guess the safest practice for now is to use duplicate as new take before editing so we don't permanently destroy anything?
Also, does it handle/avoid breaking marker cues in items?
I guess if they are only in the header of the file then it's all fine right?
Hmm. Is it OK with broadcast wav headers?
Will try asap and report back.
Again.. Amazing and happy to donate!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
04-21-2016, 08:26 AM
|
#21
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Yes, it is better to work with a copy of the file.
It is safer and you will not lose the original in any way.
|
|
|
04-21-2016, 08:37 AM
|
#22
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
Quote:
Originally Posted by eugen2777
Try downloading again, I make some corrections sometimes. And remember - this is only a beta version.
If you get you can specify them here error messages, to me it was easier to fix them
|
thanks... the newest dl works for me now
I wonder if there could be a way to zoom in on the wav form while inside the editor...?
I ask this because it can seem the visual is quite small and therefore kind of hard to edit
|
|
|
04-21-2016, 09:24 AM
|
#23
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
To zoom in horizontally change the time selection in Reaper.
Less selection - the greater the increase.
https://stash.reaper.fm/27369/1234.gif
Maybe I'll add a full zoom in different directions like this.
https://stash.reaper.fm/27370/4321.gif
But this is not the main task.
Now, more importantly, to exclude all possible errors. Because it's a destructive editing
|
|
|
04-21-2016, 09:56 AM
|
#24
|
Human being with feelings
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
|
Works pretty well, couple of observations not to be misinterpreted as criticisms!
-On high 'zoom' / v short selection the script crashes (I got crashes anyway.. 32bit reaper 64bit win7)-
-It would be good if docked state/ position is remembered as launching it and dragging it to docker each time is less fun!
One final thing, drawing accurately is quite tricky as the adjustments seem to occur some distance away from mouse cursor, not major problem just fiddly.
Fact this is even doable is a bonus so thanks again.
|
|
|
04-21-2016, 11:05 AM
|
#25
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Updated - 64 Float Point supported.
====
BenK-msx, when zoom-crash there any error messages?
|
|
|
04-21-2016, 03:20 PM
|
#26
|
Human being with feelings
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
|
Quote:
Originally Posted by eugen2777
Updated - 64 Float Point supported.
====
BenK-msx, when zoom-crash there any error messages?
|
trying to recreate... not happening! oh well.. sorry.
|
|
|
04-21-2016, 04:56 PM
|
#27
|
Human being with feelings
Join Date: Aug 2014
Posts: 179
|
This is wonderful, thank you so much. I was hoping Reaper would have this added (it really should in my opinion) but I've been waiting for ages... so I'm glad someone took the initiative. Great work
|
|
|
04-22-2016, 04:30 AM
|
#28
|
Human being with feelings
Join Date: Jul 2007
Posts: 1,891
|
this needs to be a standard feature in Reaper!
cheers!
|
|
|
04-22-2016, 01:33 PM
|
#29
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
+ 1000 !!
|
|
|
04-23-2016, 12:24 PM
|
#30
|
Human being with feelings
Join Date: Sep 2012
Posts: 74
|
Quote:
Originally Posted by eugen2777
Updated - 64 Float Point supported.
|
Much thanks!
|
|
|
05-04-2016, 11:48 PM
|
#31
|
Human being with feelings
Join Date: Aug 2006
Location: Berlin
Posts: 11,818
|
Vertical zoom would be necessary for some precision work on low-level signals. I am reluctant to make a feature request, but perhaps this will be possible when you have a spare moment.
Thanks for this.
|
|
|
05-07-2016, 10:42 AM
|
#32
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Updated.
Some fixes.
Vertical Zoom Added.
|
|
|
05-07-2016, 01:16 PM
|
#33
|
Human being with feelings
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
|
Quote:
Originally Posted by eugen2777
Updated.
Some fixes.
Vertical Zoom added.
|
Man, this is a seriously cool script. Well done.
|
|
|
05-08-2016, 06:13 AM
|
#34
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
thanks for the vertical zoom ... lovely!
|
|
|
05-08-2016, 08:36 AM
|
#35
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,218
|
thanks for the update! awesome!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
05-27-2016, 08:08 AM
|
#36
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Updated the algorithm for reading from and writing to the file. Now read and rewrites only needed parts of the file.
The result is significantly improved performance, especially when working with large files.
|
|
|
05-27-2016, 11:58 AM
|
#37
|
Human being with feelings
Join Date: Jan 2009
Posts: 1,030
|
Nice script. Well done.
|
|
|
05-27-2016, 01:17 PM
|
#38
|
Human being with feelings
Join Date: Jun 2008
Location: Whales, UK
Posts: 6,010
|
Like!
|
|
|
05-27-2016, 02:10 PM
|
#39
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Thanks. This is a complex script inside. However, the outside it looks very simple.
|
|
|
05-27-2016, 03:41 PM
|
#40
|
Human being with feelings
Join Date: Jul 2011
Location: Brooklyn
Posts: 2,636
|
I'm bowled over! To be able to do this in Reaper is something I have literally been wishing for for years.
Thank you for your work!!
__________________
The reason rain dances work is because they don't stop dancing until it rains.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 02:57 AM.
|