Csound Csound-dev Csound-tekno Search About

[Cs-dev] Padsynth

Date2015-01-11 17:57
FromMichael Gogins
Subject[Cs-dev] Padsynth
I have pushed to GIT a first implementation of Nasca's "pad synth"
algorithm, as a C++ plugin function table. More will need to be done
to bring this up to the functionality of the CSD implementation, and
also documentation is still to be done. There is a padsynth_gen.csd
test file in the Opcodes directory.

Playing with the VST plugin ZynSubAddFX renews my appreciation for
what this code can do.

Please note, the Travis CI build breaks on this because the CI C++
compiler is not up to date. Could somebody with more familiarity with
the CI system see if this is a question of configuration (then please
reconfigure it to use C++11) or simply being behind (in which case I
will rewrite the code so Travis will compile it).

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-11 18:26
FromSteven Yi
SubjectRe: [Cs-dev] Padsynth
Hi Michael,

Thanks for looking into this, I look forward to trying it out!
However, John has reported a failure to build on his system that is
the same as what is on CI.  I also just tried to build here on OSX and
got:

[ 71%] Building CXX object Opcodes/CMakeFiles/padsynth.dir/padsynth_gen.cpp.o

cd /Users/stevenyi/work/csound/cs6make/Opcodes && /usr/bin/c++
-DCS_DEFAULT_PLUGINDIR=\"/Users/stevenyi/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64\"
-DHAVE_SOCKETS -DHAVE_SPRINTF_L -DHAVE_STRLCAT -DHAVE_STRTOD_L
-DHAVE_STRTOK_R -DMACOSX -DNO_FLTK_THREADS -DPIPES -DUSE_LRINT
-D_CSOUND_RELEASE_ -Dpadsynth_EXPORTS -I/usr/local/include
-I/usr/include -DHAVE_ATOMIC_BUILTIN -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
-mmacosx-version-min=10.7 -fPIC -I/usr/local/include
-I/Users/stevenyi/work/csound/csound6/./H
-I/Users/stevenyi/work/csound/csound6/./include
-I/Users/stevenyi/work/csound/csound6/./Engine
-I/Users/stevenyi/work/csound/csound6/.
-I/Users/stevenyi/work/csound/cs6make
-I/Users/stevenyi/work/csound/cs6make/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Python.framework/Headers
-I/Users/stevenyi/work/csound/csound6/include    -o
CMakeFiles/padsynth.dir/padsynth_gen.cpp.o -c
/Users/stevenyi/work/csound/csound6/Opcodes/padsynth_gen.cpp

/Users/stevenyi/work/csound/csound6/Opcodes/padsynth_gen.cpp:28:10:
fatal error: 'random' file not found

#include 

         ^

It also says fareygen.c in the padsynth_gen.cpp file. If I remove that
Include, I get essentially the same error as John.  Also, if I add
-std=c++0x or -std=c++11, I still get the same error.

steven

On Sun, Jan 11, 2015 at 12:57 PM, Michael Gogins
 wrote:
> I have pushed to GIT a first implementation of Nasca's "pad synth"
> algorithm, as a C++ plugin function table. More will need to be done
> to bring this up to the functionality of the CSD implementation, and
> also documentation is still to be done. There is a padsynth_gen.csd
> test file in the Opcodes directory.
>
> Playing with the VST plugin ZynSubAddFX renews my appreciation for
> what this code can do.
>
> Please note, the Travis CI build breaks on this because the CI C++
> compiler is not up to date. Could somebody with more familiarity with
> the CI system see if this is a question of configuration (then please
> reconfigure it to use C++11) or simply being behind (in which case I
> will rewrite the code so Travis will compile it).
>
> Regards,
> Mike
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-11 18:35
Fromjpff
SubjectRe: [Cs-dev] Padsynth
AttachmentsNone  None  
followup -- on Debian (g++ 4.7.) I get basically the sanme as with g++ 
4.8.3


In file included from /usr/include/c++/4.7/random:35:0,
                  from /home/jpff/csound6/Opcodes/padsynth_gen.cpp:28:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file 
