473,657 Members | 2,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

will C# be perfomant enough for the next problem (HW programming)???

hello,
A buddy of me made a modification on a TB-303 synthesizer (made in
1982) so it is possible to program the synth via a parallel port
connector. He made a program in qbasic and he wants a "modern" GUI. I
am doing a course in C# and want to program translate the thing to C#.
Here is his website: http://switch.to/bassline Pleace check the section
"Now available: TB-303 computer interface:"

So, will I be able to do it without delays ??? Don't I need C++ ???

I've read you can use "unsafe" blocks in C#, in case of delays, will
this help in any way ???
This are the specifications of the synthesizer itself:
Ram chips: Nec's µPD-444C CMOS RAM, 1024 x 4 Bit Static.
CPU type: Nec's µPD-650C-133, 4-bit microcomputer. (133=Roland's ID
internal firmware Rom code).
Dimensions: 300 mm (width)x148 mm (Depth)x55 mm (Height).
Weight: 1 Kg
Sound range: 3 Octaves (4 octaves in a TRACK).
Tone control: Cutoff Frequency, Resonance, Envelope Modulation, Decay,
Accent, Waveform (Saw/Square).
Tuning control: +- 500 overcents.
Tempo control: 40 to 300 BPM.
Memory: 64 measures x 7 TRACKS (256 measures maximum). Memory backup.
Output: Main (Regular Jack, Impedance 10Kohm) - Headphones (Stereo
Jack, Impedance 8ohm-30ohm).
CV/GATE Out: Mini-Jacks (CV: [= +1V | - +5V], 1 volt/octave / GATE:
[OFF 0V | ON +12V]).
Sync24: Din connector. Synchronizable with TR-606, CR-8000, NOVATION
DRUMSTATION, ...
Mix in: Regular Jack, Impedance 100Kohm. Output level 1:1.
Power supply: Battery - 6V (1.5V x 4). AC adaptator 9V. Current drain :
min 80mA, max 120mA.
Accessories: Soft Case.
thanks

Jul 7 '06 #1
3 3371
"The interface is basically a signal router that can redirect the signals
between the memory chips and 303's internal cpu and the signals between the
cpu and the analog section of the 303 to and from an external connector.
This is all done in a pure hardware fashion (no programmable devices like
gals/microcontroller s/cpu's whatsoever) in a way that there is zero extra
delay on these signals so that the behaviour of your 303 is not affected in
any way. You may ask yourself the question why no programmable devices? This
was the first design prerequisite I made when I started this project for the
following reasons:
1: They generate delays and thus affect the behaviour of the 303
2: programmable devices don't last: the cells that store the program decay
over time and that is unacceptable because I want my interfaces to outlast
the 303's in which they were built in."

From what I can see here delay accross the parallel port would not seem to
be too much of an issue (correct me if I am wrong but it would seem that its
just dumping data down). You should be able to use C# for this but dealing
with parallel ports is no walk in the park.
http://www.codeproject.com/csharp/csppleds.asp includes a full tutorial on
toying iwth the parallel port.

p.s. I have a devilfish and two qm boxes here .. I may be willing to help
with this :D
..
Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"drgonzo120 " <dr********@yah oo.comwrote in message
news:11******** *************@k 73g2000cwa.goog legroups.com...
hello,
A buddy of me made a modification on a TB-303 synthesizer (made in
1982) so it is possible to program the synth via a parallel port
connector. He made a program in qbasic and he wants a "modern" GUI. I
am doing a course in C# and want to program translate the thing to C#.
Here is his website: http://switch.to/bassline Pleace check the section
"Now available: TB-303 computer interface:"

So, will I be able to do it without delays ??? Don't I need C++ ???

I've read you can use "unsafe" blocks in C#, in case of delays, will
this help in any way ???
This are the specifications of the synthesizer itself:
Ram chips: Nec's µPD-444C CMOS RAM, 1024 x 4 Bit Static.
CPU type: Nec's µPD-650C-133, 4-bit microcomputer. (133=Roland's ID
internal firmware Rom code).
Dimensions: 300 mm (width)x148 mm (Depth)x55 mm (Height).
Weight: 1 Kg
Sound range: 3 Octaves (4 octaves in a TRACK).
Tone control: Cutoff Frequency, Resonance, Envelope Modulation, Decay,
Accent, Waveform (Saw/Square).
Tuning control: +- 500 overcents.
Tempo control: 40 to 300 BPM.
Memory: 64 measures x 7 TRACKS (256 measures maximum). Memory backup.
Output: Main (Regular Jack, Impedance 10Kohm) - Headphones (Stereo
Jack, Impedance 8ohm-30ohm).
CV/GATE Out: Mini-Jacks (CV: [= +1V | - +5V], 1 volt/octave / GATE:
[OFF 0V | ON +12V]).
Sync24: Din connector. Synchronizable with TR-606, CR-8000, NOVATION
DRUMSTATION, ...
Mix in: Regular Jack, Impedance 100Kohm. Output level 1:1.
Power supply: Battery - 6V (1.5V x 4). AC adaptator 9V. Current drain :
min 80mA, max 120mA.
Accessories: Soft Case.
thanks
Jul 7 '06 #2
drgonzo120 wrote:
hello,
A buddy of me made a modification on a TB-303 synthesizer (made in
1982) so it is possible to program the synth via a parallel port
connector. He made a program in qbasic and he wants a "modern" GUI. I
am doing a course in C# and want to program translate the thing to C#.
Here is his website: http://switch.to/bassline Pleace check the section
"Now available: TB-303 computer interface:"

