Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

the CSound Language

Name: JustSomeGuy 2010-04-26 14:34

I would like some help understanding the CSound API for C++, i can't seem to compile it on Visual Studio 2008/9, a couple of odd problems stdint.h doesn't exist and after i add it, two redefinition errors.

Anyone used CSound before? (I'm writting a synth engine btw)

Name: Anonymous 2010-04-26 14:56

Learn to use a compiler and maybe program first.

Name: JustSomeGuy 2010-04-26 15:04

Yeah great, to solve the first problem i included stdint in the local directory but that caused the second errors, which is a clash betwenn CSounds sysdef file and a windows file both defining two types of long int as different things.

I would like insight into that problem but i was also just looking to see if anyone else had used CSound or it's API before and what they did/how they felt about it etc..

Name: Anonymous 2010-04-26 15:18

Suppose someone wanted to help you. Do you think they could given the information provided?

The people I've seen around here doing synthesis have all written their own from scratch.

Name: Anonymous 2010-04-26 18:34

Correct me if I'm wrong, but Csound has a C API. Why aren't you just using that?

Name: Anonymous 2010-04-26 20:45

ewwww XML is ass

Name: Anonymous 2010-04-26 20:54

Visual Studio
There's your problem.

included stdint in the local directory
This is horribly wrong.

Name: JustSomeGuy
No you're name is and idiot!

Name: Anonymous 2010-04-26 20:56

CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN CYGWIN

Name: Anonymous 2010-04-26 21:09

>>8
cygwin? wtf. cywgin uses the shitty GCC compiler, inferior to VC++ (if not using C99) and inferior to ICC.

Name: Anonymous 2010-04-26 22:52

not using C99
Three problems?! In my /prog/.

Actually no, I usually write for the ANSI standard.

Name: Anonymous 2010-04-26 23:25

>>10
I find bool really convenient, because you can fit it in just about any code you write. It's a minimum-effort way to remind MSVC people of the inferiority of their compiler.

Name: Anonymous 2010-04-26 23:35

>>11
not like making bool work in MSVC is any problem.

Name: Anonymous 2010-04-26 23:46

>>12
Of course not, but it's an extra step they'll have to do.
If I were to put effort into it, I'd at least put some complex arithmetic in there, but complex numbers aren't as universally useful.

Name: Anonymous 2010-04-26 23:54

>>11
Besides bool, I use other C99 features like variable length arrays, variable declarations in for statements, snprintf, stdint, inline functions, designated initializers, and flexible struct sizes.

Name: Anonymous 2010-04-27 3:21

>>10
C99 is the ANSI standard. It has been for over a decade.

>>9
ICC only compiles code for shitty x86/x86_64/IA-64.

Name: Anonymous 2010-04-27 3:29

>>15
Then use RVCT for shitty ARM, [Insert vendor compiler] for [Insert vendor architecture], etc. It's all compliant anyway, right?

Name: Anonymous 2010-04-27 8:20

>>15
And what architecture do you use?  "shitty" x86_64 happens to have the fastest implementations of any architecture besides POWER7, and x86_64 runs many different operating systems compared to POWER.

Name: Anonymous 2010-04-27 8:22

>>17
but does it RUN MY ANUS

Name: Anonymous 2010-04-27 9:31

>>18
LLVM can

Name: Anonymous 2010-04-27 9:32

>>17
It may be fast but it's still shitty. It's an ancient arch and currently has layer upon layer of backwards compatibility features that result dirty hacks. There is also the matter of power usage.

My OS runs fine on the other superior chips.

Name: Anonymous 2010-04-27 10:09

>>20
back to /acorn/, doddy

Name: Anonymous 2010-04-27 10:09

>>15
Yes, pedant, that's true. But you know exactly what I meant.

>>15-16,20
I can't believe you twats are still bickering about chips.

Name: Anonymous 2010-04-27 10:13

>>20
The instruction decoder of a modern x86-64 CPU is very small relative to the rest of the CPU.  All instructions get converted into RISC-like micro-operations internally (this has been true since the Pentium Pro/P6).  Ancient and complex instructions are implemented in microcode.  The cost of this backwards compatibility is minimal.

x86-64 has a common floating point instruction set (SSE2) as well.

SPARC, MIPS, ARM, and IA64 simply don't come close.  (ARM doesn't even have a 64-bit mode yet!)   The only superior chip is POWER7, and I'm certain you don't use it.

