Author |
Message |
gonzdi
Joined: Jul 08, 2008 Posts: 6 Location: spain
|
|
Back to top
|
|
 |
DrJustice

Joined: Sep 13, 2004 Posts: 2114 Location: Morokulien
Audio files: 4
|
Posted: Wed Jul 09, 2008 4:45 am Post subject:
|
 |
|
Hi Gonzdi!
to electro-music.com!
I had a look at the sources, and the first thing that hits me is that some of the files have strange extensions, like 'panelH.txt' and 'panelC.txt' etc.. Very strange - they need to be renamed 'panel.c' panel.h' etc.. That will stop the errors given for 'create_dsp_task' and 'create panel_task'. Also, the 'dsp' directory contains C sources of the same names as those in it's parent directory.
I cleaned up a little and tried a build, got some errors, fixed 'panel.c', line 243 by adding a quote to close the string - but there are more errors to be dealt with. I think you should have a look at the file structure of the example projects. Perhaps starting a new project and importing the files you need.
DJ
-- |
|
Back to top
|
|
 |
gonzdi
Joined: Jul 08, 2008 Posts: 6 Location: spain
|
Posted: Wed Jul 09, 2008 8:25 am Post subject:
|
 |
|
hi DrJustice,
thank you very much for your help!!
My intention is to develope an Audio Master with three filter-bands, a compressor, an expander and a signal limiter in each band, After that to include a master limiter and gain.
If to someone he/she is interested in this application and wants to help me with someone of the blocks, I will be grateful for it to him/her eternally!!
i will try to remake the project with the tutorial examples and then I will keep you informed!! |
|
Back to top
|
|
 |
gonzdi
Joined: Jul 08, 2008 Posts: 6 Location: spain
|
|
Back to top
|
|
 |
DrJustice

Joined: Sep 13, 2004 Posts: 2114 Location: Morokulien
Audio files: 4
|
Posted: Wed Jul 09, 2008 1:07 pm Post subject:
|
 |