So, will I be able to do it without delays ??? Don't I need C++ ???

I've read you can use "unsafe" blocks in C#, in case of delays, will
this help in any way ???
<snipeddy-doo-dah>

Hi drgonzo120,

I'm using C# to control a USB -DMX converter. DMX is a lighting control
protocol, that runs on RS-485. The device I have comes from Enttec, and
relies on the computer to constantly generate the DMX frames, i.e. I have a
thread that's continually pushing a DMX frame out. I also have algorithms
that flash lights, and make them spin, not to mention a lot of
preprocessing of the DMX values before they're sent out.

My point here is that, it performs very well. I've used my program in a
production environment, and I haven't seen any lag whatsoever. "C#" is
fast enough.

Note: I quoted C# above, because in the end, it's not C# that's doing the
stuff, it's the CLI.

--
Hope this helps,
Tom Spink
Jul 7 '06 #3
On Fri, 07 Jul 2006 02:43:13 -0700, drgonzo120 wrote:
hello,
A buddy of me made a modification on a TB-303 synthesizer (made in
1982) so it is possible to program the synth via a parallel port
connector. He made a program in qbasic and he wants a "modern" GUI. I
am doing a course in C# and want to program translate the thing to C#.
Here is his website: http://switch.to/bassline Pleace check the section
"Now available: TB-303 computer interface:"
Fuck that site!! It has bullshitter Javascript he tells me I have
errors of the Windows registry, but I am running Linux. I click the
cancel button and it runs a bullshit check.

Jul 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

84
3891
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: Hireability Portability Flexibility The likely candidates seem to be Java, VB.Net, C, C++, C#.
13
4114
by: aarklon | last post by:
Hi all, I accidentally found expert C programming by peter van der linden here:: http://sunner.cn/courses/C/ebook/Expert.C.Programming.pdf
9
3509
by: Steven D'Aprano | last post by:
I'm looking for some way to get the next floating point number after any particular float. (Any mathematicians out there: I am aware that there is no "next real number". But floats are not real numbers, they only have a finite precision.) According to the IEEE standard, there should be a routine like next(x,y) which returns the next float starting from x in the direction of y.
14
4003
by: Scott W | last post by:
the second edition of King's book will be released next year. should i wait until then or just get the currently available version?
1
1136
by: Andrew | last post by:
I run a fantasy football website that is in need of some serious PHP programming. The basics are: - Allow individual logins to team pages where form submission updates that page dynamically as well as sends to an HTML file - Process waiver wire - Generate realtime stats from NFL.com's gamecenter Please contact me if you are interested.
97
5482
by: Master Programmer | last post by:
An friend insider told me that VB is to be killled off within 18 months. I guess this makes sence now that C# is here. I believe it and am actualy surprised they ever even included it in VS 2003 in the first place. Anyone else heard about this development? The Master
8
2310
by: kaili | last post by:
i'm chinese i heard that "The C Programming Language " by Brian W. Kernighan, Dennis Ritchie is the best book for new learners. but it is unavailable here. i mearn there is nobody selled it. i wonder any body can help me???
6
3472
by: Bob Palank | last post by:
I'm considering using VJ# in a first programming course in addition to or in place of JBuilder and the J2SE. Given install problems other students have had, VJ# seems like a nice alternative. I expect criticism. But: 1. Most of my students are using WinXP. 2. VJ#.Net Express is free and has an outstanding GUI. 3. Code written in VJ#, via the Mono Project could always be ported to other platforms. 4. Java compiler source seems close to...
25
2312
by: blessblessbless | last post by:
Hello friends, I am trying to find something that must exist. I am in Thailand right now and Internet is not very available in the place I'm staying. Is there a program that can emulate a server, apache, mysql without me having to set up a server on my laptop. I would imagine it to be like an archive where I just import the files I want to test and can muck around with databases and brows the files using different variables n so.
0
8382
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8717
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7311
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5629
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1930
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1600
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.