[Csnd] [CsoundBlog] Making Records
Date | 2009-12-06 21:05 |
From | Jacob Joaquin |
Subject | [Csnd] [CsoundBlog] Making Records |
Hello everyone, I've been experimenting with creating custom data abstractions and structures inside of Csound. I just finished blogging about my progress if anyone is interested. It's published here: http://csound.noisepages.com/2009/12/making-records/ In a nutshell. This creates a record type: i $RecordType 0 1 100 ; Record type stored at fn 100 This appends three fields to record type 100: i $RecordField 0 1 100 "amp" ; Append field "amp" i $RecordField 0 1 100 "freq" ; Append field "freq" i $RecordField 0 1 100 "ftable" ; Append field "ftable" This creates a record from record type 100: i $Record 0 1 200 100 ; Instantiate record 200 from type 100 And these set the values of the three fields for record 200: i $RecordSet 0 1 200 "amp" 0.5 ; Set field "amp" i $RecordSet 0 1 200 "freq" 440 ; Set field "freq" i $RecordSet 0 1 200 "ftable" 1 ; Set field "ftable" Best, Jake |
Date | 2009-12-06 22:01 |
From | Brian Wong |
Subject | [Csnd] vst opcodes |
I have been trying unsuccessfully to get the vst opcodes working, and hope maybe someone here can help me with it. I have a fresh install of XP, fresh install of the latest Csound download from Michael Gogins website, and still it does not work. When I try to run vst4cs.csd (the example from the manual) in quteCsound it crashes and shuts down quteCsound instantly. Using blue it does show that the vst loads, but it gets no farther than that; the vstinfo opcode does not run. The Csound output is as follows : VSTPlugin::Instance. Loaded plugin library 'C:\muzk\VSTPlugins\cymbaldemo.dll'. Found 'main' function at 0x1005ac10. Csound tidy up: Segmentation violation VSTPlugin::Master(AEffect 0x0, opcode 1 audioMasterVersion, index 0, value 0, ptr 0x0, opt Am I missing something, or can somebody suggest a solution? BW Get Windows 7 for only $39.99-CDN College or University students only. This offer ends Jan 3-upgrade now! |
Date | 2009-12-07 08:54 |
From | Oeyvind Brandtsegg |
Subject | [Csnd] Re: vst opcodes |
It seems there is something wrong with the vst opcodes, I did notify Michael about it and he said he should look into it, I guess he's just been too busy to do so. (isn't is so Michael?) best Oeyvind 2009/12/6 Brian Wong |
Date | 2009-12-07 12:17 |
From | edexter5 |
Subject | [Csnd] Re: vst opcodes |
I would try one of the older versions but I would rename it and then specify the path for the csd file that I was entending to run something like (probily not completly correct because I am not double checking it) c:\csound50\csound50.exe song.csd all my extensions exc... I have auto generated vst wrappers but I have never used it so I am not sure which version is the working one. (no guarantees just something to try might even work in linux with dosbox or wine) http://dextracker.blogspot.com/ Brian Wong-2 wrote: > > > I have been trying unsuccessfully to get the vst opcodes working, and hope > maybe someone here can help me with it. I have a fresh install of XP, > fresh install of the latest Csound download from Michael Gogins website, > and still it does not work. When I try to run vst4cs.csd (the example from > the manual) in quteCsound it crashes and shuts down quteCsound instantly. > Using blue it does show that the vst loads, but it gets no farther than > that; the vstinfo opcode does not run. The Csound output is as follows : > > > > VSTPlugin::Instance. > Loaded plugin library 'C:\muzk\VSTPlugins\cymbaldemo.dll'. > Found 'main' function at 0x1005ac10. > Csound tidy up: Segmentation violation > VSTPlugin::Master(AEffect 0x0, opcode 1 audioMasterVersion, index 0, value > 0, ptr 0x0, opt > > > Am I missing something, or can somebody suggest a solution? > > > > BW > > > _________________________________________________________________ > Eligible CDN College & University students can upgrade to Windows 7 before > Jan 3 for only $39.99. Upgrade now! > http://go.microsoft.com/?linkid=9691819 > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > |
Date | 2009-12-07 17:28 |
From | Michael Gogins |
Subject | [Csnd] Re: Re: vst opcodes |
I have now tested the vst4cs opcodes with the installer from my personal web site on Windows XP, and I have reproduced the crash. I do not have a Windows debugger here, so I will not be able to fix this until tomorrow evening at the earliest, but I will fix it. I do not expect it will be hard to fix. Regards, Mike On 12/7/09, edexter5 |
Date | 2009-12-07 22:14 |
From | Brian Wong |
Subject | [Csnd] RE: Re: Re: vst opcodes |
Thank you for your response Michael, I look forward to trying these opcodes out once you have time to fix them. Thanks to Eric and Oeyvind for their responses also. BW > Date: Mon, 7 Dec 2009 12:28:04 -0500 > From: michael.gogins@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] Re: Re: vst opcodes > > I have now tested the vst4cs opcodes with the installer from my > personal web site on Windows XP, and I have reproduced the crash. I do > not have a Windows debugger here, so I will not be able to fix this > until tomorrow evening at the earliest, but I will fix it. I do not > expect it will be hard to fix. > > Regards, > Mike > > On 12/7/09, edexter5 <Eric_Dexter@msn.com> wrote: > > > > I would try one of the older versions but I would rename it and then specify > > the path for the csd file that I was entending to run something like > > (probily not completly correct because I am not double checking it) > > > > c:\csound50\csound50.exe song.csd > > > > all my extensions exc... I have auto generated vst wrappers but I have > > never used it so I am not sure which version is the working one. (no > > guarantees just something to try might even work in linux with dosbox or > > wine) > > > > http://dextracker.blogspot.com/ > > > > > > Brian Wong-2 wrote: > >> > >> > >> I have been trying unsuccessfully to get the vst opcodes working, and hope > >> maybe someone here can help me with it. I have a fresh install of XP, > >> fresh install of the latest Csound download from Michael Gogins website, > >> and still it does not work. When I try to run vst4cs.csd (the example from > >> the manual) in quteCsound it crashes and shuts down quteCsound instantly. > >> Using blue it does show that the vst loads, but it gets no farther than > >> that; the vstinfo opcode does not run. The Csound output is as follows : > >> > >> > >> > >> VSTPlugin::Instance. > >> Loaded plugin library 'C:\muzk\VSTPlugins\cymbaldemo.dll'. > >> Found 'main' function at 0x1005ac10. > >> Csound tidy up: Segmentation violation > >> VSTPlugin::Master(AEffect 0x0, opcode 1 audioMasterVersion, index 0, value > >> 0, ptr 0x0, opt > >> > >> > >> Am I missing something, or can somebody suggest a solution? > >> > >> > >> > >> BW > >> > >> > >> _________________________________________________________________ > >> Eligible CDN College & University students can upgrade to Windows 7 before > >> Jan 3 for only $39.99. Upgrade now! > >> http://go.microsoft.com/?linkid=9691819 > >> Send bugs reports to this list. > >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > >> csound" > >> > > > > -- > > View this message in context: > > http://old.nabble.com/-CsoundBlog--Making-Records-tp26669066p26676455.html > > Sent from the Csound - General mailing list archive at Nabble.com. > > > > > > > > Send bugs reports to this list. > > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > > csound" > > > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" Windows Live: Make it easier for your friends to see what you’re up to on Facebook. |