|
gonzdi wrote: | Thank you for your attention and apologise by my insistence!! |
First of all, you have nothing to apologize for! You are at the right place for Chameleon discussions
OK - I've looked at it a bit, and found a few things.
I got the same makefile error as you, so I created a new default project using the latest version of the development environment, as found on synth.net (If you haven't got the latest version, download and install the full SDK and the additional components). Then I added all the source files from your compressor project and the makefile worked. I don't know what the problem was, let's just be satisfied that a fresh project using the latest SDK works
Now the build can start, but the compiler exits with some errors, as is to be expected with the first compilations of a new project.
The first thing that stopped it from compiling was simply the filenames of the 'FIRL.asm' and 'FIRR.asm' files, so I changed main.asm, line 16 and 17 to the correct filenames.
Then the compile stopped on a missing 'endm' in 'FIRL.asm' and 'FIRR.asm'. This error relates to the next one which was: 'Unrecognized mnemonic: SIMULATING' in 'main.asm' line 20. The first error is because the assembler requires that mnemonics and directives are not placed at the beginning of a line, i.e. they must have leading whitespace, or more abstracly they must not be in the first column. The second error is because labels (symbols) must be placed at the start of the line, or the first column if you wish; that is indeed how it is interpreted as being a label, UNLESS you have a colon after the label. I moved the first few labels in 'main.asm' to the start of the line, just to verify that it was the problem.
Now the compiler stops at 80,83,85 in 'main.asm' with three error messages for each line. It's the semicolons (comments) - there must be whitespace between the statement and the semicolon. Then on line 111 and on, the lists of constants end with ",...".
At this point, now that the compilation proper is going, I assume that you need to work a little on the code and formatting, going through a few compiles to catch typos and so on.
I have attached the project that I modified. Hopefully it will be easier to progress from there.
DJ
--
Description: |
Modified compressor project. |
|
 Download (listen) |
Filename: |
compresor_124_modified.rar |
Filesize: |
12.7 KB |
Downloaded: |
796 Time(s) |
|
|
Back to top
|
|
 |
vexkon
Joined: Sep 06, 2006 Posts: 15 Location: bosstown
|
Posted: Wed Aug 20, 2008 9:42 am Post subject:
|
 |
|
Good luck with this master channel gonzdi! |
|
Back to top
|
|
 |
gonzdi
Joined: Jul 08, 2008 Posts: 6 Location: spain
|
Posted: Tue Feb 10, 2009 5:52 pm Post subject:
|
 |
|
Hi people!!!
after some months developing other algorithms and learning more about Chamie , i´ve returned to try this compress, and my new (but not the last... ) question is:
when i try to compilate all the program, doesn´t exist "errors", but it doesn´t let me to compilate it showing this text:
Unresolved Externals:
CRB_TEO (C:\.......\main.cli)
GRT (C:\...\main.cli)
make[3]: *** [/Chameleon.sdk/...../main.cld] Error 4
make[2]: *** [dsp/dsp_code.h] Error 2
make[1]: *** [debug] Error 2
make: *** [common] Error 2
Results : 1 Error(s), 0 Warnings(s)
Why could be it caused???
Another time, thank you for your attention and have a nice day  |
|
Back to top
|
|
 |
DrJustice

Joined: Sep 13, 2004 Posts: 2114 Location: Morokulien
Audio files: 4
|
Posted: Thu Feb 12, 2009 1:02 pm Post subject:
|
 |
|
Since the compiler complains about 'Unresolved Externals:' CRB_TEO and GRT, I'd search for those in the sources. If you can't catch them, we'd need to se the code to help any further.
DJ
-- |
|
Back to top
|
|
 |
gonzdi
Joined: Jul 08, 2008 Posts: 6 Location: spain
|
|
Back to top
|
|
 |
DrJustice

Joined: Sep 13, 2004 Posts: 2114 Location: Morokulien
Audio files: 4
|
Posted: Sun Feb 15, 2009 7:44 am Post subject:
|
 |
|
OK, I've tried to build the project now.
The symbol 'CRB_TEO' as referenced in 'main.dsp' line 254 and 289, should be 'CRB_TE0', i.e. use the digit zero, not the letter O ('CRB_TE0' is defined in 'SDK\include\dsp\dsp_equ.asm').
The missing 'GTR' symbol is not defined anywhere. However, there's a 'GRT' symbol defined in 'main.dsp' line 35. I changed that definition to 'GRT' and it then gets past that error.
Of course, now that the build gets a bit further there are other errors (in 'panel.c' and 'panel.h'). This is to be expected since the build didn't get that far previously. So there's a little bit more work for you in cleaning up the panel code
DJ
-- |
|
Back to top
|
|
 |
gonzdi
Joined: Jul 08, 2008 Posts: 6 Location: spain
|
Posted: Sun Feb 15, 2009 1:27 pm Post subject:
finallyyy It runssssss!!! |
 |
|
Hi,
finally it´s done, the audio compress runs ok. It´s not so complete like others, but make the basically function: "simple but easy".
I attach the code, the interface compilation and a litlle resume for everybody.
Thanks to everybody for your help and patience
Now....for the audio limiter!!!
user´s manual:
this audio compress consists of a separating filter of three bands where each band is modified separately with: RATIO, THESHOLD and INPUTLEVEL.
Then, when you conect the chameleon, you will see the "Output Gain" which is posible to modified with control1.
If you press edit buttom, access to Proccess window where you can change the band to compress with "part" parameter (LPF,BPF,HPF).
If you want to change the function, with "param" you will choose between ratio, threshold and Input Level.
Finally, if you change the "value" button, you will be modifying each of the previous parameters
Description: |
|
 Download (listen) |
Filename: |
proyecto.rar |
Filesize: |
86.36 KB |
Downloaded: |
746 Time(s) |
|
|
Back to top
|
|
 |
|