changing saveDir and projectDir as library changes

  • Permalink
  • submit to reddit
  • Email
  • Follow


Hi,

I'm having problems figuring out how to do the following:

Instead of just using fixed defaults for saveDir and projectDir (such
as ./artist_states and ./simulation respectively - and I don't care
how these were set - either by .cdsenv entry or use of envSetVal) , I
would like to have projectDir and saveDir follow the library of the
schematic being simulated.

In other words, if I opened MyLib->MyCell->schematic and then invoked
Analog Artist, I would like the projectDir to already be defaulted to
../simulation/MyLib and I would like the saveDir to already be
defaulted to ./simulation/MyLib/artist_states.  Similarly, if I then
opened YourLib->YourCell->schematic and invoked Analog Artist or just
chose YourLib->YourCell->schematic from the Setup - Design form , I
would want these two values to automatically be changed to
../simulation/YourLib and ./simulation/YourLib/artist_states
respectively.

I've thought about adding skill to run after a trigger event, but I am
not sure which trigger is appropriate.  Also, I haven't found a
foolproof method of grabbing the library name which works under all
the different ways to switch what will be simulated.  Additionally, it
would be awesome if whatever solution would also work for Ocean as
well.

Any and all help/ideas would be great.  Thanks.
Whisker
0
Reply whiskerville83-google (7) 4/28/2004 5:41:06 AM

See related articles to this posting


Hi,

Have you tried to use envSetVal within the libraries libInit.il
files? This is just a guess and I either don't know if this
is the right approach.

Bernd

Whisker wrote:
> Hi,
> 
> I'm having problems figuring out how to do the following:
> 
> Instead of just using fixed defaults for saveDir and projectDir (such
> as ./artist_states and ./simulation respectively - and I don't care
> how these were set - either by .cdsenv entry or use of envSetVal) , I
> would like to have projectDir and saveDir follow the library of the
> schematic being simulated.
> 
> In other words, if I opened MyLib->MyCell->schematic and then invoked
> Analog Artist, I would like the projectDir to already be defaulted to
> ./simulation/MyLib and I would like the saveDir to already be
> defaulted to ./simulation/MyLib/artist_states.  Similarly, if I then
> opened YourLib->YourCell->schematic and invoked Analog Artist or just
> chose YourLib->YourCell->schematic from the Setup - Design form , I
> would want these two values to automatically be changed to
> ./simulation/YourLib and ./simulation/YourLib/artist_states
> respectively.
> 
> I've thought about adding skill to run after a trigger event, but I am
> not sure which trigger is appropriate.  Also, I haven't found a
> foolproof method of grabbing the library name which works under all
> the different ways to switch what will be simulated.  Additionally, it
> would be awesome if whatever solution would also work for Ocean as
> well.
> 
> Any and all help/ideas would be great.  Thanks.
> Whisker

0
Reply bernd.fischer (67) 4/28/2004 9:41:42 AM

this is a nice problem, hard to solve without having to hack artist's
code.
maybe what you could do is register a trigger for analogArtist-schematic
subview type.

