mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
magicjm has joined #ocaml
^authentic has joined #ocaml
<magicjm> hi. has anybody tried to make «sound freq dur» work ? (on linux ?)
Morphous has joined #ocaml
Amorphous has quit [Nick collision from services.]
Morphous is now known as Amorphous
joshcryer has quit [Read error: 104 (Connection reset by peer)]
joshcryer has joined #ocaml
shawn has joined #ocaml
G_ is now known as G
<abez> Amorphous: You want sound in ocaml?
<Smerdyakov> When you want the sound, just call me, and I'll come over and sing.
<joshcryer> What will you sing?
<Smerdyakov> A tune from a mountaintop
<Amorphous> abez, you are mixing me up
<abez> Amorphous: I don't know what you want. Do you want OSS/ALSA/JACK support in OCaml?
<Amorphous> abez, you are mistaking me for someone else. i didn't say anything in this channel for weeks
<abez> Amorphous: Yes you're right.
<abez> magicjm: I don't know what you want. Do you want OSS/ALSA/JACK support in OCaml?
<abez> magicjm: http://churchturing.org/w/ostitch/ <-- this has some poor alsa support. Really poor. It flakes out pretty badly.
shawn has quit ["Leaving"]
shawn has joined #ocaml
joshcryer has quit [Read error: 104 (Connection reset by peer)]
joshcryer has joined #ocaml
G_ has joined #ocaml
G has quit [Connection timed out]
shawn has quit [Remote closed the connection]
shawn has joined #ocaml
pantsd has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
shawn has joined #ocaml
pantsd has joined #ocaml
schme has quit [Remote closed the connection]
G has joined #ocaml
G_ has quit [Connection timed out]
thesoko has quit [Remote closed the connection]
l_a_m has joined #ocaml
bebui has quit [Read error: 110 (Connection timed out)]
Mr_Awesome has quit ["time to impregnate a moth"]
ygrek has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
l_a_m has quit [Remote closed the connection]
l_a_m has joined #ocaml
bebui has joined #ocaml
G has quit [Read error: 110 (Connection timed out)]
<flux> it's a bit stretch to call that a 1.0-version..
<magicjm> abez: wow. hum, i just wanted to use the "sound" function (int -> int -> unit) in the graphics library with caml light, and it doesn't work for me. (nothing happened)
<magicjm> and with ocaml, its just the same function. i suppose that it works as the caml light function, but i just dont know how to load Graphics (unfound ... or so)
<magicjm> well, it just wanted to know if the "sound" function works for you. (but never mind, it's just a toy.)
G has joined #ocaml
<flux> magicjm, it works by using X keyboard bell..
<flux> atleast in ocaml
<flux> and I don't think my X keyboard bell does nothing
<flux> maybe it works on sun workstations
<pango> magicjm: maybe you need to have Graphics open an X window first
<pango> $ ocaml graphics.cma
<pango> # open Graphics ;;
<pango> # sound 4400 100 ;;
<pango> Exception: Graphics.Graphic_failure "graphic screen not opened".
<pango> # open_graph "" ;;
<pango> - : unit = ()
<pango> # sound 4400 100 ;;
<pango> - : unit = ()
<pango> (short beep is heard)
shawn has joined #ocaml
joshcryer has quit [Read error: 110 (Connection timed out)]
<flux> won't beep on my system
<flux> I wonder how system-configurable that is
|Lupin| has joined #ocaml
<|Lupin|> Hello
<|Lupin|> Does anybody know how to ask ocamlc to just print an interface (the -i command-line switch) bou not compile, do nothing else ?
<|Lupin|> For the moment I use -c -o /dev/null but it'd be good to have something cleaner...
G_ has joined #ocaml
Cygal has joined #ocaml
G has quit [Read error: 110 (Connection timed out)]
_JusSx_ has joined #ocaml
slipstream has joined #ocaml
slipstream has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
<pango> |Lupin|: I can't think of better solution
slipstream-- has quit [Read error: 110 (Connection timed out)]
<flux> oh, I hadn't even noticed that it compiles..
<|Lupin|> flux: well, without the -c it even tries to link, so that one is forced to give the -c option, and then it compiles...
<|Lupin|> pango: flux: thanks anyway
Cygal has quit [Remote closed the connection]
ChristopheT has joined #ocaml
_blackdog has joined #ocaml
_blackdog has left #ocaml []
Cygal has joined #ocaml
Cygal` has joined #ocaml
Cygal has quit [Read error: 113 (No route to host)]
^authentic is now known as authentic
Hadaka has quit [heinlein.freenode.net irc.freenode.net]
ChristopheT has left #ocaml []
bzzbzz has quit ["leaving"]
seafoodX has quit []
Naked has joined #ocaml
Naked is now known as Hadaka
seafoodX has joined #ocaml
slipstream-- has joined #ocaml
seafoodX has quit []
seafoodX has joined #ocaml
seafoodX has quit []
ygrek has quit [Remote closed the connection]
slipstream has quit [Read error: 110 (Connection timed out)]
magnus__ has joined #ocaml
|Lupin| has left #ocaml []
magnus_ has quit [Read error: 110 (Connection timed out)]
shawn has quit ["This computer has gone to sleep"]
Hadaka has quit [heinlein.freenode.net irc.freenode.net]
seafoodX has joined #ocaml
Cygal` has quit [Read error: 110 (Connection timed out)]
ygrek has joined #ocaml
pango has quit [Remote closed the connection]
seafoodX has quit []
pango has joined #ocaml
<tty56> hi, does anyone know whether there is a actively developed mpi library for ocaml? ocamlmpi seems to be 4 years old...
slipstream has joined #ocaml
<Smerdyakov> tty56, do you find any deficiencies in it?
<Smerdyakov> If not, this seems kind of like "are there any actively-developed versions of the 'Mona Lisa'?". ;)
<authentic> heh
<flux> I'd guess (but don't know) the api has changed in four years?-o
<flux> (or rather: has been extended)
<flux> tty56, but smerdyakov'v suggestion is good: look if it serves your purposes
<flux> if it misses something, it is likely to be easy to fix
slipstream-- has quit [Read error: 110 (Connection timed out)]
slipstream has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
<tty56> Smerdyakov: mhh, well not yet, I just want to make sure I use the most recent mpi lib when learning to use it...
<jlouis> There are a couple of MPI versions, but I don't think anything has been done the latest 4 years
<jlouis> OCaml and SML code does not tend to bit-rot the same amount as other code does
<tty56> jlouis: yeah, I have that impression too, but it still feels a bit odd using these "old" libs.. ;)
Cygal` has joined #ocaml
Cygal has joined #ocaml
Cygal` has quit [Connection timed out]
<flux> without looking at mpi's interface, ocamlmpi looks pretty versatile api..
<flux> surprisingly it's not in debian
authenti1 has joined #ocaml
authentic has quit [Nick collision from services.]
authenti1 is now known as authentic
mellum has quit [Read error: 110 (Connection timed out)]
Naked has joined #ocaml
Naked is now known as Hadaka
_JusSx_ has quit [Read error: 104 (Connection reset by peer)]
Cygal has quit [Remote closed the connection]
Cygal has joined #ocaml
ednarofi_ has joined #ocaml
ednarofi has quit [Read error: 110 (Connection timed out)]
ednarofi has joined #ocaml
ednarofi_ has quit [Read error: 110 (Connection timed out)]
Hadaka has quit [heinlein.freenode.net irc.freenode.net]
Cygal has quit [Read error: 110 (Connection timed out)]
Cygal has joined #ocaml
pantsd has quit [Read error: 104 (Connection reset by peer)]
G_ is now known as G
ygrek has quit ["Leaving"]
pantsd has joined #ocaml
schme has joined #ocaml
_JusSx_ has joined #ocaml
piggybox has joined #ocaml
Len1 has joined #ocaml
ednarofi has quit [Read error: 110 (Connection timed out)]
Naked has joined #ocaml
Naked is now known as Hadaka
piggybox__ has quit [Read error: 110 (Connection timed out)]
ednarofi has joined #ocaml
_JusSx_ has quit [Client Quit]
<magicjm> pango : i tried to launch «ocaml graphics.cma» but graphics.cma is not found. but i had tried it with «camllight camlgraph», open_graph " " .... with the same behaviour as your example, (error if "graphics" not open/loaded) but i cant hear anything when the sound function is executed. in fact i just wanted to know if this function worked with the other computers. so thanks.
<pango> strange, graphics.cma is in the same package as the toplevel here... Did you compile ocaml yourself ?
<magicjm> no, i will remove-all/reinstall it
netx has joined #ocaml
<pango> $ dpkg -S /usr/lib/ocaml/3.09.2/graphics.cma
<pango> ocaml: /usr/lib/ocaml/3.09.2/graphics.cma
<magicjm> when i wanted to remove ocaml, ubuntu said that ocaml wasnt installed. (??) so i installed it, and the graphics mode works properly, but even not the sound function (no effect), as i tought... so, never mind.
<pango> I don't get sound if I disable X bell... try xset b 10 440 20 (for example) first
<magicjm> nothing happened. :s
<magicjm> is there a command to cause a X bell ?
<pango> xkbbell, it seems
<magicjm> hum, nothing happened. i seems that the problem comes from that... so thanks.
<magicjm> it reminds me that some of my applications were unable to play sound (innotek virtualbox : the sound of the virtual pc wasnt working) ... and i ve never heard a system bell. i ll try to fix it.
Cygal has quit [Remote closed the connection]
<pango> the result is not overly convincing anyway... Reminds me of the sound capabilities of GWBasic under MSDOS 2.11, around a quarter of century ago ;)
<magicjm> i know, i used it ^^. (i was 7 or about)
schme` has joined #ocaml
schme has quit [Connection timed out]
Len1 has left #ocaml []
joshcryer has joined #ocaml
xavierbot has quit [Read error: 110 (Connection timed out)]
tty56_ has joined #ocaml
tty56 has quit [Read error: 110 (Connection timed out)]
ednarofi has quit [Read error: 110 (Connection timed out)]
l_a_m has quit [Remote closed the connection]