Name: Anonymous 2010-04-27 10:15

>>22
yhbt

Name: Anonymous 2010-04-27 10:25

>>23
Fine then. I'll just say that I'm bitter about BIOS. We need to move to Coreboot.

Name: Anonymous 2010-04-27 10:25

>>24
That's not how that works.

Name: Anonymous 2010-04-27 10:26

>>26
???????????????? ???????? ????????????????.

Name: Anonymous 2010-04-27 10:27

>>27
D'aww. Still banned from /pr/?

Name: Anonymous 2010-04-27 10:28

>>28
☆???????????????????? ????????????????????????☆

Name: Anonymous 2010-04-27 10:32

x86-64 has a common floating point instruction set (SSE2) as well.
http://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29

ARM doesn't even have a 64-bit mode yet!
and yet an ARM processor is a lot faster at 64-bit integer operations than an x86-64 processor using the same amount of power.

Name: Anonymous 2010-04-27 10:34

>>30
Thank you for this information. ???? ???????????????? ???????? ???????????????? ???????? ????????????????????????????!

Name: Anonymous 2010-04-27 11:20

☆???????????????????? ????????????????????????☆

Name: Anonymous 2010-04-27 12:36

>>25
My x86-64 system uses EFI

>>30
NEON is not available on all ARM CPUs, unlike SSE2 which is standard on all x86-64 implementations.

And there are no ARM processors that are competitive in performance.  Period.

Name: Anonymous 2010-04-27 20:55

>>33
NEON is available on all ARMv7-A cores.

Name: Anonymous 2010-05-01 15:21

lol @ offtopic

>_<

^
OP's face hahaha

Name: Anonymous 2013-09-01 20:07




