Is it possible to find sane loop points from samples automatically?
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 2047
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 208 times
- Contact:
Is it possible to find sane loop points from samples automatically?
But to make great sfz from them, I would need to find loop points. Is there any even semi-proper tool for this?
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
- d.healey
- Established Member
- Posts: 610
- Joined: Fri Sep 22, 2017 8:33 pm
- Has thanked: 274 times
- Been thanked: 100 times
Re: Is it possible to find sane loop points from samples automatically?
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
Next, you want to set your loop points on two samples close to 0 amplitude. And it's very important that the waveform shape around the start point resembles the shape around the end point as much as possible. (Use an FFT display to help deduce where the best match is). Finally, you need a wave editor with a good crossfade algorithm. Preferably a 50 percent crossfade -- not just 100 percent. I always try 50% first as it tends to be more subtle.
Waveosaur is my #1 choice for looping. It excels for that.
Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.
-
- Established Member
- Posts: 2047
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 208 times
- Contact:
Re: Is it possible to find sane loop points from samples automatically?
Used used Wavosaur to check loop points in few files, sound to be ok.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
- d.healey
- Established Member
- Posts: 610
- Joined: Fri Sep 22, 2017 8:33 pm
- Has thanked: 274 times
- Been thanked: 100 times
Re: Is it possible to find sane loop points from samples automatically?
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
- Loki Harfagr
- Established Member
- Posts: 268
- Joined: Thu Aug 02, 2018 1:28 pm
- Has thanked: 151 times
- Been thanked: 53 times
Re: Is it possible to find sane loop points from samples automatically?
Thought so as welld.healey wrote:I must be in the wrong place, I thought this was the LinuxMusicians forum
And in case of emergency CLI, which could be the case here since the script integration (or might be I read it perpendicularilly
there's good old SoX, Q&D PoC examples:
Code: Select all
sox in.wav output.wav silence 1 0.04 0.01% 1 0.04 0.01% : newfile : restart
Code: Select all
sox in.wav output.wav silence 0 1 0.1 0.02% : newfile : restart
Code: Select all
sox in.wav output.wav silence 0 1 0.3 1.1% : newfile : restart
(note that the second version leaves ten times more slags than the fore while the third version leaves only six void files)
(Hope it helps, I reckon that's not clystar klaar
- Babarosa
- Established Member
- Posts: 52
- Joined: Sun Feb 23, 2014 10:16 pm
- Has thanked: 3 times
- Been thanked: 18 times
Re: Is it possible to find sane loop points from samples automatically?
https://www.polyphone-soundfonts.com/en/
Debian 12 - MOTU M4, ESI Maya22 USB - Rosegarden, Reaper
-
- Established Member
- Posts: 1067
- Joined: Mon May 12, 2014 7:11 am
- Has thanked: 15 times
- Been thanked: 36 times
Re: Is it possible to find sane loop points from samples automatically?
the songs made with proprietary software will be played on Android devices, which have a linux kerneld.healey wrote:I must be in the wrong place, I thought this was the LinuxMusicians forum
-
- Established Member
- Posts: 2047
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 208 times
- Contact:
Re: Is it possible to find sane loop points from samples automatically?
Yeah, have to now make example sfz, and then write script for creating full blown sfz. SFZ is great format, because it is text, so it is easy to make with script!Babarosa wrote:Polyphone sfz/sf2-editor includes a powerful loop editor function:
https://www.polyphone-soundfonts.com/en/
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
-
- Established Member
- Posts: 2047
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 208 times
- Contact:
Re: Is it possible to find sane loop points from samples automatically?
Yeah, sorry for using windows software this time. I promise, won't happen again.rghvdberg wrote:the songs made with proprietary software will be played on Android devices, which have a linux kerneld.healey wrote:I must be in the wrong place, I thought this was the LinuxMusicians forum
And for use in android, I am pretty sure I won't be copying 35G of samples to any Android device. Compositions might be started in mobile with sonatina & co, but finalize in Mixbus using bigger library.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM