electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
  EdisonRex Edison's Electronic Review
Please visit the chat
 Forum index » DIY Hardware and Software » Developers' Corner
Synth Coding in C#
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Lopi_bw



Joined: Jun 14, 2009
Posts: 1
Location: CJ RO

PostPosted: Sun Jun 14, 2009 3:36 am    Post subject: Synth Coding in C# Reply with quote  Mark this post and the followings unread

Hello all, this is my first post.

I want, for my Bachelor's Degree Diploma, to develop a simple synth in the Visual C# environment; as I am sure that it is not the best, or more efficient option, I want to prove that something like this can be developed in such a privileged environment.

Unfortunately, I am stuck at the first hurdle, basically reproducing a sound. I have read this THIS ARTICLE , but I haven't been able to make it work. I'm not sure, in this case, what "sample" represents, and I get an unhandled ArgumentException at the declaration of the secondary buffer. Does anyone know how to make that example properly work?

I would like to know if there is some other article explaining how to generate a simple tone (sine, square, or any other) in C#, or any other resource from where to start.
Back to top
View user's profile Send private message
jksuperstar



Joined: Aug 20, 2004
Posts: 2483
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Sun Jun 14, 2009 8:51 am    Post subject: Reply with quote  Mark this post and the followings unread

I can't necessarily help you, but I am glad you recognize that C# is one of the worst choices you could make to build real-time synthesizers with. I do hope, in the your future endeavors after graduation, you don't choose to perpetuate such a bloated environment, for any software. It's my opinion that these types of dev. envrionments are the reason my old Commodore64 ran @ 16MHz, with 64KB of memory, could load & run a MIDI seq/synth program off of a 31kHz serial attach floppy, and took the same amount of time to load the same function as my new 2GHz laptop with 1.5Gb SATA drive.

I don't mean to rant, but I really am not a fan of bloatware, and don't consider C# to be privileged.

That said, I'm sure it's entirely possible, as there are plenty of Java/non-native language synthesizers out there.
Back to top
View user's profile Send private message Visit poster's website
semisight



Joined: Apr 07, 2009
Posts: 6
Location: USA

PostPosted: Thu Jul 02, 2009 10:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Developers' Corner
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use