、___ ノ  、     ̄
   。    、                        、 l il | ll | l| ll i | /
    ◇                           ミ
          \                   Ξ  メ  私  落
 |    |\      \                   ニ  l   は  ち
 .!     \|                       .三  ド   瀟  つ
  :         _                   ニ. 長.  洒  け
           |  \          _      Ξ. な  な   :
           、   l    _r─ァ'´_,,.. ..,ヽ‐- 、 二 の     :
  :          \    r「>-‐''"´     `"'< Ξ よ
               _,lア´              /,
              r' , '  /   {        、 '/ | ll i |l l| l il ||ヽ 
   i           く7  /  ;   /!   .ハ  ヽ  ',   、   ,
              |  ;   '   ' 、  / _」二ム  |  、_,.>.}
   、 l il || ll i | /   <  {  /{´_/  ヽ{ァ'´ソてミヽ\{  \. |
  ミ       彡   /   イ ,ィテミ     {ノ  リノ ハ、  、 >
  ニ    う    ニ ∠、  , ヽl{ {ノ }      ゝ'"´ /i } \  ∨{
  .三   ろ   .三    ∨ ハ  ゞ'  '      xx }メ{ r' ヽノ '、
  ニ.   た     ニ    }イ! {xx     __      {イ}ヽ   \ \
  .二   え    Ξ.    {人    r   ソ  u ;}ド{   、  ヽ  ヽ
  三.   る    ニ     / )X\   `     ,.イハXヽ、 ハ   ハ   }
  .ニ   な    三    .レ {メ) ヽ、     ,.   {  \r\ .}   ノ  /
  Ξ  咲    .ニ    r、(Xソハ 犬ーァ'"    ト、  く,.> ア─-、
  彡  夜    .ミ    }ンムく{\{  /ハ}     /  >'´   {     ヽ
  /,       \     / }  _,.>|__ムrァ-r'  .//   _,r'      '、
   / | ll i | l il ||ヽ    くレ'  ̄/::::://  ハ  \/::;    {        \
                /   /:::::// /  }  |:::::/   rイ/          ':,

Name: Anonymous 2013-09-01 21:38



                   ト、           イ  /
      ト 、,. ‐''"´ ̄ ̄`゙'ー-) \__.           ┼ /
     ./ ´       __     `ヽ.___     /|ヽ | 、  ┼┐ヾ
    /   ./, '"´     ̄`"ヽ(`ーァノ´    / .!  レヘ   ノ、ノ
    ,'   //   /   ,     | Y´ハヽ.__     __
  /  <´     /|‐-/|     /,  |    \ `ヽ     /   /  ┼ ヽ.  / _
  ´)    /     ァテ<、 .|  .//_ ./|    l⌒  |  、__ /┐  /  _|   !   /
  /    八    K_,rソ ` |/ _」_/!/ ,   ,'    /       /  し   (_ノヽ. レ 、_
 ⌒l /   ヽ、__,ゞー       l リ`Y| /| ./  / _____
  ,イ /  ./ ⊂⊃    '  `,,.イソイ レ'-‐''"   ┌┐ |  ___,,.. -‐
 /  ソ   |  ,ハ   ` ー   ⊂! ヽ/       └┘ |   _ヽ_ソ_
 ! (r、   人  ノ 、       人  .ハ             、」 「ノ l_ソヽ| .l   ヽ
 '、   )イ _\(ト、.>-rァ '"´  人r'ノ                 ノーァ   |    |
  \  /´   `ヽr \__ムl(\/)、──- 、           __,メ、,__  ∨ 
    `7  /   \ |\ // ,r'<,ハ     >─< ̄)
    /| /     、Y  /    r‐ ヘ._  /)\    Y    原作:古明地さとり
  /  .∨        \.「ヽ--、_.ノヽ. /´| l´__ノ    ハ
  !    ヽ.        r| /  / ./ヽハ ゝ、____,メイ
  '、    \        !ヽー‐ ァ' ̄/ ヽ/ ∨     /
   \.    \   ./|   ̄   ム/   |    /

Name: Anonymous 2013-09-01 23:09



       (     /:::::::::::::::::::::::::::::::i
  バ    (    /::::::::::::::::::::,ヘ:::::::::::::::i
   (    / _,.ィ「`ヽ、_::::_,.イ__ `ヽ.ヽ:::_iヽ、  
    )    ヽ´:::〈__r--i__]--ヽr-、__7ヽ、::::::::::::ヽ.
   (    /-rへン-'" ̄`ー'-、ハ、>、二ヽ、:::::::::::`ヽ.
   )   (r'イ´ ハ i  i 、____ヽ. ヽ!ヽ `ヽ、 ______>
   ッ    ! /  !_,!ィ ! ハ,!=-ヽハ  ゝイニヽ>'ヽ、_ノ
  カ    /レ、  i rrt、レ' ´ ヒ_,.ノ レヘハ 〉   i__,.ン
  じ   (  ノ) ハハン      " (/ン    ハ
   ゃ   /  ヽハY! " '_,. --、   (ソ)   i/ 〉        
  ね   > ノ .人  \  _)  (ノン   ハ  (
  え   (____〈.  r V>、.,__    (Yノヘヘ/レヘハ〉
  の    /  )ヽハへハ ri/}>i<{'⌒ヽ、 
  !?    i      `y'´/_l__/:::ムイ    ',
      _ヽ    r〈 イ:::::::::::::〈   、_,.ィ>
⌒Y⌒ヽ!´      'y^ヽ!::::::;;::::::::ゝヘr'   ヽ.

Don't change these.
Name: Email:
Entire Thread Thread List