requires compiler and library support for the ISO C++ 2011 standard. This 
support is currently experimental, and must be enabled with the -std=c++11 
or -std=gnu++11 compiler options.
/home/jpff/csound6/Opcodes/padsynth_gen.cpp: In function ‘int 
padsynth_gen(FGDATA*, FUNC*)’:
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:71:9: error: ‘vector’ is not a 
member of ‘std’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:71:21: error: expected 
primary-expression before ‘double’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:71:21: error: expected ‘;’ 
before ‘double’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:73:13: error: ‘A’ was not 
declared in this scope
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:102:41: error: ‘A’ was not 
declared in this scope
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:106:9: error: 
‘default_random_engine’ is not a member of ‘std’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:106:36: error: expected ‘;’ 
before ‘generator’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:107:9: error: 
‘uniform_real_distribution’ is not a member of ‘std’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:107:40: error: expected 
primary-expression before ‘double’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:107:40: error: expected ‘;’ 
before ‘double’
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:109:40: error: ‘generator’ was 
not declared in this scope
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:109:49: error: ‘distribution’ 
was not declared in this scope
/home/jpff/csound6/Opcodes/padsynth_gen.cpp: At global scope:
/home/jpff/csound6/Opcodes/padsynth_gen.cpp:136:5: warning: deprecated 
conversion from string constant to ‘char*’ [-Wwrite-strings]
make[2]: *** [Opcodes/CMakeFiles/padsynth.dir/padsynth_gen.cpp.o] Error 1
make[2]: Leaving directory `/home/jpff/csound6'
make[1]: *** [Opcodes/CMakeFiles/padsynth.dir/all] Error 2
make[1]: Leaving directory `/home/jpff/csound6'
5~

Date2015-01-11 20:31
Fromjpff
SubjectRe: [Cs-dev] Padsynth
Another test; setting -std=gnu++11 and it compiles; not tested running yet

But this does not help OSX systems
==John



------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-12 02:12
FromSteven Yi
SubjectRe: [Cs-dev] Padsynth
I managed to get things to compile on OSX, using both -std=gnu++11 and
-stdlib=libc++ (the latter was the missing ingredient).  I committed
the build file change, but trying to run the example I get a crash
when the opcode tried to print p4:

0dBFS level = 1000.0
ftable 101:
p1_function_table_number:  101.0000
p2_score_time:    0.0000
N:    0.0000

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff8b02b172 in strlen ()
(gdb) bt
#0  0x00007fff8b02b172 in strlen ()
#1  0x00007fff8b06ff22 in __vfprintf ()
#2  0x00007fff8b0989cf in __v2printf ()
#3  0x00007fff8b098c64 in __xvprintf ()
#4  0x00007fff8b06ebf2 in vfprintf ()
#5  0x000000010019b32f in csoundDefaultMessageCallback ()
#6  0x000000010019a946 in csoundMessage ()
#7  0x0000000100f1568a in padsynth_gen ()
#8  0x000000010000ebd4 in hfgens ()
#9  0x00000001001cdaa0 in ftgen_ ()
#10 0x00000001001ca357 in ftgen_S ()
#11 0x000000010001dcec in init0 ()
#12 0x000000010002c793 in musmon ()
#13 0x00000001001a10aa in csoundStart ()
#14 0x00000001001a10fc in csoundCompile ()
#15 0x0000000100001a62 in main ()

On Sun, Jan 11, 2015 at 3:31 PM, jpff  wrote:
> Another test; setting -std=gnu++11 and it compiles; not tested running yet
>
> But this does not help OSX systems
> ==John
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-13 14:47
Frommenno
SubjectRe: [Cs-dev] Padsynth
Hi Michael,

i did some experiments, and a few remarks and questions pop up. I hope you
can give me some answers:

- a remark about the example: ibw_cents = 56.96943 is redundant, because it
is p6_partial_bandwith in the ftgen

- in the example: ibasefreq = 440 ; can be lower or higher frequency; close
to played frequency is said to be best
Why? Is it 'in tune'?
And how does ibasefreq to fundamentalFrq in a sensible way, like A=440Hz?

- When comparing GENpadsynth with ZynAddSubFX:
    1. "gispec_len init 2^16" is samplesize in GENpadsynth, as i understand
it. This is Sample Size setting in ZynAddSubFX. The range there is 16k to
1M. My math is not great, but does that mean that the range possible in
GENpadsynth = 2^number of partials to 2^infinty - as long as it is a power
of 2 or 2+1?
    Of course, infinity takes a long time to compute, like forever, but this
