Sample txt file

Hi,
it will be useful if renoise’s sampler can read txt file containing a series of raw of numbers fron -1 to 1, each raw is a sample. A txt with 200 raw is a4 sample (@44000 > 220Hz).
This will open a series of application for generating new samples…
Also save as an existing sample (wav, ogg, aif…) in txt!!! (like Anawave VSTi by Lithium Sound).
Thanks

This would be incredibly easy to implement as a Renoise Tool.

It’s an idea project for someone who wants to learn Renoise Lua (it’s probably ~ 40 lines of code including the menu entries and dialog boxes).

Maybe worth discussing / asking this thread to be moved into the XRNX forums.

Maybe on the first raws must be:
sample rate (1ST raw) from 20 to 196000 Hz
bit rate (2nd raw) from 1 to 32
channel (3rd raw) 1 mono, 2 stereo) (if stereo, one raw is bit on left channel and the next one is bit on right channel…
loop mode (4th raw) 0 no loop, 1 forward, 2 backward, 3 ping pong
loop start (5th raw) counting 0 from the 8th raw
loop end (6th raw) if loop mode = 0 loop start and end must be anyway present
root note (7th raw) midi note 69 = a3
sample description…number from -1 to 1

I don’t really understand what this might be good for. Is there some software out there saving such text files, but doesn’t save wave? I mean, wave is the standard format and renoise supports it. Did I miss something?

because you can make (for eg.) a xls file that generate equation and make a list of value that you can copy in a txt file… or using autocad you can program a lisp…
Try Anawave vsti!

Thanks for explaining. I can see now how you would use this format for this Anawave, and I can see you generate some sort of sample data with a spreadsheet in an easy way. But I don’t see the great advantage for the renoise user in general if renoise would support such an ad hoc format. Or is this format commonly used anywhere? If I were in your place I’d rather write a small converter script (or as mxb said, an xrnx) than asking/waiting/hoping for renoise to natively support this format. ;)

I love math and music! Each sound is a combination of equations… Since I wonder how sounds are created, txt is the simplest way to view sample by sample how a sound is…
I work with AutoCAD, that has a programming Language called LISP… with this Language you can generate function and output a txt… also you can input a txt to draw phisically in autocad the waveform…
If you are intereste…on my site there are some example of music generated by AutoCAD with a series of LISP programmed by me!

sample
music

thanks

(this thing of txt is only because accidentally I double clikked a txt file in the browser, and renoise loaded something…) try:)

Emanuele