Csound Csound-dev Csound-tekno Search About

[Csnd] csound-x/emacs question: display table

Date2013-05-03 14:14
Frompeiman khosravi
Subject[Csnd] csound-x/emacs question: display table
Hi Stef et al.,

I am trying to use the 'display table' function from the SCO menu in emacs. It seems to be working but I get a strange visualisation that doesn't seem to be corresponding with the sine table I've defined. See the picture. Could I be doing something wrong?

Thanks
Peiman

Date2013-05-03 14:45
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display table
> I am trying to use the 'display table' function from the SCO menu in
> emacs. It seems to be working but I get a strange visualisation that
> doesn't seem to be corresponding with the sine table I've defined.

Indeed :)

Does it do the same with any table ?

Stef


Date2013-05-03 14:53
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display table
Y
es it looks like it. I get a similar result with this table:

f 2 0 16384 20 6    ;gaussian.

Thanks
Peiman

Date2013-05-03 15:00
FromStéphane Rollandin
Subject++SPAM++ Re: [Csnd] csound-x/emacs question: display table
AttachmentsSans titre.png  
> f 2 0 16384 20 6

Attached is how it look on my system..

I don't know what is happening on yours, sorry

Stef

Date2013-05-03 15:02
Frompeiman khosravi
SubjectRe: ++SPAM++ Re: [Csnd] csound-x/emacs question: display table
Strange. Could it be a emacs bug on my system? Is there any way for me to check?

Thanks
P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:00, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
f 2 0 16384 20 6

Attached is how it look on my system..

I don't know what is happening on yours, sorry

Stef

Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 15:19
Frompeiman khosravi
SubjectRe: ++SPAM++ Re: [Csnd] csound-x/emacs question: display table
I'm guessing whatever this is, is related to the code in csound-ft.el

Is there a simple method to test the 'display' code in this file? Probably there is an osx related issue here. If I could find out what is causing it, I'll file the right bug report to the right person.

Thanks
Peiman






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
Strange. Could it be a emacs bug on my system? Is there any way for me to check?

Thanks
P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:00, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
f 2 0 16384 20 6

Attached is how it look on my system..

I don't know what is happening on yours, sorry

Stef

Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-05-03 15:31
Frompeiman khosravi
SubjectRe: ++SPAM++ Re: [Csnd] csound-x/emacs question: display table
I just tried and it's the same in emacs and aquamacs. Strange.

P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:19, peiman khosravi <peimankhosravi@gmail.com> wrote:
I'm guessing whatever this is, is related to the code in csound-ft.el

Is there a simple method to test the 'display' code in this file? Probably there is an osx related issue here. If I could find out what is causing it, I'll file the right bug report to the right person.

Thanks
Peiman






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:02, peiman khosravi <peimankhosravi@gmail.com> wrote:
Strange. Could it be a emacs bug on my system? Is there any way for me to check?

Thanks
P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:00, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
f 2 0 16384 20 6

Attached is how it look on my system..

I don't know what is happening on yours, sorry

Stef

Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2013-05-03 15:47
FromStéphane Rollandin
Subject++SPAM++ Re: ++SPAM++ Re: [Csnd] csound-x/emacs question: display table
AttachmentsSans titre.png  
> I'm guessing whatever this is, is related to the code in csound-ft.el

Or in graphs.el

if you evaluate

(graphs-example-1)

in the scratch buffer, what do you get ? Attached is how it should look.

Stef

Date2013-05-03 16:00
Frompeiman khosravi
SubjectRe: ++SPAM++ Re: ++SPAM++ Re: [Csnd] csound-x/emacs question: display table
Yes this works here and looks like your picture.






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 15:47, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
I'm guessing whatever this is, is related to the code in csound-ft.el

Or in graphs.el

if you evaluate

(graphs-example-1)

in the scratch buffer, what do you get ? Attached is how it should look.

Stef

Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 16:12
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display table
What version of Csound are you using ?

Stef

Date2013-05-03 16:14
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display table
Csound version 5.19.02 (float samples) Jan 20 2013

On OSX 10.7.5

P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 16:12, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
What version of Csound are you using ?


Stef


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 16:15
FromStéphane Rollandin
SubjectRe: ++SPAM++ Re: ++SPAM++ Re: [Csnd] csound-x/emacs question: display
If you evaluate

(csft-get-ftable-vector "f 2 0 16384 20 6\n" 10)

do you get

[0.0 1e-005 0.00153 0.05613 0.48675 1.0 0.48675 0.05613 0.00153 1e-005]

?

Stef

Date2013-05-03 16:18
Frompeiman khosravi
SubjectRe: ++SPAM++ Re: ++SPAM++ Re: [Csnd] csound-x/emacs question: display
Almost! I get this (last digit is different):

[0.0 1e-05 0.00153 0.05613 0.48675 1.0 0.48675 0.05613 0.00153 1e-05]

Thanks for your help.
Peiman






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 16:15, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
If you evaluate

(csft-get-ftable-vector "f 2 0 16384 20 6\n" 10)

do you get

[0.0 1e-005 0.00153 0.05613 0.48675 1.0 0.48675 0.05613 0.00153 1e-005]

?

Stef


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 16:23
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
Ok now if you do

  (insert-plotting-area
   (let* ((fv (csft-get-ftable-vector "f 2 0 16384 20 6 \n" csft-width))
	 (parea (make-plotting-area
		 csft-width csft-height
		 0 (* 1.01 csft-width)
		 (min -0.01 (* 1.01 (apply 'min (append fv nil))))
		 (* 1.01 (apply 'max (append fv nil))))))
       (plot-vector fv parea t)
       parea)
   csft-foreground csft-background 'csft-do-the-click)

do you see a nice gaussian bell ?

Stef


Date2013-05-03 16:37
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
No, now it looks like a gaussian in a 4-dimensional space! 






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 16:23, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
Ok now if you do

 (insert-plotting-area
  (let* ((fv (csft-get-ftable-vector "f 2 0 16384 20 6 \n" csft-width))
         (parea (make-plotting-area
                 csft-width csft-height
                 0 (* 1.01 csft-width)
                 (min -0.01 (* 1.01 (apply 'min (append fv nil))))
                 (* 1.01 (apply 'max (append fv nil))))))
      (plot-vector fv parea t)
      parea)
  csft-foreground csft-background 'csft-do-the-click)

do you see a nice gaussian bell ?

Stef



Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 16:51
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
Le 03/05/2013 17:37, peiman khosravi a écrit :
> No, now it looks like a gaussian in a 4-dimensional space!

Ah. That's there then.

What happens if you remove all occurences of ".01" in the previous code ?


Date2013-05-03 16:57
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Like this?

 (insert-plotting-area
  (let* ((fv (csft-get-ftable-vector "f 2 0 16384 20 6 \n" csft-width))
         (parea (make-plotting-area
                 csft-width csft-height
                 0 (* 1 csft-width)
                 (min -0 (* 1 (apply 'min (append fv nil))))
                 (* 1 (apply 'max (append fv nil))))))
      (plot-vector fv parea t)
      parea)
  csft-foreground csft-background 'csft-do-the-click)

The same as before. 






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 16:51, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
Le 03/05/2013 17:37, peiman khosravi a écrit :

No, now it looks like a gaussian in a 4-dimensional space!

Ah. That's there then.

What happens if you remove all occurences of ".01" in the previous code ?




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 17:10
FromJustin Smith
SubjectRe: [Csnd] csound-x/emacs question: display
just a wild guess: what if emacs is reading a table as if it is doubles, and csound is actually using floats (or visa versa)? looks like something like that or endianness is going on


On Fri, May 3, 2013 at 8:57 AM, peiman khosravi <peimankhosravi@gmail.com> wrote:
Like this?

 (insert-plotting-area
  (let* ((fv (csft-get-ftable-vector "f 2 0 16384 20 6 \n" csft-width))
         (parea (make-plotting-area
                 csft-width csft-height
                 0 (* 1 csft-width)
                 (min -0 (* 1 (apply 'min (append fv nil))))
                 (* 1 (apply 'max (append fv nil))))))
      (plot-vector fv parea t)
      parea)
  csft-foreground csft-background 'csft-do-the-click)

The same as before. 






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 16:51, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
Le 03/05/2013 17:37, peiman khosravi a écrit :

No, now it looks like a gaussian in a 4-dimensional space!

Ah. That's there then.

What happens if you remove all occurences of ".01" in the previous code ?




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-05-03 17:33
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
The curve is there, but it is distorted: this seems more like a bad 
display problem, the two-dimensional vector data being forced into a 
rectangle of the wrong size. I would hint at a rounding error in 
function 'make-plotting-area in graphs.el

I'll have a look at this ASAP.

Stef



Date2013-05-03 17:36
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Thanks Stef, 

Much appreciated.

Let me know if you want me to test anything. 

P  






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 17:33, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
The curve is there, but it is distorted: this seems more like a bad display problem, the two-dimensional vector data being forced into a rectangle of the wrong size. I would hint at a rounding error in function 'make-plotting-area in graphs.el

I'll have a look at this ASAP.

Stef





Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 18:02
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
I'm in the dark here since I cannot reproduce the error...

Let's try this:

first evaluate

(defun make-plotting-area (nx ny x0 x1 y0 y1)
   (let ((graph (let ((gv (make-vector ny nil)))
		 (dotimes (vline ny gv)
		   (aset gv vline (make-bool-vector nx t)))))
	(dx (/ (- x1 x0) (float nx)))
	(dy (/ (- y1 y0) (float ny))))
   `(plotting-area
     :width ,nx
     :height ,ny
     :graph ,graph
     :x0 ,x0
     :y0 ,y0
     :x1 ,x1
     :y1 ,y1
     :dx ,dx
     :dy ,dy
     :x (lambda (x) (+ ,x0 (* x ,dx)))
     :y (lambda (y) (+ ,y0 (* (- ,ny y) ,dy)))
     :nx (lambda (x) (floor (/ (- x ,x0) ,dx)))
     :ny (lambda (y) (floor (/ (- ,y1 y) ,dy)))
     :plot (lambda (x y)
	    (condition-case nil
		(aset (aref ,graph (floor (/ (- ,y1 y) ,dy)))
		      (round (/ (- x ,x0) ,dx))
		      nil)
	      (error nil)))
     :line (lambda (xa ya xb yb)
	    (let* ((nxa (floor (/ (- xa ,x0) ,dx)))
		   (nya (floor (/ (- ,y1 ya) ,dy)))
		   (nxb (floor (/ (- xb ,x0) ,dx)))
		   (nyb (floor (/ (- ,y1 yb) ,dy)))
		   (mdn (max (abs (- nxb nxa)) (abs (- nyb nya)))))
	      (if (<= mdn 1)
		  (condition-case nil
		      (aset (aref ,graph nya) nxa nil)
		    (error nil))
		(dotimes (n mdn)
		  (let ((px (+ nxa (floor (* n (/ (- nxb nxa) (float mdn))))))
			(py (+ nya (floor (* n (/ (- nyb nya) (float mdn)))))))
		    (condition-case nil
			(aset (aref ,graph py) px nil)
		      (error nil))))))))))

then do again

   (insert-plotting-area
    (let* ((fv (csft-get-ftable-vector "f 2 0 16384 20 6 \n" csft-width))
	 (parea (make-plotting-area
		 csft-width csft-height
		 0 (* 1.01 csft-width)
		 (min -0.01 (* 1.01 (apply 'min (append fv nil))))
		 (* 1.01 (apply 'max (append fv nil))))))
        (plot-vector fv parea t)
        parea)
    csft-foreground csft-background 'csft-do-the-click)


do you still get the error ?

Stef

Date2013-05-03 18:16
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
Another blind test:

does

(let ((x 10))
   (incf x 5))

return 15 in your system ?

Stef

Date2013-05-03 18:21
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Hi Stef,

I'm just on my way out. I will try these tonight when I get back and let you know.

Thanks again.
Peiman 






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 18:16, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
Another blind test:

does

(let ((x 10))
  (incf x 5))

return 15 in your system ?


Stef


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 23:08
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Yes, this still gives me the same dodgy graph. 

I'll try your other suggestion now. 

P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 18:02, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
I'm in the dark here since I cannot reproduce the error...

Let's try this:

first evaluate

(defun make-plotting-area (nx ny x0 x1 y0 y1)
  (let ((graph (let ((gv (make-vector ny nil)))
                 (dotimes (vline ny gv)
                   (aset gv vline (make-bool-vector nx t)))))
        (dx (/ (- x1 x0) (float nx)))
        (dy (/ (- y1 y0) (float ny))))
  `(plotting-area
    :width ,nx
    :height ,ny
    :graph ,graph
    :x0 ,x0
    :y0 ,y0
    :x1 ,x1
    :y1 ,y1
    :dx ,dx
    :dy ,dy
    :x (lambda (x) (+ ,x0 (* x ,dx)))
    :y (lambda (y) (+ ,y0 (* (- ,ny y) ,dy)))
    :nx (lambda (x) (floor (/ (- x ,x0) ,dx)))
    :ny (lambda (y) (floor (/ (- ,y1 y) ,dy)))
    :plot (lambda (x y)
            (condition-case nil
                (aset (aref ,graph (floor (/ (- ,y1 y) ,dy)))
                      (round (/ (- x ,x0) ,dx))
                      nil)
              (error nil)))
    :line (lambda (xa ya xb yb)
            (let* ((nxa (floor (/ (- xa ,x0) ,dx)))
                   (nya (floor (/ (- ,y1 ya) ,dy)))
                   (nxb (floor (/ (- xb ,x0) ,dx)))
                   (nyb (floor (/ (- ,y1 yb) ,dy)))
                   (mdn (max (abs (- nxb nxa)) (abs (- nyb nya)))))
              (if (<= mdn 1)
                  (condition-case nil
                      (aset (aref ,graph nya) nxa nil)
                    (error nil))
                (dotimes (n mdn)
                  (let ((px (+ nxa (floor (* n (/ (- nxb nxa) (float mdn))))))
                        (py (+ nya (floor (* n (/ (- nyb nya) (float mdn)))))))
                    (condition-case nil
                        (aset (aref ,graph py) px nil)
                      (error nil))))))))))

then do again


  (insert-plotting-area
   (let* ((fv (csft-get-ftable-vector "f 2 0 16384 20 6 \n" csft-width))
         (parea (make-plotting-area
                 csft-width csft-height
                 0 (* 1.01 csft-width)
                 (min -0.01 (* 1.01 (apply 'min (append fv nil))))
                 (* 1.01 (apply 'max (append fv nil))))))

       (plot-vector fv parea t)
       parea)
   csft-foreground csft-background 'csft-do-the-click)


do you still get the error ?


Stef


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-03 23:09
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Yes, this does print 15. 






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 18:16, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
Another blind test:

does

(let ((x 10))
  (incf x 5))

return 15 in your system ?


Stef


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-04 19:53
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
I have a confession to make! This is not a reflection on your amazing csound-x tools Stephane. It's just that after trying vim today, I'm really hooked on it. I find it more intuitive, so I think I'll stick with it. I feel like a traitor!

However, if you want to fix this issue on OSX, I'm more that happy to test it out for you. 

Best,
Peiman       






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 23:09, peiman khosravi <peimankhosravi@gmail.com> wrote:
Yes, this does print 15. 






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 3 May 2013 18:16, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
Another blind test:

does

(let ((x 10))
  (incf x 5))

return 15 in your system ?


Stef


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-05-05 16:43
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
> I have a confession to make! This is not a reflection on your amazing
> csound-x tools Stephane. It's just that after trying vim today, I'm
> really hooked on it. I find it more intuitive, so I think I'll stick
> with it. I feel like a traitor!

If I find you I'll scatter you into many small pieces. Otherwise, no 
hard feeling :)

Stef



Date2013-05-05 17:07
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
haha! This would still give me a longer life-expectancy than tackling emacs on a daily basis!



On 5 May 2013 16:43, Stéphane Rollandin <lecteur@zogotounga.net> wrote:
I have a confession to make! This is not a reflection on your amazing
csound-x tools Stephane. It's just that after trying vim today, I'm
really hooked on it. I find it more intuitive, so I think I'll stick
with it. I feel like a traitor!

If I find you I'll scatter you into many small pieces. Otherwise, no hard feeling :)


Stef




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-05 17:10
FromJacob Joaquin
SubjectRe: [Csnd] csound-x/emacs question: display
It's been awhile since I've read an epic vi vs. emacs thread. Crossing my fingers this will escalate. :)

Sent from my Tricorder

On May 5, 2013, at 8:43 AM, Stéphane Rollandin  wrote:

>> I have a confession to make! This is not a reflection on your amazing
>> csound-x tools Stephane. It's just that after trying vim today, I'm
>> really hooked on it. I find it more intuitive, so I think I'll stick
>> with it. I feel like a traitor!
> 
> If I find you I'll scatter you into many small pieces. Otherwise, no hard feeling :)
> 
> Stef
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 


Date2013-05-05 20:28
FromVictor Lazzarini
SubjectRe: [Csnd] csound-x/emacs question: display
Here's my installment in this battle.


Long live emacs.

Victor
On 5 May 2013, at 17:10, Jacob Joaquin wrote:

It's been awhile since I've read an epic vi vs. emacs thread. Crossing my fingers this will escalate. :)

Sent from my Tricorder

On May 5, 2013, at 8:43 AM, Stéphane Rollandin <lecteur@zogotounga.net> wrote:

I have a confession to make! This is not a reflection on your amazing
csound-x tools Stephane. It's just that after trying vim today, I'm
really hooked on it. I find it more intuitive, so I think I'll stick
with it. I feel like a traitor!

If I find you I'll scatter you into many small pieces. Otherwise, no hard feeling :)

Stef




Send bugs reports to the Sourceforge bug tracker
         https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-05-05 21:03
FromStéphane Rollandin
SubjectRe: [Csnd] csound-x/emacs question: display
> It's been awhile since I've read an epic vi vs. emacs thread. Crossing my fingers this will escalate. :)

It will not. I like the Beatles *and* the Rolling Stones.

Stef

Date2013-05-05 22:07
Fromluis jure
SubjectRe: [Csnd] csound-x/emacs question: display
on 2013-05-05 at 09:10 Jacob Joaquin wrote:

> It's been awhile since I've read an epic vi vs. emacs thread. Crossing
> my fingers this will escalate. :)

are you kidding? emacs is one of the most powerful applications ever,
period. it's a whole environment, you can check your e-mail, surf the web
and manage your agenda without ever leaving emacs. 

it only lacks a decent text editor, though, otherwise it would be perfect.
but emacs is very configurable, i'm sure you could manage to run vim from
within emacs. that would be fantastic: all the power of emacs plus the
greatest text editor in the universe...

of course you could just as well run vim on any decent OS...


Date2013-05-05 22:46
FromSteven Yi
SubjectRe: [Csnd] csound-x/emacs question: display
Great video!  What did you use for the REPL backend to do evals?  I'd
like to use it for Vim. :)

On Sun, May 5, 2013 at 8:28 PM, Victor Lazzarini
 wrote:
> Here's my installment in this battle.
>
> http://www.youtube.com/watch?v=FDpm1KvnkBQ
>
> Long live emacs.
>
> Victor
>
> On 5 May 2013, at 17:10, Jacob Joaquin wrote:
>
> It's been awhile since I've read an epic vi vs. emacs thread. Crossing my
> fingers this will escalate. :)
>
> Sent from my Tricorder
>
> On May 5, 2013, at 8:43 AM, Stéphane Rollandin 
> wrote:
>
> I have a confession to make! This is not a reflection on your amazing
>
> csound-x tools Stephane. It's just that after trying vim today, I'm
>
> really hooked on it. I find it more intuitive, so I think I'll stick
>
> with it. I feel like a traitor!
>
>
> If I find you I'll scatter you into many small pieces. Otherwise, no hard
> feeling :)
>
>
> Stef
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>
>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>
> Discussions of bugs and features can be posted here
>
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>


Date2013-05-05 22:52
FromSteven Yi
SubjectRe: [Csnd] csound-x/emacs question: display
Ah nevermind, I see it's just the emacs python REPL running Csound
code, not a Csound REPL in and of itself.  That should be doable with
available Vim python plugins. :)

On Sun, May 5, 2013 at 10:46 PM, Steven Yi  wrote:
> Great video!  What did you use for the REPL backend to do evals?  I'd
> like to use it for Vim. :)
>
> On Sun, May 5, 2013 at 8:28 PM, Victor Lazzarini
>  wrote:
>> Here's my installment in this battle.
>>
>> http://www.youtube.com/watch?v=FDpm1KvnkBQ
>>
>> Long live emacs.
>>
>> Victor
>>
>> On 5 May 2013, at 17:10, Jacob Joaquin wrote:
>>
>> It's been awhile since I've read an epic vi vs. emacs thread. Crossing my
>> fingers this will escalate. :)
>>
>> Sent from my Tricorder
>>
>> On May 5, 2013, at 8:43 AM, Stéphane Rollandin 
>> wrote:
>>
>> I have a confession to make! This is not a reflection on your amazing
>>
>> csound-x tools Stephane. It's just that after trying vim today, I'm
>>
>> really hooked on it. I find it more intuitive, so I think I'll stick
>>
>> with it. I feel like a traitor!
>>
>>
>> If I find you I'll scatter you into many small pieces. Otherwise, no hard
>> feeling :)
>>
>>
>> Stef
>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>
>> Discussions of bugs and features can be posted here
>>
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>


Date2013-05-06 00:21
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Nice video Victor. Thanks for sharing. I have also been thinking that it should be quite possible to make a vim plugin that runs as a sort of python-based csound server. I'll get to it soon but first comes some python classes. 

Luis, yes I would love to have the emacs psychotherapist in vim, but today I read that vim doesn't have one because its users are generally quite sane!

P






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 5 May 2013 22:52, Steven Yi <stevenyi@gmail.com> wrote:
Ah nevermind, I see it's just the emacs python REPL running Csound
code, not a Csound REPL in and of itself.  That should be doable with
available Vim python plugins. :)

On Sun, May 5, 2013 at 10:46 PM, Steven Yi <stevenyi@gmail.com> wrote:
> Great video!  What did you use for the REPL backend to do evals?  I'd
> like to use it for Vim. :)
>
> On Sun, May 5, 2013 at 8:28 PM, Victor Lazzarini
> <Victor.Lazzarini@nuim.ie> wrote:
>> Here's my installment in this battle.
>>
>> http://www.youtube.com/watch?v=FDpm1KvnkBQ
>>
>> Long live emacs.
>>
>> Victor
>>
>> On 5 May 2013, at 17:10, Jacob Joaquin wrote:
>>
>> It's been awhile since I've read an epic vi vs. emacs thread. Crossing my
>> fingers this will escalate. :)
>>
>> Sent from my Tricorder
>>
>> On May 5, 2013, at 8:43 AM, Stéphane Rollandin <lecteur@zogotounga.net>
>> wrote:
>>
>> I have a confession to make! This is not a reflection on your amazing
>>
>> csound-x tools Stephane. It's just that after trying vim today, I'm
>>
>> really hooked on it. I find it more intuitive, so I think I'll stick
>>
>> with it. I feel like a traitor!
>>
>>
>> If I find you I'll scatter you into many small pieces. Otherwise, no hard
>> feeling :)
>>
>>
>> Stef
>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>
>>          https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>
>> Discussions of bugs and features can be posted here
>>
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-05-06 09:44
FromVictor Lazzarini
SubjectRe: [Csnd] csound-x/emacs question: display
Attachmentsemacs.tiff  
On 5 May 2013, at 22:07, luis jure wrote:

> it only lacks a decent text editor, though, otherwise it would be perfect.
> but emacs is very configurable, i'm sure you could manage to run vim from
> within emacs. that would be fantastic: all the power of emacs plus the
> greatest text editor in the universe...




Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-05-06 14:05
Frompeiman khosravi
SubjectRe: [Csnd] csound-x/emacs question: display
Question: in csound6 how does one update the instrument in real-time? I would like to try this.

Thanks
Peiman






www.peimankhosravi.co.uk || Subscribe to RSS Feed

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 6 May 2013 09:44, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
On 5 May 2013, at 22:07, luis jure wrote:

> it only lacks a decent text editor, though, otherwise it would be perfect.
> but emacs is very configurable, i'm sure you could manage to run vim from
> within emacs. that would be fantastic: all the power of emacs plus the
> greatest text editor in the universe...


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie