Why the simplest things are the hardest ?

A home for Llamasoftie musicians to talk tech, promote their home brew tunes and the like...
Post Reply
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Why the simplest things are the hardest ?

Post by gilesgoat »

So I have an EXTREMELY STUPID .WAV UNCOMPRESSED file, which is let's say "a sample that is something", about 0.5 seconds long.

I'd like AS SIMPLE AS set "a loop point" from begin to end so that sample "plays continuously in loop".

I have Audacity 2.3.3 .. in theory should be "mega simple".

In practice I find that :

- VLC can't play properly "in loop" that thing, it seems "at most" for it "Loop" means "open the file, play, close the file, repeat" doing mess.

- Windows 10 "Groove Music" idem .. seems to totally ignore the "Loop info" that should be in the .WAV file

- WMP "mega disaster" similar behaviour BUT even worse, gets totally unresponsive has to be killed with task manager.

What in the heck is wrong with people and simple sounds ????!"!! 8O 8O
Giles the billy goat
"Baa"
User avatar
rowan
Baaaaaaa!
Baaaaaaa!
Posts: 7963
Joined: Tue Nov 25, 2003 11:53 pm 0
Location: Notts.

Re: Why the simplest things are the hardest ?

Post by rowan »

Dunno, I used to use Sound Forge 4 and all you need to do is highlight an area [or nothing for the whole lot] & set playback mode 'loop' & then, err, play it.

It was literally a button on the bottom left of the sample window [the group of 3 buttons in the bottom left is playback mode. The middle one is loop].
Or from memory, shift+space cycles through playback mode & space plays/stops. That application just fit my way of thinking in *every way*. Loved it.
Image


Can you not just take the part you want to loop, save it as new file and open in [any] media player & set loop play?
OK you mentioned WMP - how about something like foobar2000 [super lean free player] ?


edit: I am just trying in foobar2000, I have a sample of 0.380s [4188 samples of 11025Hz] and playing looped it sounds "perfect". Just like I would have a single sample of 100s of copies of it pasted together.
http://www.foobar2000.org

You would want to set playback mode "Repeat (track)"
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Why the simplest things are the hardest ?

Post by gilesgoat »

I'll try to have a look into that, fact is from my understanding the .WAV format DOES support "Loop Points" ( even with "repetition number" I think ) so now I don't know if it's Audacity that ignores them, despite I followed some "instuctions" I found about how one should set them up or the other SW.

It's a bit bizzarre that "super modern SW" seems to ingore that as well.
Giles the billy goat
"Baa"
User avatar
rowan
Baaaaaaa!
Baaaaaaa!
Posts: 7963
Joined: Tue Nov 25, 2003 11:53 pm 0
Location: Notts.

Re: Why the simplest things are the hardest ?

Post by rowan »

OK if you talk "loop points", I now start to think you mean you have an initial part of the sample which is unlooped, then a range which upon entering you want to loop for the rest of time.

Pretty sure that's what the 3rd playmode in soundforge is all about but it's pretty rarely used in any file but I do think you are right that it's an existing concept in RIFF.
[edit: Removed reference to ADPCM. I am muddling my shit. That is a lossy format that can fit in RIFF container which definitely does have loop points. Less sure on genuine PCM].

I'd hope foobar2000 may be aware but "frog knows", I'm afraid.

edit: Also, I don't suppose you've tried Winamp? That's the kind of thing that is more likely to be aware of such features than the big boys [2.91 was one of the "good" old versions from memory. I get a feeling you may have more luck with older things than newer, as everyone kind of moved away from "small looping samples" toward entire tracks in PCM as hardware resources grew]



Finally, also, if you are deciding your own loop points, you may need to do a tiny fade in at the beginning & fade out at the end [plus a fade out right at the end of the unlooped portion right before the beginning] - I mean only around 5-10 samples, to ensure a zero crossing.


Final final edit, I promise. This sounds as if Winamp had a plugin and foobar2000 also does:
https://languor.us/looping-audio-track-foobar2000

Unsure of native WAV support from anything..
Post Reply