deRegUserTriggers( "analogArtist-schematic" nil nil 'myFunc )

tried it, and it looks it is called whenever artist in invoked, but also
when changing design inside artist.


"Whisker" <whiskerville83-google@yahoo.com> wrote in message
news:6941ff49.0404272141.67e97bfd@posting.google.com...
> Hi,
>
> I'm having problems figuring out how to do the following:
>
> Instead of just using fixed defaults for saveDir and projectDir (such
> as ./artist_states and ./simulation respectively - and I don't care
> how these were set - either by .cdsenv entry or use of envSetVal) , I
> would like to have projectDir and saveDir follow the library of the
> schematic being simulated.
>
> In other words, if I opened MyLib->MyCell->schematic and then invoked
> Analog Artist, I would like the projectDir to already be defaulted to
> ./simulation/MyLib and I would like the saveDir to already be
> defaulted to ./simulation/MyLib/artist_states.  Similarly, if I then
> opened YourLib->YourCell->schematic and invoked Analog Artist or just
> chose YourLib->YourCell->schematic from the Setup - Design form , I
> would want these two values to automatically be changed to
> ./simulation/YourLib and ./simulation/YourLib/artist_states
> respectively.
>
> I've thought about adding skill to run after a trigger event, but I am
> not sure which trigger is appropriate.  Also, I haven't found a
> foolproof method of grabbing the library name which works under all
> the different ways to switch what will be simulated.  Additionally, it
> would be awesome if whatever solution would also work for Ocean as
> well.
>
> Any and all help/ideas would be great.  Thanks.
> Whisker


0
Reply stephane.badel (108) 4/28/2004 11:17:01 AM

Bernd,

You touched upon one idea that I tried, however, I couldn't seem to
automatically generate the library name in a dynamic way - I was
hoping for one libInit.il that I could just copy from library to
library without any edits.  I tried
dbGetCellViewDdId(deGetCellView())->lib->name and
dbGetCellViewDdId(geGetEditCellView())->lib->name both of which work
from the CIW, but neither worked from libInit.il.  I figure this is
because the library manager is a separate executable.  Perhaps I need
to create a cdsLibMgr.il file?  I've read the Library Manager User
Guide and it indicates that SKILL callback procedures always receive
the argument list selection currently specified in the library
manager.  The library manager sends the data selection specification
fully corresponding to the 5.X architecture as a list of five strings:
LIBNAME CELLNAME VIEWNAME FILENAME CATEGORY.  But I couldn't figure
out how to access this list.  It seems like it had the data I was
after (LIBNAME).  Any ideas out there?

Whisker

Bernd Fischer <bernd.fischer@xignal.de> wrote in message news:<408F7C56.9010103@xignal.de>...
> Hi,
> 
> Have you tried to use envSetVal within the libraries libInit.il
> files? This is just a guess and I either don't know if this
> is the right approach.
> 
> Bernd
>
0
Reply whiskerville83-google (7) 4/28/2004 6:51:17 PM

Stephane,

I think you may have my solution.  I will follow your lead and see if
I can get it working.  Thank you and I'll post back how things turn
out.

Whisker

"S. Badel" <stephane.badel@epfl.ch> wrote in message news:<408f92ad$1@epflnews.epfl.ch>...
> this is a nice problem, hard to solve without having to hack artist's
> code.
> maybe what you could do is register a trigger for analogArtist-schematic
> subview type.
> 
> deRegUserTriggers( "analogArtist-schematic" nil nil 'myFunc )
> 
> tried it, and it looks it is called whenever artist in invoked, but also
> when changing design inside artist.
0
Reply whiskerville83-google (7) 4/28/2004 6:55:01 PM

Stephane,

Here's what I have so far, but it's not working yet.  When I query
values in the CIW, the saveDir and projectDir read properly.  However,
when I open the forms that should be showing these variables, the
values are not correct.  It's as if a callback is not getting
triggered.  If I do a netlist or save a state, the incorrect values
are used.
-----------------------------------------------------------------------------------------------------------
In my ~/.cdsenv file I have these two lines:
asimenv saveDir string "./simulation/"
asimenv.startup projectDir string "./simulation/"
-----------------------------------------------------------------------------------------------------------
In my ~/.cdsinit file I have these two lines:
envSetVarDefaultToCurrVal( "asimenv" "saveDir" )
envSetVarDefaultToCurrVal( "asimenv.startup" "projectDir" )
-----------------------------------------------------------------------------------------------------------
if( !deGetAppInfo("analogArtist-schematic")->userPostInstallTrigger
   then
      printf("\nNo analogArtist-schematic user trigger is
registered.\nInstalling My_asimenv_defaults_appTrigger.\n\n")
      deRegUserTriggers( "analogArtist-schematic" nil nil
'My_asimenv_defaults_appTrigger)
   else
      hiGetAttention(50)
      printf("\nWARNING!: A analogArtist-schematic user trigger is
already registered as: %s\n"
deGetAppInfo("analogArtist-schematic")->userPostInstallTrigger)
      printf("\nThis user trigger will be replaced by
My_asimenv_defaults_appTrigger.\n")
      deUnRegUserTriggers( "analogArtist-schematic")
      deRegUserTriggers( "analogArtist-schematic" nil nil
'My_asimenv_defaults_appTrigger)
      hiGetAttention(50)
)

procedure(  My_asimenv_defaults_appTrigger( args "l")
   let( (My_debug libSimPath libStatePath)
      My_debug=t
;      My_debug=nil
      if(My_debug then println(args))
      libSimPath = strcat( envGetDefVal( "asimenv.startup"
"projectDir" ) args->libName )
      envSetVal( "asimenv.startup" "projectDir" 'string libSimPath )
      printf("Set projectDir environment value to %s\n" libSimPath)
      ;
      libStatePath = strcat( libSimPath "/artist_states" )
      envSetVal( "asimenv" "saveDir" 'string libStatePath )
      printf("Set saveDir environment value to %s\n" libStatePath)
   ) ; end of let
) ; end of procedure

So close, but yet so far away... Any ideas?  All help is greatly
appreciated.

Whisker

whiskerville83-google@yahoo.com (Whisker) wrote in message news:<6941ff49.0404281055.6c9727ae@posting.google.com>...
> Stephane,
> 
> I think you may have my solution.  I will follow your lead and see if
> I can get it working.  Thank you and I'll post back how things turn
> out.
> 
> Whisker
> 
> "S. Badel" <stephane.badel@epfl.ch> wrote in message news:<408f92ad$1@epflnews.epfl.ch>...
> > this is a nice problem, hard to solve without having to hack artist's
> > code.
> > maybe what you could do is register a trigger for analogArtist-schematic
> > subview type.
> > 
> > deRegUserTriggers( "analogArtist-schematic" nil nil 'myFunc )
> > 
> > tried it, and it looks it is called whenever artist in invoked, but also
> > when changing design inside artist.
0
Reply whiskerville83-google (7) 4/28/2004 11:46:11 PM

yep, probably those variable are only read once. This is the
case with many tools, you cannot change environment options
procedurally once they are loaded.

for your problem have a look at the asi* and sev* functions,
described in Cadence Analog Environment SKILL Reference.

i found this one to set the .artist_states directory.
sevSetTopSaveDir()

you'll probably find what you need there.

st�phane

"Whisker" <whiskerville83-google@yahoo.com> wrote in message
news:6941ff49.0404281546.420dc88e@posting.google.com...
> Stephane,
>
> Here's what I have so far, but it's not working yet.  When I query
> values in the CIW, the saveDir and projectDir read properly.  However,
> when I open the forms that should be showing these variables, the
> values are not correct.  It's as if a callback is not getting
> triggered.  If I do a netlist or save a state, the incorrect values
> are used.
> --------------------------------------------------------------------------
---------------------------------
> In my ~/.cdsenv file I have these two lines:
> asimenv saveDir string "./simulation/"
> asimenv.startup projectDir string "./simulation/"
> --------------------------------------------------------------------------
---------------------------------
> In my ~/.cdsinit file I have these two lines:
> envSetVarDefaultToCurrVal( "asimenv" "saveDir" )
> envSetVarDefaultToCurrVal( "asimenv.startup" "projectDir" )
> --------------------------------------------------------------------------
---------------------------------
> if( !deGetAppInfo("analogArtist-schematic")->userPostInstallTrigger
>    then
>       printf("\nNo analogArtist-schematic user trigger is
> registered.\nInstalling My_asimenv_defaults_appTrigger.\n\n")
>       deRegUserTriggers( "analogArtist-schematic" nil nil
> 'My_asimenv_defaults_appTrigger)
>    else
>       hiGetAttention(50)
>       printf("\nWARNING!: A analogArtist-schematic user trigger is
> already registered as: %s\n"
> deGetAppInfo("analogArtist-schematic")->userPostInstallTrigger)
>       printf("\nThis user trigger will be replaced by
> My_asimenv_defaults_appTrigger.\n")
>       deUnRegUserTriggers( "analogArtist-schematic")
>       deRegUserTriggers( "analogArtist-schematic" nil nil
> 'My_asimenv_defaults_appTrigger)
>       hiGetAttention(50)
> )
>
> procedure(  My_asimenv_defaults_appTrigger( args "l")
>    let( (My_debug libSimPath libStatePath)
>       My_debug=t
> ;      My_debug=nil
>       if(My_debug then println(args))
>       libSimPath = strcat( envGetDefVal( "asimenv.startup"
> "projectDir" ) args->libName )
>       envSetVal( "asimenv.startup" "projectDir" 'string libSimPath )
>       printf("Set projectDir environment value to %s\n" libSimPath)
>       ;
>       libStatePath = strcat( libSimPath "/artist_states" )
>       envSetVal( "asimenv" "saveDir" 'string libStatePath )
>       printf("Set saveDir environment value to %s\n" libStatePath)
>    ) ; end of let
> ) ; end of procedure
>
> So close, but yet so far away... Any ideas?  All help is greatly
> appreciated.
>
> Whisker
>
> whiskerville83-google@yahoo.com (Whisker) wrote in message
news:<6941ff49.0404281055.6c9727ae@posting.google.com>...
> > Stephane,
> >
> > I think you may have my solution.  I will follow your lead and see if
> > I can get it working.  Thank you and I'll post back how things turn
> > out.
> >
> > Whisker
> >
> > "S. Badel" <stephane.badel@epfl.ch> wrote in message
news:<408f92ad$1@epflnews.epfl.ch>...
> > > this is a nice problem, hard to solve without having to hack artist's
> > > code.
> > > maybe what you could do is register a trigger for
analogArtist-schematic
> > > subview type.
> > >
> > > deRegUserTriggers( "analogArtist-schematic" nil nil 'myFunc )
> > >
> > > tried it, and it looks it is called whenever artist in invoked, but
also
> > > when changing design inside artist.


0
Reply stephane.badel (108) 4/29/2004 8:17:50 AM
comp.cad.cadence 5388 articles. 18 followers. Post

6 Replies
187 Views

Similar Articles

[PageSpeed] 51


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

Trace on change/Signal on change/Call on change
Is ooRexx getting any closer to having a mechanism which could be used to trace when a particular variable or stem variable gets changed (to a particular value)? I don't know whether I'm writing cleverer bugs, or my debugging skills are waning with age, but it is starting to take me days to track down some problems that would be a snip with a variable monitor. I've just fixed such a bug. It took me about three years, because it happened only once a year, on average. Phew! -- Steve Swift http://www.swiftys.org.uk/swifty.html http://www.ringers.org.uk Swifty wrote: > Is ...

iTunes changed my changes
Don't know when it happened- could have been with the update of iTunes prior to the update of iOS7, but here's what happened: A few weeks ago, I changed the name of the four movements of a Mozart Symphony so that it would appear separately from the exact same symphony by another artist. This is the default which I had: Mozart: Symphony #41 In C, K 551, "Jupiter" - 1. Allegro Vivace which I changed to: Mozart: S41 In C, K 551, "Jupiter" - 1. Allegro Vivace The separation worked as expected. BUT: Somewhere, somehow the changes got reverted to what ...

Changes and frequency of changes
Hi, I observe variable x over time (from 1999-2005) for a large number of firms, w. I have computed the change in variable x from one year to the next. Now, I would like to identify whether variable x has changed from one year to the next for each firm as well as how often it changed for each firm(in some cases I expect no change in this variable i.e. 0). Any suggestions on how to do this in sas? Thanks On Sat, 28 Apr 2007 15:08:15 -0400, mcolowasth@YAHOO.CO.UK wrote: >Hi, > >I observe variable x over time (from 1999-2005) for a large number of >firms, w. I have computed the ...

how to change the change defaults
hi friends, it might be a stupid question to state. but i really need to know while programming, to change the defaults like changing the engineering notation of a real quantity i.e. fraction values or change the fix parameters to denote real value if our calculations involve the values as low as 0.000000001 and as high as 10000000. thanks hemu bisht ...

DST to change or not to change?
Should the clocks be changed twice a year or not? (not that we have much say in the matter) Some think it saves lives by avoiding traffic accidents and note the advantages of a coordinated timekeeping system for trade. http://www.theglobeandmail.com/servlet/story/RTGAM.20050811.wdaylight0810/BNStory/National Since most of Canada is between north latitude 49 deg to 90 deg, and the days and nights are longer the further north you go, the arguments for saving daylight seem to be overwhelmed by the larger natural changes. OTOH DST is not needed at smaller latitudes in the tropics. ...

changing throw(...) changes interface?
Hi, does adding a throw(...) or throw() to a method or just changing the number of exceptions listed within a throw change the interface? Example: having a class with a method within a class library class x { .... void f() [or void f() throw( int )] }; and changing it to class x { ... void f() throw() [or throw( int ) and so on] [or void f() throw( int, char*) respectively] }; will the library still be binary compatible? Regards, Daniel Daniel Etzold wrote: > does adding a throw(...) or throw() to a method or just changing > the number of exceptions listed within a thro...

Changing the Change File Feature.
Is there a way to turn off the feature in Windows XP Home where, when a shortcut can't find its target file, it gets changed to point to a similarly-named file in another directory? Thanks. It does not get changed automatically. Just Click NO! -- Hope this helps. Let us know. Wes MS-MVP Windows Shell/User In news:bPVue.8700$NX4.8680@newsread1.news.pas.earthlink.net, Neil <nospam@nospam.net> hunted and pecked: > Is there a way to turn off the feature in Windows XP Home where, when a > shortcut can't find its target file, it gets changed to point to a > simila...

Change Density when Changing Configurations...
Hello, SW does not seem to be able to distinguish the change in density when I change configurations on drawings. What I always get is the mass for the "active" configuration of the part. The same part could have different configurations for different types of material and so the mass should change on a drawing when I change sheets to show different configurations of the same part. This issue seems elementary but I don't know how to accomplish it. Any insight would be greatly appreciated! Example: (not a real life project) I want to produce a bunch of cast iron cubes x 6"...

Cursor changing and not changing back
I have seen several instances of the cursor changing to something other than what it's supposed to be and getting stuck there. It may be that it changes to something appropriate for the situation and gets stuck, or it may be something random, I don't know. Either way, the only way I have figured out to fix it is to close SW & reopen. Anyone else seeing this, have a better idea what causes it, have a better solution to get it working again? It's not just my machine, and it appears to be quite random - frustrating. WT Wayne Tiffany wrote: > I have seen severa...

I changed the library
Hi, I changed something in one of the libraries - it is DAQmx Write.vi&nbsp;(<a name="instance11" target="_blank">Digital 1D Wfm NChan 1Samp</a>) that is located in task.llb file. And unfortunatelly I saved the changes. Now I need to bring back the original version somehow. Do you know, if there's a change to discard changes and get original&nbsp;VI ? Or download original library ? What is more, I use german version of LabVIEW. &nbsp; best wishes OLO Uff, I wanted to&nbsp;fix it without reinstalling LabVIEW. I replaced the file&nbsp;...

how to change the change defaults #2
hi friends, it might be a stupid question to state. but i really need to know while programming, to change the defaults like changing the engineering notation of a real quantity i.e. fraction values or change the fix parameters to denote real value if our calculations involve the values as low as 0.000000001 and as high as 10000000. thanks hemu bisht ...

icon changes with change of extension
when we change the extension of a file in windows, its icon also changes..... how does windows do tht. in my application i require a similar approach. i want the icon to be dependent on the file extension not on the attributes of the file. i have gone trough the registry but things are not very clear. Windows has listed all the file extensions avaliable there, but there is no general way to extract icons for those extension... kindly help "Nicky" <nemesia31@gmail.com> wrote in message news:1161232961.150819.220880@i3g2000cwc.googlegroups.com... > when we change the exte...

Picture changes when record changes
Hi fellas, Im setting up a form in my Access project and I need to implement this rather special fucntion. This function is basically simple to understand but I really dont know how to create it. I need to implement a function that each time their is a record navigation a picture changes. Meaning = lets say I have a field with the word "football" in it - and their is a picture of a football next to it. Then I change record = changed into "rugby" and then their is a picture of a rugby ball next to it. How can I do that function? Cheers.. nickybon On 2 May 2006 09:24:3...

Change Status greyed out
I had to reconstruct my Out box because of a software error which had defaulted the message status of all mails to a uniform red (crossed) ball. The '.001' and '.002'-versions of the Out.toc and -.mbx were of no avail. Thanks to other backup files I could restore it all but for the last few days. Now when I right-click the Status column for a particular message belonging to those last days, the 'Change Status'-options are all greyed out. I want for example, change the status to 'Sent'. of the How can I accomplish this? On Thu, 23 Jul 2009 09...

Category change and the change log
Andy/Blair, There's a small problem in D6 which, when adding a category to a method, results in the category change not being registered in the change log. The problem only occurs when the change is made in one of the possible ways. Demo (in a ClassBrowser)- - Select a method, any method. - Right click, select "Add to category" - Select one of the suggested categories The browser reflects the additional category but if you look at the end of the change log then the category change hasn't been appended to the file If you change the category using drag drop o...

How to Manage the Change within the Change?
How can we manage change to software that is not completely tested? For example: For a fictitious name I will use "Big Company Software" (BCS) 1.01.00. Each month BCS goes through the following cycle: Evaluate and Accept Customer Requests Plan Design Develop Build Test User Test Deployment So for example in month 1 BCS 1.01.00 is released. On month 2 BCS 1.02.00 is released etc. Also for example the evaluation, plan, design and development takes place in the first 20 days of the month and test/ user test takes place in the last 10. But on month 2, on day 5 for...

icon changes with change of extension
when we change the extension of a file in windows, its icon also changes..... how does windows do tht. in my application i require a similar approach. i want the icon to be dependent on the file extension not on the attributes of the file. i have gone trough the registry but things are not very clear. Windows has listed all the file extensions avaliable there, but there is no general way to extract icons for those extension... kindly help Windows displays the icon of the program associated with the file, so if you change a file from ".doc" to ".txt" then the...

Re: Changes and frequency of changes
On Sat, 28 Apr 2007 15:08:15 -0400, mcolowasth@YAHOO.CO.UK wrote: >Hi, > >I observe variable x over time (from 1999-2005) for a large number of >firms, w. I have computed the change in variable x from one year to the >next. > >Now, I would like to identify whether variable x has changed from one year >to the next for each firm as well as how often it changed for each firm(in >some cases I expect no change in this variable i.e. 0). > >Any suggestions on how to do this in sas? > >Thanks Generate test data, since original poster did not provide it: dat...

The data has been changed. Another user edited this record and saved the changes before you attempted to save your changes. Re-edit the record
Hi All, I have a form and VB code in Access. The code is like With rs .Edit !Field = 10 .Update End With When I chang a value on the form. then the error shows up. The data has been changed. Another user edited this record and saved the changes before you attempted to save your changes. Re-edit the record Anyone has idea what cause that? Thanks in advance. In most cases, I have seen, this happens, if you have two subforms or forms linked to the same table. If you try to edit the table from a different form while the second form/subfrm (linked to the same ...

FAQ: I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible?
This message is one of several periodic postings to comp.lang.perl.misc intended to make it easier for perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with Perl. -------------------------------------------------------------------- 8.34: I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? Unix In the strictest sense, it can't be done--the script executes as a different proc...

Why does font change when annotation visability changed?
Can someone confirm this behaviour? &nbsp; In LV8 open "Programmatically Annotate a Graph.VI" in &nbsp; ...\labview\examples\general\graphs &nbsp; Run it. &nbsp; Observe font used for Max and Min. &nbsp; Toggle "Avg" boolean and watch fonts for Max and Min change to bold. &nbsp; It appeasrs if the visability of any one anotation changes the font style of all the others go bold. &nbsp; <img src="http://forums.ni.com/attachments/ni/170/153578/1/FontChange.JPG"> &nbsp; Redraw returns font to original style. &nbsp; BenMessage...

scroll position is changed when style is changed?
When I scroll down my page and trigger js that changes a div's visibility to 'visible' and display to 'block' the page gets repositionned to the top (i.e. automatically scrolls to the top) and I have to scroll back down. How can I avoid this? mxbrunet a �crit : > When I scroll down my page and trigger js that changes a div's > visibility to 'visible' and display to 'block' the page gets > repositionned to the top (i.e. automatically scrolls to the top) and I > have to scroll back down. My test doesn't do what you say. If you call y...

Changing a drop list after dictionary change
I added a few drop lists on forms, when the item was a char 6 field. Then I changed the dictionary so that it was s10. But I can't figure out how to manually make the drop list change format. The generated code still says s5: LIST,AT(113,34,60,10),USE(CAB:End1,,?CAB:End1:2),FORMAT('20L(2)|M~End Code~@s5@'),DROP(10),FROM(CAB:End2MF) However, doing a synchronize - does fix it. Dear Bob, > I added a few drop lists on forms, when the item was a char 6 field. > Then I changed the dictionary so that it was s10. But I can't figure > out how to manually make the drop li...

Speed Change without Pitch Change
Does anyone know of a C/C++ library for taking an audio file and performing a speed change without changing the pitch? Thanks, Jeff Dodson > Does anyone know of a C/C++ library for taking an audio file and > performing a speed change without changing the pitch? > Jeff, The simple way to do it is just to repeat or cut out the small chunks of data depending if you are going faster or slower respectively. Divide your file into the frames of ~10ms long and operate frame by frame. A better way for doing the speed change is the same method however the signal is split into frq. su...