means the range is larger than the 16k <-> 1M size in ZynAddSubFX? 
    
    2. the number of partials (hamp) are displayed in Csound when i run a
GENpadsynth.csd - but what does 
    maximum at 0: 0.369430
    maximum at 15: 0.383506
    maximum at 17: 0.396409
    .....
    stand for? How is this called in ZynAddSubFX?
    
    3. partialScale and harmonicStretchScale in GENpadsynth, are they the
Width and FreqMlt settings in ZynAddSubFX?



--
View this message in context: http://csound.1045644.n5.nabble.com/Padsynth-tp5739549p5739587.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-14 10:26
Frommenno
SubjectRe: [Cs-dev] Padsynth
I did not express my gratitude to Michael for this opcode yet: thanks a lot!
Interesting sounds can be made easily and without too much CPU power.

Experimenting further and bringing the GENpadsynth back to its basics in
order to understand it, i made a csd that should result in a sinewave:
/gi_padsynth_1 ftgen 0, 0, gispec_len, "padsynth", 440, 1, 1, 1, 1 ;only 1
partial - sine?/

When i run the csd (attachment  sine_harmonics.csd
  ) i
do hear the sine but also a high pitched distortion (attachment 
padsynth_sine_close.jpg
 
). I do not get this distortion in ZynAddSubFX.
Can you explain this? Is my csd not correct?





--
View this message in context: http://csound.1045644.n5.nabble.com/Padsynth-tp5739549p5739591.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-15 20:49
FromSteven Yi
SubjectRe: [Cs-dev] Padsynth
Hi Menno,

I just saw this in my spam folder (I have no idea how to get Gmail to
not do this; happens with other emails to mailing lists from yahoo
accounts too).  I tried your CSD and am getting buzzing sound too.
I'm uncertain as to why this is.

steven

On Wed, Jan 14, 2015 at 5:26 AM, menno  wrote:
> I did not express my gratitude to Michael for this opcode yet: thanks a lot!
> Interesting sounds can be made easily and without too much CPU power.
>
> Experimenting further and bringing the GENpadsynth back to its basics in
> order to understand it, i made a csd that should result in a sinewave:
> /gi_padsynth_1 ftgen 0, 0, gispec_len, "padsynth", 440, 1, 1, 1, 1 ;only 1
> partial - sine?/
>
> When i run the csd (attachment  sine_harmonics.csd
>   ) i
> do hear the sine but also a high pitched distortion (attachment
> padsynth_sine_close.jpg
> 
> ). I do not get this distortion in ZynAddSubFX.
> Can you explain this? Is my csd not correct?
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Padsynth-tp5739549p5739591.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-15 21:02
FromFelipe Sateler
SubjectRe: [Cs-dev] Padsynth
On Thu, Jan 15, 2015 at 5:49 PM, Steven Yi  wrote:
> I just saw this in my spam folder (I have no idea how to get Gmail to
> not do this; happens with other emails to mailing lists from yahoo
> accounts too).


The fault is with Yahoo not Gmail. Yahoo DNS entries explicitly tell
mail receivers to not accept mail from @yahoo.com addresses that are
not coming from a yahoo server. That means that mailing list messages
from a yahoo address will always be flagged as spam (actually we are
lucky the gmail servers are not draconian and outright discard the
messages). Very very annoying.

http://www.pcworld.com/article/2141120/yahoo-email-antispoofing-policy-breaks-mailing-lists.html
and googling "yahoo dmarc" have more info in case you are interested.

-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-15 21:19
FromSteven Yi
SubjectRe: [Cs-dev] Padsynth
Ah, that's very interesting, thanks Felipe!

On Thu, Jan 15, 2015 at 4:02 PM, Felipe Sateler  wrote:
> On Thu, Jan 15, 2015 at 5:49 PM, Steven Yi  wrote:
>> I just saw this in my spam folder (I have no idea how to get Gmail to
>> not do this; happens with other emails to mailing lists from yahoo
>> accounts too).
>
>
> The fault is with Yahoo not Gmail. Yahoo DNS entries explicitly tell
> mail receivers to not accept mail from @yahoo.com addresses that are
> not coming from a yahoo server. That means that mailing list messages
> from a yahoo address will always be flagged as spam (actually we are
> lucky the gmail servers are not draconian and outright discard the
> messages). Very very annoying.
>
> http://www.pcworld.com/article/2141120/yahoo-email-antispoofing-policy-breaks-mailing-lists.html
> and googling "yahoo dmarc" have more info in case you are interested.
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-16 12:42
FromFelipe Sateler
SubjectRe: [Cs-dev] Padsynth
I was thinking, perhaps this bit of information could be sent in the
admintrivia John sends regularly. Maybe people from Yahoo addresses
are never getting their mails delivered!

