[Csnd] GEN02 values...

I was under the impression that passing a single value to GEN02 would result in the entire table being filled with that value? So the following would produce a table filled with 1s?

f1 0 16 2 1

But that doesn’t seem to be the case any more? I recall having a discussion about this on the list some years back, but can’t check, because those threads are no longer accessible to the public :frowning:

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

From the manual on GEN02 (https://csound.com/docs/manual/GEN02.html) I read:

“any table locations not filled will contain zeros.”

So, if you use just 1 value, I think the remaining values will be filled with 0.

That’s what the manual says, but I have a strong recollection that this was changed at some point. But as I can no longer search the Csound mailing list pre 2015 or whenever, I can’t find the discussion. The problem is that if one defines a GEN02 with 1024 places, they need to manually fill each sample. If I recall correctly, the change meant that the last value given would determine the value for all remaining indices.

yes i recall the same, rory, but only a look in the code can show whether we are right or not.

if i am right we can fill an array instead the single numbers. so creating an array with your init arguments and then
  iContent[] = .....
  giTable ftgen 0, 16, 2, iContent
should work?

  joachim

I’ve tested the code and it certainly doesn’t seem to behave as I have thought it did. Good call on the array method. That will do the job nicely. :+1:

as per the norm, RTFM

https://csound.com/manual/ftgen.html

Prof. Victor Lazzarini
Maynooth University
Ireland

The code fills with zero. I see no evidence of a change and do not remember any discussion. Gen02 is very old.

Get TypeApp for Android

Function value-1 is a sine wave, value-0 would be whatever wave data is inputted???

-Partev

Csound mailing list Send bugs reports to Discussions of bugs and features can be posted here

How about GEN20 with a rectangle window?

Csound mailing list Send bugs reports to Discussions of bugs and features can be posted here

A bigger issue for me is the fact that thousands of posts to the Csound mailing list are no longer accessible. And that was probably one of the most active times for the Csound community. It was really hopping back then. Having to manually fill GEN02 tables is fine, but losing access to all those messages is a real pain.

I thought all mail since sourceforge was stil readable. I need to check the archives

Get TypeApp for Android

The Heanet archives can be viewed and searched online, but that’s it as far as I can tell. As bad as Nabble was, it used to at least provide a way of searching through the archives. But this no longer works.

Are those archives lost ? I mean those which are not on Heanet.

The Heanet archives can be viewed and searched online, but that’s it as far as I can tell. As bad as Nabble was, it used to at least provide a way of searching through the archives. But this no longer works.

I believe you have backups of them all, but for the general public they are no longer accessible.

Wouldn’t there be a way to format these backups and put it online somewhere ? I can give a bit of time if needed.

I believe you have backups of them all, but for the general public they are no longer accessible.

Richard Knight and hlolli were looking into this but I don’t know how far they got. As far as I know John has already sent Richard the full archives so maybe things are already underway.

Depends what you mean by accessable. There are files readable on dream.cs.bath.ac.uk and others on codemist.co.uk

But no search facility. Specify what you want and could try.

Get TypeApp for Android

Hi
I downloaded all of the files from John’s page in September and parsed them into mbox format:
http://csound.1bpm.net/files/mailinglist/csound200710-201409.mbox.gz

I sent this to hlolli , and the intention was to import these to the Csound forum (which apparently it is fairly straightforward to import mbox format messages to). I am not sure what has happened since, but the first file I sent had some problems (message duplication) so maybe delayed things.
This set of messages covers October 2007 to September 2014.

Following that everything moved to Heanet. I have contacted them to try and obtain the raw messages to parse to mbox format for forum import. However they need authorisation from the list owner - I asked John and Victor a while ago as presumed it was one of them.

gmane also has an archive of some messages, though can’t remember what date range they span, and as far as I remember some periods were patchy. I obtained all of those and parsed to mbox, here: http://csound.1bpm.net/files/mailinglist/csound.gmane.mbox.gz . As far as I remember that covers some of the current Heanet messages, some of John’s archive, and some from earlier, but none consistently.

The collection on codemist.co.uk is mail from Feb 1997 to Nov 1999

Get TypeApp for Android