Page 2 of 2

Re: Reading Loop points from WAV file - possible?

Posted: Sun Jul 28, 2019 11:40 pm
by tulamide
trogluddite wrote:Having had a bit more of a look at my old code, I think that extracting the other data "chunks" should be possible by adding their structures to the table at the beginning.

http://dsprobotics.com/support/viewtopi ... 378#p26559

Re: Reading Loop points from WAV file - possible?

Posted: Mon Jul 29, 2019 5:30 am
by tulamide
Or someone takes the time to import this pure Ruby implementation into RubyEdits for a convenient way to handle soundfiles.
http://wavefilegem.com/

Re: Reading Loop points from WAV file - possible?

Posted: Mon Jul 29, 2019 12:56 pm
by trogluddite
^^ Ooh, that's a nice find, tulamide! It says that the minimum Ruby version is 2.0, but I've had a little tinker with it in Ruby 1.9.3, and I haven't noticed any problems so far - and the automatic translation between sample formats is very nice indeed. Since it's all native Ruby code, 'adapter' code to translate between FlowStone Ruby Frames and its own WaveFile::Buffer class shouldn't be too difficult to do either.
Many thanks! :D