On Thu, Jan 15, 2015 at 6:19 PM, Steven Yi  wrote:
> Ah, that's very interesting, thanks Felipe!
>
> On Thu, Jan 15, 2015 at 4:02 PM, Felipe Sateler  wrote:
>> On Thu, Jan 15, 2015 at 5:49 PM, Steven Yi  wrote:
>>> I just saw this in my spam folder (I have no idea how to get Gmail to
>>> not do this; happens with other emails to mailing lists from yahoo
>>> accounts too).
>>
>>
>> The fault is with Yahoo not Gmail. Yahoo DNS entries explicitly tell
>> mail receivers to not accept mail from @yahoo.com addresses that are
>> not coming from a yahoo server. That means that mailing list messages
>> from a yahoo address will always be flagged as spam (actually we are
>> lucky the gmail servers are not draconian and outright discard the
>> messages). Very very annoying.
>>
>> http://www.pcworld.com/article/2141120/yahoo-email-antispoofing-policy-breaks-mailing-lists.html
>> and googling "yahoo dmarc" have more info in case you are interested.
>>
>> --
>>
>> Saludos,
>> Felipe Sateler
>>
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-16 13:51
Frommenno
SubjectRe: [Cs-dev] Padsynth
that is good to know, Felipe.
A lot of the messages that i sent to the Csound mailing list are never
answered - sometimes i think nobody has an answer, or nobody wants to
answer. I even have gotten to the point that i do mail a question or
something, but i do not expect a reaction back.

My mails however do show up in the Csound Nabble Forum, and that is exactly
my default Csound forum.

I will make a Gmail account and post from there in the future. (hoping that
somebody will actually react to my messages...sob...sob)



--
View this message in context: http://csound.1045644.n5.nabble.com/Padsynth-tp5739549p5739626.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2015-01-17 00:38
FromMichael Gogins
SubjectRe: [Cs-dev] Padsynth
AttachmentsNone  None  

Sorry for the delay in my reply.  This thing is far from done, and the 3 sources of code that I looked at do things somewhat differently. I have a lot of other things that I need to do in the next 3 weeks, then I will go back and finish this up properly. I will add more types of bandwidth profile, write some documentation for the manual, and compare the output to other implementations to make sure I got it right.

Best,
Mike

On Jan 13, 2015 9:48 AM, "menno" <nabob_cd@yahoo.com> wrote:
Hi Michael,

i did some experiments, and a few remarks and questions pop up. I hope you
can give me some answers:

- a remark about the example: ibw_cents = 56.96943 is redundant, because it
is p6_partial_bandwith in the ftgen

- in the example: ibasefreq = 440 ; can be lower or higher frequency; close
to played frequency is said to be best
Why? Is it 'in tune'?
And how does ibasefreq to fundamentalFrq in a sensible way, like A=440Hz?

- When comparing GENpadsynth with ZynAddSubFX:
    1. "gispec_len init 2^16" is samplesize in GENpadsynth, as i understand
it. This is Sample Size setting in ZynAddSubFX. The range there is 16k to
1M. My math is not great, but does that mean that the range possible in
GENpadsynth = 2^number of partials to 2^infinty - as long as it is a power
of 2 or 2+1?
    Of course, infinity takes a long time to compute, like forever, but this
means the range is larger than the 16k <-> 1M size in ZynAddSubFX?

    2. the number of partials (hamp) are displayed in Csound when i run a
GENpadsynth.csd - but what does
    maximum at 0: 0.369430
    maximum at 15: 0.383506
    maximum at 17: 0.396409
    .....
    stand for? How is this called in ZynAddSubFX?

    3. partialScale and harmonicStretchScale in GENpadsynth, are they the
Width and FreqMlt settings in ZynAddSubFX?



--
View this message in context: http://csound.1045644.n5.nabble.com/Padsynth-tp5739549p5739587.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel