Introducing Muse, a Ruby DSL for writing and creating digital music

58 views
Skip to first unread message

Sau Sheong Chang

unread,
Mar 11, 2012, 4:24:55 AM3/11/12
to singap...@googlegroups.com
Hi guys,

One of my weekend projects. Muse is a Ruby DSL for creating digital music. By requiring the library you can write a Ruby script in pseudo musical notation that actually creates WAV files. It's now a gem that you can install and use directly.


I welcome feedback and contributors! Especially musicians since I'm lousy at it :P

Bas Vodde

unread,
Mar 11, 2012, 4:29:39 AM3/11/12
to singap...@googlegroups.com

Nice.

I couldn't find the tests or specs? Did you forgot to check them in?

Bas

> --
> You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/KNdxAz6LJZQJ.
> To post to this group, send email to singap...@googlegroups.com.
> To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.

Sau Sheong Chang

unread,
Mar 11, 2012, 4:31:58 AM3/11/12
to singap...@googlegroups.com
Ah no. It's one of those things I needed help on :) I got a pledge from Tze Yang to help me boost up that area though (fingers crossed).


On Sunday, 11 March 2012 16:29:39 UTC+8, Bas Vodde wrote:

Nice.

I couldn't find the tests or specs? Did you forgot to check them in?

Bas

On 11-Mar-2012, at 4:24 PM, Sau Sheong Chang wrote:

> Hi guys,
>
> One of my weekend projects. Muse is a Ruby DSL for creating digital music. By requiring the library you can write a Ruby script in pseudo musical notation that actually creates WAV files. It's now a gem that you can install and use directly.
>
> https://github.com/sausheong/muse
>
> I welcome feedback and contributors! Especially musicians since I'm lousy at it :P
>
> --
> You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/KNdxAz6LJZQJ.
> To post to this group, send email to singap...@googlegroups.com.

> To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.

Bas Vodde

unread,
Mar 11, 2012, 5:42:27 AM3/11/12
to singap...@googlegroups.com

It might help to write them before the code, that way you can't forget them :)))

Bas

> > To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.


> > For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
>
>
>
>
>
>
>

> --
> You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.

> To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/nXNfZP5gXj4J.


> To post to this group, send email to singap...@googlegroups.com.

> To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.

Sau Sheong Chang

unread,
Mar 11, 2012, 7:50:06 AM3/11/12
to singap...@googlegroups.com
Probably so :) 

But then I would probably need to know what I wanted to achieve to start writing tests. Which I don't when I started. I wasn't going to write a DSL or even create music (at least the way it is now) when I started.


On Sunday, 11 March 2012 17:42:27 UTC+8, Bas Vodde wrote:

It might help to write them before the code, that way you can't forget them :)))

Bas

On 11-Mar-2012, at 4:31 PM, Sau Sheong Chang wrote:

> Ah no. It's one of those things I needed help on :) I got a pledge from Tze Yang to help me boost up that area though (fingers crossed).
>
>
> On Sunday, 11 March 2012 16:29:39 UTC+8, Bas Vodde wrote:
>
> Nice.
> I couldn't find the tests or specs? Did you forgot to check them in?
>
> Bas
>
> On 11-Mar-2012, at 4:24 PM, Sau Sheong Chang wrote:
>
> > Hi guys,
> >
> > One of my weekend projects. Muse is a Ruby DSL for creating digital music. By requiring the library you can write a Ruby script in pseudo musical notation that actually creates WAV files. It's now a gem that you can install and use directly.
> >
> > https://github.com/sausheong/muse
> >
> > I welcome feedback and contributors! Especially musicians since I'm lousy at it :P
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> > To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/KNdxAz6LJZQJ.
> > To post to this group, send email to singap...@googlegroups.com.

> > To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.


> > For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/nXNfZP5gXj4J.
> To post to this group, send email to singap...@googlegroups.com.

> To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.

Bas Vodde

unread,
Mar 11, 2012, 9:08:33 AM3/11/12
to singap...@googlegroups.com

Hiya,

Oh, it is very common that you have no idea yet how things will become when writing the first test. Usually the first test relates to solving only a very small part of whatever it will become :)

But writing tests first does help a lot in figuring out what direction to design the actual code :)

Try it out sometimes :)

Bas


On 11-Mar-2012, at 7:50 PM, Sau Sheong Chang wrote:

> Probably so :)
>
> But then I would probably need to know what I wanted to achieve to start writing tests. Which I don't when I started. I wasn't going to write a DSL or even create music (at least the way it is now) when I started.
>
>
> On Sunday, 11 March 2012 17:42:27 UTC+8, Bas Vodde wrote:
>
> It might help to write them before the code, that way you can't forget them :)))
> Bas
>
> On 11-Mar-2012, at 4:31 PM, Sau Sheong Chang wrote:
>
> > Ah no. It's one of those things I needed help on :) I got a pledge from Tze Yang to help me boost up that area though (fingers crossed).
> >
> >
> > On Sunday, 11 March 2012 16:29:39 UTC+8, Bas Vodde wrote:
> >
> > Nice.
> > I couldn't find the tests or specs? Did you forgot to check them in?
> >
> > Bas
> >
> > On 11-Mar-2012, at 4:24 PM, Sau Sheong Chang wrote:
> >
> > > Hi guys,
> > >
> > > One of my weekend projects. Muse is a Ruby DSL for creating digital music. By requiring the library you can write a Ruby script in pseudo musical notation that actually creates WAV files. It's now a gem that you can install and use directly.
> > >
> > > https://github.com/sausheong/muse
> > >
> > > I welcome feedback and contributors! Especially musicians since I'm lousy at it :P
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> > > To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/KNdxAz6LJZQJ.
> > > To post to this group, send email to singap...@googlegroups.com.

> > > To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.


> > > For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
> >
> >
> >
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> > To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/nXNfZP5gXj4J.
> > To post to this group, send email to singap...@googlegroups.com.

> > To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.


> > For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.

> To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/qseX6CqhofYJ.


> To post to this group, send email to singap...@googlegroups.com.

> To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.

Sau Sheong Chang

unread,
Mar 11, 2012, 9:19:42 AM3/11/12
to singap...@googlegroups.com
Thks :) But I think you're mistaken -- it's not that I didn't know how things will turn out. It's that I didn't know what I wanted to do at all. This is fun weekend project and I started on a blank slate, without much thought on what actually comes out until it came out. I've written tests before BTW.

ANYWAY. This is not the kind of feedback I was looking for :) But still, appreciate it.

> > > To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.


> > > For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
> >
> >
> >
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> > To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/nXNfZP5gXj4J.
> > To post to this group, send email to singap...@googlegroups.com.

> > To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.


> > For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/singapore-rb/-/qseX6CqhofYJ.
> To post to this group, send email to singap...@googlegroups.com.

> To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages